/* =========================================================
   DrHejazian — Patient Experience
   Stage 8
   Visual layer only. Existing controllers, forms and routes stay intact.
   ========================================================= */

:root {
    --patient-bg: #f4f7fb;
    --patient-surface: rgba(255, 255, 255, 0.78);
    --patient-surface-strong: rgba(255, 255, 255, 0.94);
    --patient-border: rgba(140, 164, 188, 0.20);
    --patient-border-strong: rgba(87, 124, 159, 0.30);
    --patient-ink: #132435;
    --patient-text: #324b60;
    --patient-muted: #71869a;
    --patient-primary: #176f8f;
    --patient-primary-deep: #0d526d;
    --patient-primary-soft: #e7f4f8;
    --patient-accent: #39a7a0;
    --patient-success: #227a63;
    --patient-success-soft: #e9f7f1;
    --patient-warning: #9b6a22;
    --patient-warning-soft: #fff7e7;
    --patient-danger: #a44d52;
    --patient-danger-soft: #fff0f1;
    --patient-shadow-sm: 0 14px 36px rgba(27, 57, 82, 0.07);
    --patient-shadow-md: 0 22px 65px rgba(27, 57, 82, 0.10);
    --patient-shadow-lg: 0 36px 100px rgba(27, 57, 82, 0.14);
    --patient-radius-sm: 14px;
    --patient-radius-md: 20px;
    --patient-radius-lg: 28px;
    --patient-radius-xl: 36px;
    --patient-blur: blur(22px) saturate(130%);
}

.patient-site {
    color: var(--patient-text);
    background:
        radial-gradient(circle at 8% 8%, rgba(57, 167, 160, 0.11), transparent 25rem),
        radial-gradient(circle at 92% 14%, rgba(41, 118, 158, 0.12), transparent 28rem),
        linear-gradient(180deg, #f8fbfd 0%, var(--patient-bg) 45%, #f7fafc 100%);
}

.patient-main {
    min-height: 70vh;
}

.patient-dashboard-page,
.patient-intake-page,
.auth-section {
    position: relative;
    min-height: 68vh;
    padding: clamp(34px, 6vw, 74px) 0 clamp(70px, 8vw, 110px);
    background: transparent !important;
}

.patient-dashboard-page::before,
.patient-intake-page::before,
.auth-section::before {
    content: "";
    position: fixed;
    z-index: -1;
    width: 460px;
    height: 460px;
    left: -170px;
    top: 22vh;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(65, 166, 174, 0.12), rgba(65, 166, 174, 0));
    filter: blur(8px);
    pointer-events: none;
}

.patient-dashboard-page > .container,
.patient-intake-page > .container,
.auth-section > .container {
    width: min(1180px, calc(100% - 40px));
}

/* ---------- private navigation ---------- */

.panel-navigation,
.patient-panel-navigation {
    position: sticky;
    z-index: 25;
    top: 86px;
    margin: 0 0 28px;
    padding: 8px;
    border: 1px solid var(--patient-border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--patient-shadow-sm);
    backdrop-filter: var(--patient-blur);
    -webkit-backdrop-filter: var(--patient-blur);
}

.panel-navigation__links {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
}

.panel-navigation__links a,
.patient-panel-navigation > a {
    min-height: 44px;
    padding: 0 14px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #5d7285;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    transition:
        color 180ms ease,
        background-color 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}

.panel-navigation__links a:hover,
.patient-panel-navigation > a:hover {
    color: var(--patient-primary-deep);
    background: rgba(232, 244, 249, 0.8);
    transform: translateY(-1px);
}

.panel-navigation__links a.is-active,
.patient-panel-navigation > a.is-active {
    color: #fff;
    background: linear-gradient(135deg, var(--patient-primary-deep), var(--patient-primary));
    box-shadow: 0 10px 24px rgba(23, 111, 143, 0.22);
}

.patient-logout-button {
    min-height: 42px;
    padding: 0 13px;
    border: 0;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #6f8190;
    background: transparent;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: 180ms ease;
}

.patient-logout-button:hover {
    color: var(--patient-danger);
    background: var(--patient-danger-soft);
}

/* ---------- headings ---------- */

.patient-dashboard-header,
.patient-intake-header {
    position: relative;
    margin-bottom: 28px;
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid var(--patient-border);
    border-radius: var(--patient-radius-lg);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(245, 251, 253, 0.78));
    box-shadow: var(--patient-shadow-md);
    backdrop-filter: var(--patient-blur);
    -webkit-backdrop-filter: var(--patient-blur);
}

