.page-header {
    background-color: var(--secondary-color);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-family: var(--font-heading);
    color: var(--accent-color);
    font-size: 2.5rem;
}

.appointments-section {
    padding: 60px 0;
    min-height: 50vh;
}

.appointments-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.appointment-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.appointment-card {
    position: relative;
}

.appointment-card:hover {
    top: 3px;
}


.app-header h3 {
    margin-bottom: 10px;
    color: var(--text-color);
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.status-badge.confirmed {
    background-color: #dcfce7;
    color: #166534;
}

.status-badge.cancelled {
    background-color: #fee2e2;
    color: #991b1b;
}

.app-details p {
    margin-bottom: 5px;
    color: #666;
}

.btn-cancel {
    background: none;
    border: 1px solid #fee2e2;
    color: #991b1b;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background-color: #fee2e2;
}

/* Past Appointments */
.appointment-card.past-appointment {
    background-color: #f9f9f9;
    filter: grayscale(100%);
    opacity: 0.8;
}

.appointment-card.past-appointment .status-badge {
    background-color: #e5e5e5;
    color: #666;
}

/* Cancelled Appointments */
.appointment-card.cancelled-appointment {
    opacity: 0.7;
    border: 1px dashed #ccc;
}

.appointments-divider {
    text-align: center;
    margin: 30px 0 10px;
    position: relative;
}

.appointments-divider h3 {
    display: inline-block;
    background: #fff;
    padding: 0 15px;
    position: relative;
    z-index: 1;
    color: #999;
    font-size: 1.1rem;
}

.appointments-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e5e5;
    z-index: 0;
}