/* =========================================
   PATIENT DASHBOARD
========================================= */

.patient-dashboard-section {
    padding: 90px 0 110px;
    min-height: 60vh;
    background: #f7faf9;
}

.patient-dashboard-container {
    max-width: 820px;
}

.patient-dashboard-heading {
    margin-bottom: 30px;
}

.patient-dashboard-heading h2 {
    margin: 0 0 8px;
    color: #003e50;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.1;
}

.patient-dashboard-heading p {
    margin: 0;
    color: #486c71;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
}

.patient-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    color: #0a99a5;
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.patient-back-link:hover {
    color: #067c86;
}

/* List of consultations */

.patient-consultation-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    margin-bottom: 14px;
    border: 1px solid #d7dfde;
    border-radius: 13px;
    background: #ffffff;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(20, 58, 65, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.patient-consultation-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(20, 58, 65, 0.1);
}

.patient-consultation-card h3 {
    margin: 0 0 4px;
    color: #003e50;
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
}

.patient-consultation-meta {
    margin: 0;
    color: #648086;
    font-family: "DM Sans", sans-serif;
    font-size: 12.5px;
}

/* Empty state */

.patient-dashboard-empty {
    padding: 60px 24px;
    text-align: center;
    border: 1px dashed #c7d5d3;
    border-radius: 13px;
    background: #ffffff;
}

.patient-dashboard-empty i {
    font-size: 34px;
    color: #0a99a5;
    margin-bottom: 14px;
}

.patient-dashboard-empty h3 {
    margin: 0 0 8px;
    color: #003e50;
    font-family: "DM Sans", sans-serif;
    font-size: 18px;
    font-weight: 700;
}

.patient-dashboard-empty p {
    margin: 0 0 20px;
    color: #648086;
    font-family: "DM Sans", sans-serif;
    font-size: 13.5px;
}

/* Detail page */

.patient-consultation-detail {
    padding: 29px 30px 27px;
    border: 1px solid #d7dfde;
    border-radius: 13px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(20, 58, 65, 0.07);
}

.patient-status-badge {
    margin-bottom: 20px;
    font-size: 12.5px;
    padding: 6px 14px;
}

.patient-detail-list {
    margin: 0;
}

.patient-detail-list dt {
    margin-top: 16px;
    color: #003e50;
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.patient-detail-list dt:first-child {
    margin-top: 0;
}

.patient-detail-list dd {
    margin: 4px 0 0;
    color: #294c52;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
}

.patient-detail-list dd a {
    color: #0a99a5;
    font-weight: 600;
}

.patient-note {
    padding: 10px 0;
    border-bottom: 1px solid #eef2f1;
}

.patient-note:last-child {
    border-bottom: 0;
}

.patient-note p {
    margin: 0 0 4px;
    color: #294c52;
    font-family: "DM Sans", sans-serif;
    font-size: 13.5px;
    line-height: 1.6;
}

.patient-note small {
    color: #8ba0a3;
    font-size: 11px;
}

@media (max-width: 575.98px) {
    .patient-consultation-card {
        flex-direction: column;
        align-items: flex-start;
    }
}
