.dashboard-section {
    padding: 60px 0;
    background-color: var(--bg-soft);
    min-height: calc(100vh - 200px);
}

.dashboard-header h1 {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.dashboard-header p {
    color: var(--text-dim);
    font-size: 18px;
}

/* Toggle Chips */
.tab-toggle {
    background: rgba(241, 245, 249, 0.8);
    padding: 6px;
    border-radius: 12px;
    display: inline-flex;
    gap: 4px;
}

.tab-btn {
    padding: 8px 20px;
    border-radius: 10px;
    border: none;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition-smooth);
    background: transparent;
    color: var(--text-dim);
}

.tab-btn.active {
    background: white;
    color: var(--text-main);
    box-shadow: var(--shadow-sm);
}

/* Profile Summary Card */
.profile-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 32px;
    box-shadow: var(--shadow-md);
    height: 100%;
}

.profile-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-main);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.user-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
}

.user-details h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--text-main);
}

.user-details p {
    font-size: 14px;
    color: var(--text-dim);
    margin: 0;
}

.stats-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-label {
    color: var(--text-dim);
    font-size: 15px;
}

.stat-value {
    color: var(--text-main);
    font-weight: 700;
    font-size: 16px;
}

/* Appointment Cards */
.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main);
}

.section-title i {
    color: var(--primary);
}

.appointment-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.appointment-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.appt-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.appt-icon {
    width: 56px;
    height: 56px;
    background: rgba(79, 70, 229, 0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 22px;
}

.appt-info h5 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-main);
}

.appt-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.appt-meta span {
    font-size: 15px;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 8px;
}

.appt-meta b {
    color: var(--text-main);
    font-weight: 600;
}

.status-badge {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
}

.appt-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.btn-group-actions {
    display: flex;
    gap: 8px;
}

.btn-action {
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition-smooth);
    border: 1px solid var(--border-color);
}

.btn-cancel {
    background: white;
    color: #ef4444;
}

.btn-cancel:hover {
    background: #fef2f2;
    border-color: #fecaca;
}

.btn-reschedule {
    background: var(--bg-soft);
    color: var(--text-main);
}

.btn-reschedule:hover {
    background: white;
    border-color: var(--primary);
    color: var(--primary);
}

@media (max-width: 768px) {
    .appointment-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .appt-actions {
        width: 100%;
        flex-direction: row-reverse;
        justify-content: space-between;
        align-items: center;
    }
}