.patient-dashboard-header::after,
.patient-intake-header::after {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    left: -70px;
    bottom: -125px;
    border-radius: 50%;
    border: 1px solid rgba(57, 167, 160, 0.16);
    box-shadow:
        0 0 0 26px rgba(57, 167, 160, 0.035),
        0 0 0 56px rgba(23, 111, 143, 0.025);
    pointer-events: none;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--patient-primary);
    font-size: 0.74rem;
    font-weight: 800;
}

.section-label::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--patient-accent);
    box-shadow: 0 0 0 6px rgba(57, 167, 160, 0.10);
}

.patient-dashboard-header h1,
.patient-intake-header h1 {
    margin: 8px 0 0;
    color: var(--patient-ink);
    font-size: clamp(2rem, 4.6vw, 3.45rem);
    line-height: 1.25;
    letter-spacing: -0.04em;
}

.patient-dashboard-header p,
.patient-intake-header p {
    max-width: 700px;
    margin: 10px 0 0;
    color: var(--patient-muted);
    font-size: 0.9rem;
    line-height: 2;
}

/* ---------- buttons ---------- */

.patient-site .primary-button,
.patient-site .secondary-button,
.patient-site .button {
    min-height: 46px;
    padding: 0 18px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease;
}

.patient-site .primary-button {
    border: 1px solid transparent;
    color: #fff;
    background: linear-gradient(135deg, var(--patient-primary-deep), var(--patient-primary));
    box-shadow: 0 12px 28px rgba(23, 111, 143, 0.20);
}

.patient-site .primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 17px 36px rgba(23, 111, 143, 0.28);
}

.patient-site .secondary-button,
.patient-site .button--ghost {
    border: 1px solid var(--patient-border-strong);
    color: var(--patient-primary-deep);
    background: rgba(255, 255, 255, 0.76);
}

.patient-site .secondary-button:hover,
.patient-site .button--ghost:hover {
    border-color: rgba(23, 111, 143, 0.38);
    background: #fff;
    transform: translateY(-1px);
}

/* ---------- status messages ---------- */

.form-success-message,
.server-validation-errors {
    margin: 0 0 22px;
    padding: 15px 18px;
    border-radius: 16px;
    font-size: 0.82rem;
    line-height: 1.9;
}

.form-success-message {
    border: 1px solid rgba(34, 122, 99, 0.22);
    color: #1d6e59;
    background: var(--patient-success-soft);
}

.server-validation-errors {
    border: 1px solid rgba(164, 77, 82, 0.18);
    color: #914247;
    background: var(--patient-danger-soft);
}

.server-validation-errors ul {
    margin: 0;
    padding-right: 18px;
}

/* ---------- overview / dashboard ---------- */

