/* Branch Appointments Styles - Matching branch-dashboard.css style */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

.appointments-container { background: white; border-radius: 1rem; padding: 2rem; box-shadow: 0 10px 30px rgba(0,0,0,0.1); margin: 2rem 0; }

.page-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.header-content { flex: 1; }
.page-title { font-size: 2.5rem; margin: 0 0 0.5rem 0; color: #2c3e50; }
.page-subtitle { color: #7f8c8d; margin: 0; font-size: 1.1rem; }

.btn-primary, .btn-register, .btn-cancel, .btn-sm { 
    display: inline-block; padding: 0.75rem 1.5rem; border-radius: 0.75rem; 
    text-decoration: none; font-weight: 500; transition: all 0.3s; 
    border: none; cursor: pointer; font-size: 1rem; }
.btn-primary, .btn-register { 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; }
.btn-primary:hover, .btn-register:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(102,126,234,0.4); }
.btn-cancel, .btn-delete { 
    background: #e74c3c; color: white; padding: 0.5rem 1rem; font-size: 0.9rem; }
.btn-cancel:hover, .btn-delete:hover { background: #c0392b; transform: translateY(-2px); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.9rem; }

.alert { padding: 1rem 1.5rem; border-radius: 0.75rem; margin-bottom: 1.5rem; font-weight: 500; }
.alert-success { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); color: white; }
.alert-danger { background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%); color: white; }

.form-container { background: #f8f9fa; border-radius: 1rem; padding: 2rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: #2c3e50; }
.form-group input, .form-group select, .form-group textarea { 
    width: 100%; padding: 0.75rem; border: 2px solid #e1e5e9; border-radius: 0.5rem; 
    font-size: 1rem; transition: border-color 0.3s; background: white; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { 
    outline: none; border-color: #667eea; box-shadow: 0 0 0 3px rgba(102,126,234,0.1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-actions { display: flex; gap: 1rem; justify-content: flex-end; }

.appointments-list, .appointments-grid { margin-top: 2rem; }
.empty-state { text-align: center; padding: 3rem 2rem; background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); color: white; border-radius: 1rem; }
.appointments-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 1.5rem; }

.appointment-card { 
    background: white; border: 2px solid #e1e5e9; border-radius: 1rem; overflow: hidden; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.08); transition: all 0.3s; }
.appointment-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.15); }
.appointment-header { 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; 
    padding: 1.5rem; display: flex; justify-content: space-between; align-items: center; }
.appointment-header h3 { margin: 0; font-size: 1.3rem; }
.badge { padding: 0.25rem 0.75rem; border-radius: 50px; font-size: 0.85rem; font-weight: 600; }
.badge-success { background: #43e97b; color: white; }
.badge-danger { background: #ff6b6b; color: white; }
.badge-info { background: #4facfe; color: white; }

.appointment-details { padding: 1.5rem; }
.appointment-details p { margin: 0.75rem 0; font-size: 1rem; }
.appointment-details strong { color: #2c3e50; }

.appointment-actions { padding: 0 1.5rem 1.5rem; text-align: left; }

@media (max-width: 768px) {
    .page-title { font-size: 2rem; }
    .form-row { grid-template-columns: 1fr; }
    .appointments-grid { grid-template-columns: 1fr; }
    .page-header { flex-direction: column; text-align: center; }
}