.patient-dashboard-overview {
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.patient-overview-card,
.patient-next-appointment,
.patient-dashboard-section,
.patient-empty-dashboard,
.patient-appointment-card,
.patient-appointment-detail,
.care-form-card,
.care-section-card,
.patient-document-card,
.intake-form-section,
.auth-card {
    border: 1px solid var(--patient-border) !important;
    background: var(--patient-surface) !important;
    box-shadow: var(--patient-shadow-sm) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.patient-overview-card {
    position: relative;
    min-height: 190px;
    padding: 21px;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.patient-overview-card::after {
    content: "";
    position: absolute;
    width: 110px;
    height: 110px;
    left: -55px;
    bottom: -55px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(57, 167, 160, 0.12), transparent 70%);
    pointer-events: none;
}

.patient-overview-card:hover {
    transform: translateY(-4px);
    border-color: var(--patient-border-strong) !important;
    box-shadow: var(--patient-shadow-md) !important;
}

.patient-overview-card.is-attention {
    border-color: rgba(172, 118, 41, 0.28) !important;
    background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(255,248,232,.82)) !important;
}

.patient-overview-card > span {
    display: block;
    color: var(--patient-muted);
    font-size: 0.72rem;
}

.patient-overview-card > strong {
    display: block;
    margin-top: 10px;
    color: var(--patient-ink);
    font-size: 1.06rem;
    line-height: 1.7;
}

.patient-overview-card > p {
    min-height: 48px;
    margin: 8px 0 14px;
    color: var(--patient-muted);
    font-size: 0.74rem;
    line-height: 1.85;
}

.patient-overview-card > a {
    color: var(--patient-primary);
    font-size: 0.75rem;
    font-weight: 800;
    text-decoration: none;
}

/* dashboard sections */

.patient-next-appointment,
.patient-dashboard-section,
.patient-empty-dashboard {
    margin-bottom: 20px;
    padding: clamp(22px, 4vw, 30px);
    border-radius: var(--patient-radius-lg);
}

.patient-card-heading {
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.patient-card-heading h2 {
    margin: 7px 0 0;
    color: var(--patient-ink);
    font-size: 1.35rem;
}

.patient-next-grid,
.patient-appointment-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.patient-next-grid > div,
.patient-appointment-card-grid > div,
.appointment-detail-grid > div {
    padding: 15px 16px;
    border: 1px solid rgba(126, 153, 176, 0.16);
    border-radius: 15px;
    background: rgba(248, 251, 253, 0.78);
}

.patient-next-grid span,
.patient-appointment-card-grid span,
.appointment-detail-grid span {
    display: block;
    color: var(--patient-muted);
    font-size: 0.69rem;
}

.patient-next-grid strong,
.patient-appointment-card-grid strong,
.appointment-detail-grid strong {
    display: block;
    margin-top: 7px;
    color: var(--patient-ink);
    font-size: 0.82rem;
    line-height: 1.75;
}

.patient-next-actions,
.patient-dashboard-header-actions,
.patient-appointment-card-actions,
.patient-file-actions {
    margin-top: 19px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.patient-appointment-list {
    display: grid;
    gap: 14px;
}

.patient-appointment-card {
    padding: 22px;
    border-radius: 22px;
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.patient-appointment-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--patient-shadow-md) !important;
}

.patient-appointment-card-header,
.patient-appointment-detail-header,
.patient-document-heading {
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.patient-appointment-card-header strong,
.patient-appointment-detail-header h1,
.patient-document-heading h2 {
    color: var(--patient-ink);
}

.appointment-status,
.care-due-badge,
.patient-document-badges > span,
.patient-document-badges > strong {
    padding: 7px 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    color: #526b7e;
    background: rgba(231, 239, 245, 0.88);
    font-size: 0.68rem;
    font-weight: 800;
}

.status-confirmed,
.patient-document-badges > strong,
.care-due-badge.is-upcoming {
    color: var(--patient-success);
    background: var(--patient-success-soft);
}

.status-pending,
.care-due-badge.is-due {
    color: var(--patient-warning);
    background: var(--patient-warning-soft);
}

/* appointment detail */

.patient-appointment-detail {
    padding: clamp(22px, 4vw, 32px);
    border-radius: var(--patient-radius-lg);
}

.patient-appointment-detail-section {
    padding: 22px 0;
    border-top: 1px solid var(--patient-border);
}

.patient-appointment-detail-section:first-of-type {
    border-top: 0;
}

.patient-appointment-detail-section h2 {
    margin: 0 0 16px;
    color: var(--patient-ink);
    font-size: 1.04rem;
}

.patient-appointment-summary,
.patient-appointment-management {
    display: grid;
    gap: 14px;
}

.appointment-history-list,
.patient-file-list,
.care-report-list {
    display: grid;
    gap: 10px;
}

.appointment-history-item,
.patient-file-item,
.care-report-item {
    padding: 15px 16px;
    border: 1px solid rgba(126, 153, 176, 0.16);
    border-radius: 15px;
    background: rgba(249, 252, 253, 0.76);
}

.appointment-danger-button,
.patient-file-delete {
    border: 1px solid rgba(164, 77, 82, 0.22);
    color: var(--patient-danger);
    background: var(--patient-danger-soft);
}

/* ---------- forms ---------- */

.patient-intake-form,
.care-progress-form,
.auth-form {
    display: grid;
    gap: 18px;
}

.intake-form-section,
.care-form-card,
.care-section-card {
    margin-bottom: 18px;
    padding: clamp(22px, 4vw, 30px);
    border-radius: var(--patient-radius-lg);
}

.intake-section-heading {
    margin-bottom: 20px;
}

.intake-section-heading h2 {
    margin: 7px 0 0;
    color: var(--patient-ink);
    font-size: 1.25rem;
}

.patient-form-grid,
.care-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.form-field-full {
    grid-column: 1 / -1;
}

.patient-site .form-field label {
    margin-bottom: 8px;
    display: block;
    color: #405a6e;
    font-size: 0.76rem;
    font-weight: 800;
}

.patient-site .form-field input,
.patient-site .form-field select,
.patient-site .form-field textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid rgba(113, 143, 167, 0.24);
    border-radius: 14px;
    color: var(--patient-ink);
    background: rgba(255, 255, 255, 0.82);
    font: inherit;
    outline: none;
    transition: border-color 170ms ease, box-shadow 170ms ease, background-color 170ms ease;
}

.patient-site .form-field textarea {
    min-height: 118px;
    resize: vertical;
}

.patient-site .form-field input:focus,
.patient-site .form-field select:focus,
.patient-site .form-field textarea:focus {
    border-color: rgba(23, 111, 143, 0.52);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(23, 111, 143, 0.10);
}

.file-field-note,
.care-form-help {
    color: var(--patient-muted);
    font-size: 0.73rem;
    line-height: 1.9;
}

.intake-consent {
    padding: 16px;
    border: 1px solid rgba(57, 167, 160, 0.18);
    border-radius: 15px;
    color: #4d6879;
    background: rgba(233, 247, 245, 0.62);
}

/* ---------- progress ---------- */

.care-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 18px;
    align-items: start;
}

.care-number-input {
    position: relative;
}

.care-number-input > span {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--patient-muted);
    font-size: 0.7rem;
}

.care-statistics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.care-stat-card {
    padding: 17px;
    border: 1px solid var(--patient-border);
    border-radius: 17px;
    background: rgba(249, 252, 253, 0.80);
}

.care-stat-card span {
    display: block;
    color: var(--patient-muted);
    font-size: 0.69rem;
}

.care-stat-card strong {
    display: block;
    margin-top: 8px;
    color: var(--patient-ink);
    font-size: 1.1rem;
}

.care-report-heading {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.care-report-metrics {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.care-report-metrics > span {
    padding: 7px 9px;
    border-radius: 10px;
    color: #5f7687;
    background: rgba(231, 239, 245, 0.84);
    font-size: 0.68rem;
}

/* ---------- documents ---------- */

.patient-document-list {
    display: grid;
    gap: 15px;
}

.patient-document-card {
    padding: 22px;
    border-radius: 22px;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 19px;
}

.patient-document-card.is-active-document {
    border-color: rgba(57, 167, 160, 0.35) !important;
    box-shadow: 0 20px 58px rgba(34, 122, 99, 0.11) !important;
}

.patient-document-icon {
    width: 72px;
    height: 82px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: #8d3f46;
    background:
        linear-gradient(145deg, rgba(255,255,255,.92), rgba(255,234,236,.92));
    box-shadow: inset 0 0 0 1px rgba(164, 77, 82, 0.10);
    font-size: 0.84rem;
    font-weight: 900;
}

.patient-document-content > p {
    margin: 10px 0;
    color: var(--patient-muted);
    font-size: 0.78rem;
    line-height: 2;
}

.patient-document-meta {
    margin: 13px 0 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 9px 15px;
    color: #8495a4;
    font-size: 0.69rem;
}

/* ---------- auth ---------- */

.auth-section {
    display: grid;
    align-items: center;
}

.auth-section > .container {
    display: grid;
    place-items: center;
}

.auth-card {
    position: relative;
    width: min(100%, 510px);
    padding: clamp(26px, 5vw, 42px);
    border-radius: var(--patient-radius-xl);
    overflow: hidden;
    box-shadow: var(--patient-shadow-lg) !important;
}

.auth-card::before {
    content: "";
    position: absolute;
    width: 210px;
    height: 210px;
    left: -90px;
    top: -105px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(57, 167, 160, 0.17), transparent 70%);
}

.auth-card h1 {
    margin: 10px 0 0;
    color: var(--patient-ink);
    font-size: clamp(1.9rem, 5vw, 2.75rem);
}

.auth-card > p {
    margin: 12px 0 24px;
    color: var(--patient-muted);
    line-height: 2;
}

.auth-submit-button {
    width: 100%;
}

.patient-auth-note,
.development-otp-box {
    margin-top: 18px;
    padding: 14px 15px;
    border-radius: 14px;
    color: var(--patient-muted);
    background: rgba(237, 244, 248, 0.72);
    font-size: 0.72rem;
    line-height: 1.9;
}

.development-otp-box strong {
    display: block;
    margin: 8px 0;
    color: var(--patient-primary);
    font-size: 1.4rem;
}

.patient-otp-actions {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.patient-auth-text-button {
    padding: 0;
    border: 0;
    color: var(--patient-primary);
    background: transparent;
    font: inherit;
    font-size: 0.74rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

/* ---------- empty / pagination ---------- */

.patient-empty-dashboard,
.booking-empty-state,
.care-empty-state {
    text-align: center;
}

.patient-empty-dashboard h2,
.booking-empty-state h2,
.care-empty-state h2 {
    color: var(--patient-ink);
}

.patient-empty-dashboard p,
.booking-empty-state p,
.care-empty-state p {
    color: var(--patient-muted);
    line-height: 2;
}

.pagination-wrapper {
    margin-top: 28px;
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
    .patient-dashboard-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .care-layout {
        grid-template-columns: 1fr;
    }

    .patient-next-grid,
    .patient-appointment-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .patient-dashboard-page > .container,
    .patient-intake-page > .container,
    .auth-section > .container {
        width: min(100% - 24px, 1180px);
    }

    .panel-navigation,
    .patient-panel-navigation {
        top: 72px;
        align-items: stretch;
        flex-direction: column;
    }

    .panel-navigation__links {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .panel-navigation__links::-webkit-scrollbar {
        display: none;
    }

    .panel-navigation__links a {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .panel-navigation__logout {
        display: none;
    }

    .patient-dashboard-header,
    .patient-intake-header {
        align-items: stretch;
        flex-direction: column;
    }

    .patient-dashboard-header .primary-button {
        width: 100%;
    }

    .patient-form-grid,
    .care-form-grid {
        grid-template-columns: 1fr;
    }

    .form-field-full {
        grid-column: auto;
    }

    .patient-document-card {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 14px;
    }

    .patient-document-icon {
        width: 58px;
        height: 66px;
        border-radius: 14px;
    }

    .patient-document-heading,
    .patient-appointment-card-header,
    .patient-appointment-detail-header {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .patient-dashboard-page,
    .patient-intake-page,
    .auth-section {
        padding-top: 24px;
    }

    .patient-dashboard-overview,
    .patient-next-grid,
    .patient-appointment-card-grid,
    .care-statistics {
        grid-template-columns: 1fr;
    }

    .patient-overview-card {
        min-height: auto;
    }

    .patient-next-actions,
    .patient-appointment-card-actions,
    .patient-file-actions,
    .patient-otp-actions {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .patient-next-actions > *,
    .patient-appointment-card-actions > *,
    .patient-file-actions > * {
        width: 100%;
    }

    .patient-document-card {
        grid-template-columns: 1fr;
    }

    .auth-card {
        padding: 24px 20px;
        border-radius: 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .patient-overview-card,
    .patient-appointment-card,
    .patient-site .primary-button,
    .patient-site .secondary-button,
    .panel-navigation__links a {
        transition: none !important;
        transform: none !important;
    }
}

/* Stage 12 — Minimal patient flow */
.patient-dashboard-page--minimal .patient-dashboard-header--minimal,
.patient-intake-page--minimal .patient-intake-header--minimal {
    margin-bottom: 22px;
}

.patient-dashboard-header--minimal h1,
.patient-intake-header--minimal h1 {
    margin: 0;
}

.patient-dashboard-overview--minimal {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 24px;
}

.patient-dashboard-overview--minimal .patient-overview-card {
    min-height: 150px;
}

.care-section-card--minimal {
    margin-top: 22px;
}

.patient-appointment-card--minimal,
.patient-appointment-detail--minimal,
.patient-appointment-detail-section--minimal,
.patient-appointment-management--minimal,
.patient-empty-dashboard--minimal {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.patient-appointment-card-grid--minimal {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.patient-appointment-detail-section--minimal,
.patient-appointment-management--minimal {
    padding-block: 20px;
}

.patient-intake-page--minimal .intake-section-heading--minimal {
    display: block;
}

.patient-intake-page--minimal .intake-section-heading--minimal h2 {
    margin: 0;
}

.patient-intake-page--minimal .intake-section-heading--minimal > span,
.patient-intake-page--minimal .intake-section-heading--minimal p,
.patient-dashboard-page--minimal .section-label,
.patient-dashboard-page--minimal .patient-dashboard-header p,
.patient-dashboard-page--minimal .care-form-help,
.patient-dashboard-page--minimal .patient-empty-dashboard p {
    display: none !important;
}

.patient-document-card .patient-document-content > p {
    display: none;
}

@media (max-width: 820px) {
    .patient-dashboard-overview--minimal {
        grid-template-columns: 1fr;
    }

    .patient-appointment-card-grid--minimal {
        grid-template-columns: 1fr 1fr;
    }
}
