:root {
    --font-primary: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    --font-secondary: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
            --bg: #f5f0e8;
            --bg-soft: #eef3ef;
            --surface: #fffdf8;
            --surface-strong: #ffffff;
            --text: #24312b;
            --muted: #6f7c74;
            --line: rgba(36, 49, 43, 0.12);
            --brand: #2c4239;
            --brand-soft: #dce8df;
            --brand-ink: #f7f7f2;
            --accent: #9fb6a5;
            --shadow: 0 18px 40px rgba(31, 44, 38, 0.12);
            --circle: 50%;
            --radius-xl: 32px;
            --radius-lg: 24px;
            --radius-md: 18px;
            --radius-sm: 14px;
            --radius-xs: 8px;
            --container: 1180px;
            --cream-bg: var(--bg);
            --background: var(--bg);
            --surface-container-lowest: var(--surface-strong);
            --surface-container-low: var(--surface);
            --surface-container: var(--bg-soft);
            --surface-variant: var(--line);
            --forest-deep: var(--brand);
            --primary: var(--brand);
            --primary-container: var(--brand-soft);
            --primary-fixed-dim: var(--accent);
            --secondary: var(--brand);
            --secondary-container: var(--brand-soft);
            --primary-fixed: var(--brand-soft);
            --secondary-fixed-dim: var(--accent);
            --secondary-fixed: var(--brand-soft);
            --tertiary: var(--muted);
            --tertiary-container: var(--surface);
            --on-background: var(--text);
            --on-surface: var(--text);
            --on-surface-variant: var(--muted);
            --on-primary: var(--brand-ink);
            --on-primary-container: var(--brand);
            --on-secondary: var(--brand-ink);
            --on-secondary-container: var(--brand);
            --on-tertiary: var(--brand-ink);
            --on-tertiary-fixed-variant: var(--muted);
            --outline: var(--muted);
            --outline-variant: var(--line);
            --error: #ba1a1a;
            --sage-light: rgba(159, 182, 165, 0.38);
            --status-success: #7fb685;
            --status-pending: #e9c46a;
            --status-upcoming: #5c8d89;
            --surface-container-highest: #dfe3e0;
        }

        * {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
}
h1, h2 { font-weight: 700; }
h3, h4, h5 { font-weight: 600; }
h6 { font-weight: 500; }


        body {
            margin: 0;
            font-family: var(--font-primary);
            color: var(--text);
            background:
                radial-gradient(circle at top left, rgba(190, 214, 198, 0.18), transparent 30%),
                linear-gradient(180deg, #fbf8f3 0%, var(--bg) 45%, #f6f3ed 100%);
        }

        img {
            display: block;
            max-width: 100%;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        button,
        .button {
            border: 0;
            cursor: pointer;
            font: inherit;
            transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
        }

        .page {
            width: 100%;
            overflow: hidden;
        }

        .container {
            width: min(100% - 1.25rem, var(--container));
            margin: 0 auto;
        }

        .site-header {
            position: sticky;
            top: 0;
            z-index: 20;
            background: rgba(251, 248, 243, 0.92);
            backdrop-filter: blur(18px);
            border-bottom: 1px solid rgba(36, 49, 43, 0.08);
        }

        .header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 0.75rem;
            padding: 0.85rem 0;
        }

        .brand {
            display: inline-flex;
            align-items: center;
            gap: 0.7rem;
            min-width: max-content;
            font-weight: 700;
            letter-spacing: 0.01em;
        }

        .brand-mark {
            position: relative;
            width: 1.85rem;
            height: 2.25rem;
            border-radius: 60% 60% 55% 55% / 48% 48% 72% 72%;
            background: var(--brand);
            box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
        }

        .brand-mark::before,
        .brand-mark::after {
            content: "";
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            background: #f8f8f4;
            border-radius: 999px;
        }

        .brand-mark::before {
            width: 0.9rem;
            height: 0.2rem;
        }

        .brand-mark::after {
            width: 0.2rem;
            height: 0.9rem;
        }

        .brand span {
            font-family: var(--font-secondary);
            font-size: 1rem;
        }

        .nav,
        .header-links {
            display: none;
        }

        .mobile-menu {
            position: relative;
            margin-left: auto;
        }

        .menu-summary {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            min-height: 2.9rem;
            padding: 0.85rem 1rem;
            border-radius: 999px;
            background: var(--brand);
            color: var(--brand-ink);
            font-weight: 700;
            cursor: pointer;
            list-style: none;
        }

        .menu-summary::-webkit-details-marker {
            display: none;
        }

        .menu-icon {
            display: grid;
            gap: 0.2rem;
        }

        .menu-icon span {
            width: 1rem;
            height: 0.12rem;
            border-radius: 999px;
            background: currentColor;
        }

        .menu-panel {
            position: absolute;
            right: 0;
            top: calc(100% + 0.75rem);
            z-index: 30;
            min-width: 15rem;
            padding: 0.95rem;
            display: grid;
            gap: 0.65rem;
            background: rgba(251, 248, 243, 0.98);
            border: 1px solid rgba(36, 49, 43, 0.12);
            border-radius: 18px;
            box-shadow: var(--shadow);
            opacity: 0;
            visibility: hidden;
            transform: translateY(-0.45rem);
            transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
        }

        .mobile-menu[open] .menu-panel {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .menu-panel a {
            font-weight: 700;
            color: var(--text);
        }
        .menu-panel a:nth-child(7) {
            color: var(--brand-ink);
        }
        .menu-panel .book-btn {
            width: 100%;
            margin-top: 0.25rem;
        }

        .book-btn,
        .primary-btn,
        .secondary-btn,
        .pill-btn,
        .doctor-btn,
        .subscribe-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            min-height: 2.9rem;
            padding: 0.85rem 1.2rem;
            border-radius: 999px;
            font-weight: 700;
        }

        .book-btn,
        .primary-btn,
        .subscribe-btn {
            color: var(--brand-ink);
            background: var(--brand);
            box-shadow: 0 12px 28px rgba(44, 66, 57, 0.22);
        }

        .secondary-btn,
        .pill-btn {
            color: var(--brand);
            background: transparent;
            border: 1px solid rgba(44, 66, 57, 0.24);
        }

        .hero {
            padding: 1.6rem 0 0;
        }

        .hero-grid {
            display: grid;
            gap: 1rem;
        }

        .hero-copy {
            order: 2;
            display: grid;
            gap: 1rem;
            align-content: center;
        }

        .eyebrow {
            display: inline-flex;
            align-items: center;
            width: fit-content;
            padding: 0.45rem 0.9rem;
            border-radius: 999px;
            background: rgba(159, 182, 165, 0.22);
            color: var(--brand);
            font-size: 0.72rem;
            letter-spacing: 0.16em;
            text-transform: uppercase;
            font-weight: 700;
        }

        .hero-copy h1 {
            margin: 0;
            font-family: var(--font-secondary);
            font-size: clamp(2rem, 7vw, 4.45rem);
            line-height: 0.98;
            letter-spacing: -0.04em;
        }

        .hero-copy p {
            margin: 0;
            color: var(--muted);
            line-height: 1.7;
            max-width: 42rem;
        }

        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 0.8rem;
        }

        .hero-visual {
            order: 1;
            position: relative;
            min-height: 20rem;
            border-radius: var(--radius-xl);
            padding: 1rem;
            background:
                radial-gradient(circle at top right, rgba(198, 216, 202, 0.55), transparent 28%),
                linear-gradient(180deg, #fbfbf8 0%, #f2f5f0 100%);
            border: 1px solid rgba(44, 66, 57, 0.08);
            box-shadow: var(--shadow);
            overflow: hidden;
        }

        .hero-visual::before,
        .hero-visual::after {
            content: "";
            position: absolute;
            border-radius: 50%;
            filter: blur(2px);
        }

        .hero-visual::before {
            inset: auto auto 1rem -1.2rem;
            width: 7rem;
            height: 7rem;
            background: rgba(178, 199, 184, 0.45);
        }

        .hero-visual::after {
            inset: 1rem 1rem auto auto;
            width: 8rem;
            height: 8rem;
            background: rgba(163, 187, 170, 0.22);
        }

        .illustration {
            position: relative;
            height: 100%;
            min-height: 18rem;
            display: grid;
            place-items: center;
            border-radius: calc(var(--radius-xl) - 0.5rem);
            border: 1px solid rgba(36, 49, 43, 0.08);
            background:
                linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 248, 244, 0.96)),
                repeating-linear-gradient(0deg, transparent 0 4.4rem, rgba(44, 66, 57, 0.05) 4.4rem 4.5rem),
                repeating-linear-gradient(90deg, transparent 0 4.8rem, rgba(44, 66, 57, 0.05) 4.8rem 4.9rem);
            overflow: hidden;
        }

        .illustration img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            position: relative;
            z-index: 1;
        }

        .illustration .plant,
        .illustration .plant::before,
        .illustration .plant::after,
        .illustration .chair,
        .illustration .person,
        .illustration .person::before,
        .illustration .person::after,
        .illustration .tablet,
        .illustration .cup,
        .illustration .bubble {
            position: absolute;
        }

        .illustration .plant {
            left: 1rem;
            bottom: 1.1rem;
            width: 5.2rem;
            height: 12rem;
            border-radius: 50% 50% 25% 25%;
            background: linear-gradient(180deg, rgba(159, 182, 165, 0.65), rgba(54, 88, 68, 0.6));
            transform: skewX(-2deg);
            filter: saturate(0.9);
        }

        .illustration .plant::before {
            content: "";
            inset: 1.1rem auto auto 0.6rem;
            width: 1.2rem;
            height: 7rem;
            background: linear-gradient(180deg, #40634f, #b4c8b8 92%);
            border-radius: 999px;
            box-shadow: 1.2rem 0.9rem 0 0 rgba(68, 101, 80, 0.85), 2rem -0.3rem 0 0 rgba(68, 101, 80, 0.72);
        }

        .illustration .plant::after {
            content: "";
            inset: 4.8rem auto auto -0.2rem;
            width: 4.2rem;
            height: 4.2rem;
            background: radial-gradient(circle, rgba(62, 96, 76, 0.88) 0 45%, transparent 46%),
                radial-gradient(circle at 0.4rem 0.4rem, rgba(159, 182, 165, 0.92) 0 52%, transparent 53%);
            opacity: 0.9;
        }

        .illustration .chair {
            bottom: 1.8rem;
            left: 5.2rem;
            width: 13rem;
            height: 8rem;
            border: 0.15rem solid rgba(44, 66, 57, 0.65);
            border-color: transparent transparent rgba(44, 66, 57, 0.6) rgba(44, 66, 57, 0.6);
            border-radius: 2.8rem 2.8rem 1.5rem 1.5rem;
            transform: skewX(-8deg);
            box-shadow: inset 0 0 0 0.14rem rgba(255, 255, 255, 0.6);
        }

        .illustration .chair.right {
            left: auto;
            right: 3rem;
            width: 13.5rem;
            transform: skewX(8deg);
        }

        .illustration .person {
            bottom: 1.7rem;
            left: 8.1rem;
            width: 6.7rem;
            height: 10.6rem;
            border-radius: 48% 48% 42% 42% / 40% 40% 55% 55%;
            background: linear-gradient(180deg, rgba(235, 239, 232, 0.2), rgba(116, 147, 128, 0.75) 44%, rgba(72, 103, 84, 0.95));
            box-shadow: inset 0 0 0 0.12rem rgba(44, 66, 57, 0.18);
        }

        .illustration .person::before {
            content: "";
            left: 50%;
            top: -4.15rem;
            transform: translateX(-50%);
            width: 3.6rem;
            height: 4.1rem;
            border-radius: 48% 48% 42% 42%;
            background: linear-gradient(180deg, #f1efe8, #cdbda7);
            box-shadow: 0 0 0 0.15rem rgba(44, 66, 57, 0.1);
        }

        .illustration .person::after {
            content: "";
            left: 50%;
            top: -0.35rem;
            transform: translateX(-50%);
            width: 0.9rem;
            height: 5.2rem;
            background: rgba(44, 66, 57, 0.8);
            border-radius: 999px;
            box-shadow: 0.9rem 0.8rem 0 -0.05rem rgba(44, 66, 57, 0.8), -0.8rem 0.7rem 0 -0.05rem rgba(44, 66, 57, 0.8);
        }

        .illustration .person.doctor {
            left: 3.9rem;
            width: 7rem;
            background: linear-gradient(180deg, #ffffff 0 22%, rgba(178, 202, 185, 0.6) 38%, rgba(85, 122, 96, 0.95));
        }

        .illustration .person.doctor::before {
            width: 3.8rem;
            height: 4.3rem;
            background: linear-gradient(180deg, #fbf6f1, #d9cec2);
        }

        .illustration .tablet {
            left: 11.2rem;
            bottom: 5rem;
            width: 4.8rem;
            height: 3rem;
            border-radius: 0.7rem;
            background: #f7f6f2;
            border: 0.12rem solid rgba(44, 66, 57, 0.45);
            transform: rotate(-18deg);
            box-shadow: 0 0.6rem 1rem rgba(44, 66, 57, 0.12);
        }

        .illustration .cup {
            right: 6.2rem;
            bottom: 6rem;
            width: 1.8rem;
            height: 1.6rem;
            border: 0.12rem solid rgba(44, 66, 57, 0.45);
            border-radius: 0.25rem 0.25rem 0.9rem 0.9rem;
        }

        .illustration .cup::before {
            content: "";
            position: absolute;
            right: -0.55rem;
            top: 0.3rem;
            width: 0.8rem;
            height: 0.65rem;
            border: 0.12rem solid rgba(44, 66, 57, 0.45);
            border-left: 0;
            border-radius: 0 999px 999px 0;
        }

        .illustration .bubble {
            width: 6.5rem;
            height: 4rem;
            right: 1.3rem;
            top: 2rem;
            border-radius: 999px;
            background: rgba(159, 182, 165, 0.4);
            transform: rotate(-18deg);
        }

        .illustration .bubble.small {
            width: 2.4rem;
            height: 2.4rem;
            left: 1.1rem;
            top: 2rem;
            border-radius: 50%;
            background: rgba(117, 156, 134, 0.72);
        }

        .trust-bar {
            margin-top: 1.2rem;
            background: var(--brand);
            color: var(--brand-ink);
        }

        .trust-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 0.9rem 0.75rem;
            padding: 1rem 0;
        }

        .trust-item {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            font-size: 0.9rem;
        }

        .trust-icon {
            width: 1.9rem;
            height: 1.9rem;
            border-radius: 50%;
            border: 1px solid rgba(255, 255, 255, 0.3);
            display: grid;
            place-items: center;
            font-size: 0.85rem;
            flex: 0 0 auto;
        }

        .section {
            padding: 3rem 0;
        }

        .section-head {
            text-align: center;
            display: grid;
            gap: 0.6rem;
            max-width: 44rem;
            margin: 0 auto 1.6rem;
        }

        .section-head h2 {
            margin: 0;
            font-family: var(--font-secondary);
            font-size: clamp(1.5rem, 5vw, 2.5rem);
            letter-spacing: -0.03em;
        }

        .section-head p {
            margin: 0;
            color: var(--muted);
            line-height: 1.7;
        }

        .card-grid {
            display: grid;
            gap: 1rem;
        }

        .feature-card,
        .doctor-card,
        .faq-item {
            background: rgba(255, 255, 255, 0.7);
            border: 1px solid rgba(44, 66, 57, 0.09);
            box-shadow: var(--shadow);
        }

        .feature-card {
            border-radius: var(--radius-lg);
            padding: 1.2rem;
            display: grid;
            gap: 0.8rem;
            min-height: 11rem;
        }

        .feature-icon {
            width: 2.5rem;
            height: 2.5rem;
            border-radius: 50%;
            background: rgba(159, 182, 165, 0.2);
            display: grid;
            place-items: center;
            color: var(--brand);
            font-weight: 700;
        }

        .feature-card h3,
        .doctor-card h3,
        .faq-item summary {
            margin: 0;
            font-size: 1rem;
            line-height: 1.35;
        }

        .feature-card p,
        .doctor-card p,
        .step p,
        .faq-item p {
            margin: 0;
            color: var(--muted);
            line-height: 1.65;
        }

        .journey {
            background: linear-gradient(180deg, rgba(237, 242, 238, 0.9), rgba(245, 240, 232, 0.95));
            border-top: 1px solid rgba(44, 66, 57, 0.06);
            border-bottom: 1px solid rgba(44, 66, 57, 0.06);
        }

        .steps {
            display: grid;
            gap: 1rem;
        }

        .step {
            display: grid;
            justify-items: center;
            gap: 0.55rem;
            text-align: center;
        }

        .step-badge {
            width: 3.1rem;
            height: 3.1rem;
            border-radius: 50%;
            background: var(--brand);
            color: var(--brand-ink);
            display: grid;
            place-items: center;
            font-weight: 700;
            box-shadow: 0 8px 20px rgba(44, 66, 57, 0.2);
        }

        .doctor-top {
            display: flex;
            align-items: end;
            justify-content: space-between;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .doctor-top h2,
        .faq-head h2 {
            margin: 0;
            font-family: var(--font-secondary);
            font-size: clamp(1.45rem, 4vw, 2.2rem);
        }

        .link-arrow {
            color: var(--brand);
            font-weight: 700;
            min-width: max-content;
        }

        .doctors-grid {
            display: grid;
            gap: 1rem;
        }

        .doctor-card {
            border-radius: 24px;
            overflow: hidden;
        }

        .doctor-photo {
            position: relative;
            height: 12rem;
            background: linear-gradient(135deg, #d9e4da, #f9f3ea);
            overflow: hidden;
        }

        .doctor-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center top;
        }
/* 
        .doctor-photo::before,
        .doctor-photo::after {
            content: "";
            position: absolute;
            inset: auto;
            border-radius: 50%;
        }

        .doctor-photo::before {
            width: 8rem;
            height: 8rem;
            left: 1rem;
            bottom: -1.8rem;
            background: rgba(63, 102, 79, 0.3);
        }

        .doctor-photo::after {
            width: 7rem;
            height: 11rem;
            right: 1rem;
            top: 1rem;
            background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(159, 182, 165, 0.35));
            border-radius: 38% 42% 50% 50%;
        } */

        .doctor-photo .person-mini {
            position: absolute;
            bottom: 1.7rem;
            left: 50%;
            width: 6.5rem;
            height: 9rem;
            transform: translateX(-50%);
            border-radius: 45% 45% 40% 40%;
            background: linear-gradient(180deg, #f9f6f0 0 24%, #9cb19d 24% 52%, #4e6e58 52%);
            box-shadow: 0 0 0 0.14rem rgba(44, 66, 57, 0.16);
        }

        .doctor-photo .person-mini::before {
            content: "";
            position: absolute;
            left: 50%;
            top: -3.55rem;
            transform: translateX(-50%);
            width: 3.5rem;
            height: 4rem;
            border-radius: 45% 45% 42% 42%;
            background: linear-gradient(180deg, #f6efdf, #c6b69f);
        }

        .doctor-content {
            padding: 1rem 1rem 1.1rem;
            display: grid;
            gap: 0.9rem;
        }

        .doctor-meta {
            display: flex;
            gap: 1rem;
            color: var(--muted);
            font-size: 0.9rem;
            flex-wrap: wrap;
        }

        .doctor-btn {
            width: 100%;
            border-radius: 999px;
            background: #dbe7de;
            color: var(--brand);
        }

        .faq {
            display: grid;
            gap: 1rem;
        }

        .faq-head {
            text-align: center;
            display: grid;
            gap: 0.6rem;
        }

        .faq-list {
            display: grid;
            gap: 0.85rem;
            max-width: 46rem;
            margin: 0 auto;
            width: 100%;
        }

        .faq-item {
            border-radius: 16px;
            overflow: hidden;
        }

        .faq-item summary {
            list-style: none;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 1rem;
            padding: 1rem 1.05rem;
            cursor: pointer;
            font-weight: 700;
        }

        .faq-item summary::-webkit-details-marker {
            display: none;
        }

        .faq-item summary::after {
            content: "+";
            color: var(--brand);
            font-size: 1.2rem;
        }

        .faq-item[open] summary::after {
            content: "–";
        }

        .faq-item .faq-answer {
            padding: 0 1.05rem 1rem;
        }

        .site-footer {
            margin-top: 1rem;
            background: var(--brand);
            color: rgba(255, 255, 255, 0.84);
            border-radius: 24px 24px 0 0;
        }

        .footer-top {
            display: grid;
            gap: 1.6rem;
            padding: 2rem 0 1.5rem;
        }

        .footer-brand p,
        .footer-col a,
        .footer-col p,
        .footer-bottom {
            color: rgba(255, 255, 255, 0.72);
        }

        .footer-brand .brand {
            color: var(--brand-ink);
        }

        .footer-brand p {
            margin: 1rem 0 0;
            line-height: 1.7;
        }

        .footer-col h3 {
            margin: 0 0 0.8rem;
            font-family: var(--font-secondary);
            color: var(--brand-ink);
        }

        .footer-links {
            display: grid;
            gap: 0.7rem;
        }

        .newsletter {
            display: grid;
            gap: 0.8rem;
        }

        .newsletter-form {
            display: grid;
            gap: 0.75rem;
        }

        .newsletter input {
            width: 100%;
            min-height: 2.9rem;
            border: 1px solid rgba(255, 255, 255, 0.18);
            background: rgba(255, 255, 255, 0.08);
            color: #fff;
            border-radius: 14px;
            padding: 0.9rem 1rem;
            outline: none;
        }

        .newsletter input::placeholder {
            color: rgba(255, 255, 255, 0.65);
        }

        .footer-bottom {
            display: flex;
            justify-content: space-between;
            gap: 1rem;
            flex-wrap: wrap;
            border-top: 1px solid rgba(255, 255, 255, 0.12);
            padding: 1rem 0 1.2rem;
            font-size: 0.9rem;
        }

        .footer-note {
            letter-spacing: 0.14em;
            text-transform: uppercase;
            font-size: 0.72rem;
        }

        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        /* Mobile first spacing refinements */
        @media (min-width: 640px) {
            .hero-visual {
                min-height: 24rem;
            }

            .trust-grid {
                grid-template-columns: repeat(4, minmax(0, 1fr));
            }

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

            .footer-top {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media (min-width: 900px) {
            .mobile-menu {
                display: none;
            }

            .header-inner {
                gap: 1.2rem;
            }

            .nav {
                display: flex;
                align-items: center;
                gap: 1.2rem;
                margin-left: auto;
            }

            .nav-group {
                display: flex;
                align-items: center;
                gap: 1.5rem;
            }

            .nav-group + .nav-group {
                margin-left: 0.7rem;
            }

            .nav a {
                position: relative;
                padding: 0.45rem 0;
                color: var(--text);
                font-weight: 500;
                transition: color 0.2s ease;
            }

            .nav a::after {
                content: "";
                position: absolute;
                right: 0;
                bottom: 0;
                left: 0;
                height: 2px;
                border-radius: 999px;
                background: var(--brand);
                transform: scaleX(0);
                transform-origin: center;
                transition: transform 0.2s ease;
            }

            .nav a:hover,
            .nav a:focus-visible,
            .nav a.is-active {
                color: var(--brand);
            }

            .nav a:hover::after,
            .nav a:focus-visible::after,
            .nav a.is-active::after {
                transform: scaleX(1);
            }

            .header-links {
                display: flex;
                align-items: center;
                gap: 0.8rem;
                margin-left: 1rem;
            }

            .hero {
                padding-top: 2.2rem;
            }

            .hero-grid {
                grid-template-columns: 1.1fr 1fr;
                align-items: center;
                gap: 2rem;
            }

            .hero-copy {
                order: 1;
            }

            .hero-visual {
                order: 2;
            }

            .section {
                padding: 4.5rem 0;
            }

            .card-grid {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }

            .steps {
                grid-template-columns: repeat(5, minmax(0, 1fr));
                align-items: start;
            }

            .doctors-grid {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }

            .footer-top {
                grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
                align-items: start;
            }
        }

        @media (min-width: 1100px) {
            .hero-copy h1 {
                font-size: clamp(3rem, 5vw, 5rem);
            }

            .hero-visual {
                min-height: 31rem;
                padding: 1.35rem;
            }

            .illustration {
                min-height: 28rem;
            }
        }

/* Shared profile card styles. Dashboard pages inject these scoped rules at runtime. */
.profile-card-overlay { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 20px; background: rgba(24, 28, 27, 0.58); opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease; }
.profile-card-overlay.is-open { opacity: 1; visibility: visible; }
.profile-card { position: relative; width: min(100%, 480px); max-height: min(760px, calc(100vh - 40px)); overflow-y: auto; padding: 28px; color: var(--on-surface); background: var(--surface); border: 1px solid var(--outline-variant); border-radius: var(--radius-lg); box-shadow: 0 24px 70px rgba(24, 28, 27, .24); font-family: var(--font-primary); transform: translateY(10px); transition: transform .2s ease; }
.profile-card-overlay.is-open .profile-card { transform: translateY(0); }
.profile-card-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: var(--radius-full); color: var(--on-surface); background: transparent; font-size: 26px; line-height: 1; cursor: pointer; }
.profile-card-heading { margin: 0 0 20px; text-align: center; }
.profile-card-avatar-wrap { position: relative; width: 88px; height: 88px; margin: 4px auto 14px; }
.profile-card-avatar { width: 88px; height: 88px; display: grid; place-items: center; overflow: hidden; border-radius: var(--radius-full); color: var(--on-primary); background: var(--primary); font-size: 26px; font-weight: 700; }
.profile-card-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-card-edit { position: absolute; right: -4px; bottom: -4px; width: 34px; height: 34px; display: grid; place-items: center; border: 2px solid var(--surface); border-radius: var(--radius-full); color: var(--on-primary); background: var(--primary); cursor: pointer; }
.profile-card-heading h2 { margin: 0; color: var(--on-surface); font-size: 24px; }
.profile-card-heading p { margin: 4px 0 0; color: var(--on-surface-variant); font-size: 14px; }
.profile-card-section { margin-top: 20px; }
.profile-card-section h3 { margin: 0 0 10px; color: var(--on-surface); font-size: 16px; }
.profile-card-field { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; color: var(--on-surface-variant); font-size: 13px; font-weight: 600; }
.profile-card-field input { min-height: 44px; width: 100%; padding: 10px 12px; border: 1px solid var(--outline-variant); border-radius: var(--radius); color: var(--on-surface); background: var(--surface); font: inherit; font-weight: 400; }
.profile-card-field input:disabled { color: var(--on-surface-variant); background: var(--surface-container-highest); }
.profile-card-inline { display: flex; gap: 8px; align-items: end; }
.profile-card-inline .profile-card-field { flex: 1; }
.profile-card-button { min-height: 44px; padding: 10px 14px; border: 1px solid var(--primary); border-radius: var(--radius-md); color: var(--on-primary); background: var(--primary); font-weight: 700; cursor: pointer; }
.profile-card-button.secondary { color: var(--primary); background: var(--surface); }
.profile-card-button.danger { width: 100%; border-color: var(--error); color: #fff; background: var(--error); }
.profile-card-button.logout { width: 100%; margin-top: 10px; color: var(--on-surface); border-color: var(--outline-variant); background: var(--surface-container-highest); }
.profile-card-message { min-height: 18px; margin: 8px 0 0; color: var(--status-success); font-size: 12px; opacity: 0; transition: opacity .2s ease; }
.profile-card-message.is-visible { opacity: 1; }
.profile-card-error { min-height: 18px; margin: 8px 0 0; color: var(--error); font-size: 12px; }
.profile-card-email-row { display: flex; gap: 8px; align-items: center; }
.profile-card-email-row .profile-card-field { flex: 1; }
.profile-card-badge { flex-shrink: 0; padding: 4px 8px; border-radius: var(--radius-full); color: var(--error); background: var(--error-container); font-size: 11px; font-weight: 700; }
.profile-card-badge.is-verified { color: var(--status-success); background: var(--secondary-container); }
.profile-card-divider { height: 1px; margin: 24px 0 18px; background: var(--outline-variant); }
.profile-card-delete-panel { display: none; margin-top: 10px; padding: 12px; border: 1px solid var(--error); border-radius: var(--radius); background: var(--error-container); }
.profile-card-delete-panel.is-visible { display: block; }
.profile-card-delete-panel p { margin: 0 0 8px; color: var(--error); font-size: 12px; }
.profile-card-delete-panel p.profile-card-message { color: var(--status-success); }
.profile-card-delete-panel input { min-height: 44px; width: 100%; padding: 10px; border: 1px solid var(--error); border-radius: var(--radius); }
.profile-card-delete-panel .profile-card-button { width: 100%; margin-top: 8px; }
.profile-card-delete-panel .profile-card-button:disabled { cursor: not-allowed; opacity: .5; }
@media (max-width: 480px) {
    .profile-card-overlay { padding: 10px; }
    .profile-card { max-height: calc(100vh - 20px); padding: 24px 18px; }
    .profile-card-inline, .profile-card-email-row { align-items: stretch; flex-direction: column; }
    .profile-card-inline .profile-card-button, .profile-card-email-row .profile-card-badge { width: 100%; text-align: center; }
}




        /* Landing page css ends here  */







        /* LOGIN page css starts from here */

        html, body {
            margin: 0;
            padding: 0;
        }

        body {
            min-height: 100vh;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }

        main.shell {
            display: flex;
            min-height: 100vh;
            width: 100%;
            flex-direction: column;
        }

        @media (min-width: 768px) {
            main.shell {
                flex-direction: row;
            }
        }

        .visual-panel {
            display: none;
            position: relative;
            overflow: hidden;
            background-color: var(--forest-deep);
            align-items: center;
            justify-content: center;
        }

        @media (min-width: 768px) {
            .visual-panel {
                display: flex;
                width: 50%;
            }
        }

        .visual-panel .bg-image {
            position: absolute;
            inset: 0;
            z-index: 0;
            opacity: 0.85;
            background-image:
                linear-gradient(135deg, #3f5a50 0%, var(--forest-deep) 60%),
                radial-gradient(circle at 30% 30%, rgba(174, 205, 193, 0.35), transparent 60%);
            background-size: cover;
            background-position: center;
        }
.bg-image img{
    height: 100%;
    width: 100%;
    size: cover;
}
        .glass-card {
            position: relative;
            z-index: 10;
            padding: 24px;
            background: rgba(255, 255, 255, 0.72);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-radius: 0.75rem;
            max-width: 28rem;
            margin: 0 2rem;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.28);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .glass-card h1 {
            font-size: 32px;
            line-height: 40px;
            font-weight: 600;
            color: var(--forest-deep);
            margin: 0 0 12px 0;
            font-family: var(--font-secondary);
        }

        .glass-card p {
            font-size: 18px;
            line-height: 28px;
            color: var(--on-surface-variant);
            margin: 0 0 24px 0;
        }

        .avatars {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .avatar-stack {
            display: flex;
        }

        .avatar-stack .avatar-circle {
            width: 40px;
            height: 40px;
            border-radius: 9999px;
            border: 2px solid white;
            margin-left: -8px;
            background: linear-gradient(135deg, var(--brand-soft), var(--forest-deep));
        }

        .avatar-stack .avatar-circle:first-child {
            margin-left: 0;
        }

        .trust-label {
            font-size: 12px;
            line-height: 16px;
            letter-spacing: 0.05em;
            font-weight: 700;
            color: var(--primary);
        }

        .badge-secure {
            position: absolute;
            bottom: 2rem;
            left: 2rem;
            display: flex;
            align-items: center;
            gap: 8px;
            color: rgba(255, 255, 255, 0.72);
            font-size: 12px;
            letter-spacing: 0.05em;
            font-weight: 700;
            z-index: 10;
        }

        .form-panel {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 24px;
            background: linear-gradient(180deg, rgba(255, 253, 248, 0.88), rgba(255, 255, 255, 0.96));
        }

        @media (min-width: 768px) {
            .form-panel {
                width: 50%;
            }
        }

        .form-wrap {
            width: 100%;
            max-width: 24rem;
            display: flex;
            flex-direction: column;
        }

        .brand-header {
            margin-bottom: 24px;
            text-align: center;
        }

        @media (min-width: 768px) {
            .brand-header {
                text-align: left;
            }
        }

        .logo-mark {
            display: flex;
            justify-content: center;
            margin-bottom: 16px;
        }

        @media (min-width: 768px) {
            .logo-mark {
                justify-content: flex-start;
            }
        }

        .logo-mark .logo-icon {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            background: linear-gradient(135deg, var(--forest-deep), var(--brand));
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-family: var(--font-secondary);
            font-weight: 700;
            font-size: 22px;
            box-shadow: var(--shadow);
        }

        .brand-name {
            font-size: 24px;
            line-height: 32px;
            font-weight: 700;
            color: var(--forest-deep);
            display: block;
            margin-bottom: 8px;
            font-family: var(--font-secondary);
        }

        .brand-name:hover {
            opacity: 0.8;
        }

        .brand-header h2 {
            font-size: 16px;
            line-height: 24px;
            font-weight: 400;
            color: var(--on-surface-variant);
            margin: 0;
        }

        .tabs {
            display: flex;
            border-bottom: 1px solid var(--sage-light);
            margin-bottom: 24px;
        }

        .tab-btn {
            flex: 1;
            padding: 12px 0;
            font-size: 12px;
            letter-spacing: 0.05em;
            font-weight: 700;
            background: none;
            border: none;
            border-bottom: 2px solid transparent;
            cursor: pointer;
            transition: all 0.2s;
            font-family: inherit;
        }

        .tab-btn.active-tab {
            color: var(--forest-deep);
            border-bottom: 2px solid var(--forest-deep);
        }

        .tab-btn.inactive-tab {
            color: var(--outline);
        }

        form.login-form {
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        .role-indicator {
            background-color: rgba(205, 233, 221, 0.3);
            padding: 8px 12px;
            border-radius: 0.5rem;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: background-color 0.3s;
        }

        .role-indicator.doctor-mode {
            background-color: rgba(74, 103, 93, 0.2);
        }

        .role-icon {
            width: 20px;
            height: 20px;
            flex-shrink: 0;
            color: var(--primary);
        }

        .role-text {
            font-size: 12px;
            letter-spacing: 0.05em;
            font-weight: 700;
            color: var(--primary);
        }

        .field-group {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .field-group label {
            font-size: 12px;
            letter-spacing: 0.05em;
            font-weight: 700;
            color: var(--on-surface-variant);
        }

        .field-row-between {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .field-row-between a {
            font-size: 12px;
            letter-spacing: 0.05em;
            font-weight: 700;
            color: var(--primary);
        }

        .field-row-between a:hover {
            text-decoration: underline;
        }

        .input-wrap {
            position: relative;
        }

        .input-wrap input {
            width: 100%;
            padding: 12px 44px 12px 16px;
            background-color: var(--surface);
            border: 1px solid var(--sage-light);
            border-radius: 0.5rem;
            font-size: 16px;
            line-height: 24px;
            font-family: inherit;
            color: var(--on-surface);
            transition: all 0.2s;
        }

        .input-wrap input:focus {
            outline: none;
            box-shadow: 0 0 0 2px var(--primary);
            border-color: transparent;
        }

        .input-icon {
            position: absolute;
            right: 16px;
            top: 20%;
            color: var(--outline);
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .icon-btn {
            background: none;
            border: none;
            cursor: pointer;
            padding: 0;
            color: var(--outline);
        }

        .icon-btn:hover {
            color: var(--primary);
        }

        .remember-row {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .remember-row input[type="checkbox"] {
            width: 16px;
            height: 16px;
            accent-color: var(--primary);
        }

        .remember-row label {
            font-size: 14px;
            line-height: 20px;
            color: var(--on-surface-variant);
            cursor: pointer;
        }

        .submit-btn {
            width: 100%;
            background-color: var(--forest-deep);
            color: var(--on-primary);
            padding: 16px;
            border-radius: 0.5rem;
            border: none;
            font-size: 12px;
            letter-spacing: 0.05em;
            font-weight: 700;
            box-shadow: 0 10px 15px -3px rgba(0,0,0,0.2);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: transform 0.1s;
            font-family: inherit;
        }

        .submit-btn:active {
            transform: scale(0.98);
        }

        .submit-btn:disabled {
            opacity: 0.8;
            cursor: default;
        }

        .arrow-icon {
            width: 18px;
            height: 18px;
        }

        .spinner {
            width: 16px;
            height: 16px;
            border: 2px solid rgba(255,255,255,0.4);
            border-top-color: white;
            border-radius: 50%;
            animation: spin 0.7s linear infinite;
            display: inline-block;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        .signup-footer {
            margin-top: 24px;
            text-align: center;
        }

        .signup-footer p {
            font-size: 14px;
            line-height: 20px;
            color: var(--on-surface-variant);
            margin: 0;
        }

        .signup-footer a {
            font-size: 12px;
            letter-spacing: 0.05em;
            font-weight: 700;
            color: var(--primary);
        }

        .signup-footer a:hover {
            text-decoration: underline;
        }

        .support-footer {
            margin-top: auto;
            padding-top: 24px;
            border-top: 1px solid var(--sage-light);
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .support-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: var(--outline);
            font-size: 12px;
            font-weight: 700;
        }

        .support-links {
            display: flex;
            gap: 16px;
        }

        .support-links a:hover {
            color: var(--primary);
        }

         /* LOGIN page css ends here */




         
        /* DOCTOR DASHBOARD page css starts from here */

        body.doctor-dashboard {
            min-height: 100vh;
            display: flex;
            background: var(--cream-bg);
            color: var(--on-surface);
        }

        body.doctor-dashboard a {
            text-decoration: none;
            color: inherit;
        }

        body.doctor-dashboard button {
            font: inherit;
            cursor: pointer;
        }

        body.doctor-dashboard .icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 22px;
            height: 22px;
            flex-shrink: 0;
        }

        body.doctor-dashboard .icon svg {
            width: 100%;
            height: 100%;
        }

        body.doctor-dashboard .icon.sm {
            width: 18px;
            height: 18px;
        }

        body.doctor-dashboard .icon.xs {
            width: 16px;
            height: 16px;
        }

        body.doctor-dashboard aside.sidenav {
            position: fixed;
            inset: 0 auto 0 0;
            width: 256px;
            min-height: 100vh;
            background-color: var(--forest-deep);
            color: var(--primary-fixed-dim);
            box-shadow: 2px 0 8px rgba(0, 0, 0, 0.08);
            z-index: 50;
            display: flex;
            flex-direction: column;
            padding: 24px 16px;
        }

        body.doctor-dashboard .sidenav-brand {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 40px;
            padding: 0 8px;
        }
        .sidenav-brand {
            display: flex;
            flex-direction: column;
        }

        body.doctor-dashboard .sidenav-logo {
            width: 40px;
            height: 40px;
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.12);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 700;
            font-size: 15px;
            flex-shrink: 0;
        }

        body.doctor-dashboard .sidenav-brand h1 {
            font-size: 24px;
            font-weight: 600;
            color: white;
        }

        body.doctor-dashboard .sidenav-brand p {
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 0.15em;
            color: rgba(216, 226, 220, 0.6);
            margin: 2px 0 0;
        }

        body.doctor-dashboard nav.sidenav-links {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        body.doctor-dashboard .nav-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            border-radius: 8px;
            color: var(--sage-light);
            transition: background-color 0.2s, color 0.2s;
            font-size: 16px;
        }

        body.doctor-dashboard .nav-item:hover,
        body.doctor-dashboard .nav-item.active {
            background-color: var(--primary-container);
            color: var(--on-primary-container);
        }

        body.doctor-dashboard .new-appt-wrap {
            margin-bottom: 24px;
            padding: 0 8px;
        }

        body.doctor-dashboard .new-appt-btn {
            width: 100%;
            background-color: var(--secondary-container);
            color: var(--on-secondary-container);
            padding: 12px;
            border-radius: 8px;
            border: none;
            font-size: 12px;
            letter-spacing: 0.05em;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: opacity 0.2s;
        }

        body.doctor-dashboard .new-appt-btn:hover {
            opacity: 0.9;
        }

        body.doctor-dashboard .sidenav-footer {
            display: flex;
            flex-direction: column;
            gap: 4px;
            padding-top: 24px;
            border-top: 1px solid rgba(216, 226, 220, 0.2);
        }

        body.doctor-dashboard .sidenav-footer a {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 8px 16px;
            color: rgba(216, 226, 220, 0.7);
            font-size: 14px;
            transition: color 0.2s;
        }

        body.doctor-dashboard .sidenav-footer a:hover {
            color: white;
        }

        body.doctor-dashboard main.content {
            margin-left: 256px;
            flex: 1;
            display: flex;
            flex-direction: column;
            position: relative;
            min-height: 100vh;
        }

        body.doctor-dashboard header.topbar {
            position: fixed;
            top: 0;
            right: 0;
            width: calc(100% - 256px);
            height: 64px;
            z-index: 40;
            background: rgba(247, 250, 248, 0.8);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border-bottom: 1px solid var(--sage-light);
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 24px;
            gap: 16px;
        }

        body.doctor-dashboard .search-box {
            display: flex;
            align-items: center;
            background-color: var(--surface-container-low);
            border-radius: 9999px;
            padding: 6px 16px;
            width: min(100%, 384px);
            border: 1px solid rgba(216, 226, 220, 0.5);
            gap: 8px;
        }

        body.doctor-dashboard .search-box input {
            background: transparent;
            border: none;
            outline: none;
            font-size: 14px;
            width: 100%;
            color: var(--on-surface);
            min-width: 0;
        }

        body.doctor-dashboard .search-box .icon,
        body.doctor-dashboard .icon-btn {
            color: var(--outline);
        }

        body.doctor-dashboard .topbar-actions {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        body.doctor-dashboard .icon-btn {
            background: none;
            border: none;
            border-radius: 9999px;
            padding: 8px;
            display: flex;
            transition: background-color 0.2s;
        }

        body.doctor-dashboard .icon-btn:hover {
            background-color: var(--surface-container-low);
        }

        body.doctor-dashboard .divider-v {
            height: 32px;
            width: 1px;
            background-color: var(--sage-light);
            margin: 0 8px;
        }

        body.doctor-dashboard .profile-block {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        body.doctor-dashboard .profile-text {
            text-align: right;
        }

        body.doctor-dashboard .profile-text p:first-child {
            font-size: 12px;
            letter-spacing: 0.05em;
            font-weight: 700;
            color: var(--forest-deep);
            margin: 0;
        }

        body.doctor-dashboard .profile-text p:last-child {
            font-size: 10px;
            color: var(--on-surface-variant);
            margin: 0;
        }

        body.doctor-dashboard .avatar-circle {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: 2px solid var(--primary);
            background: linear-gradient(135deg, #aecdc1, #4a675d);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 700;
            font-size: 13px;
            flex-shrink: 0;
        }

        body.doctor-dashboard .avatar-sm {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 700;
            font-size: 12px;
            flex-shrink: 0;
        }

        body.doctor-dashboard .avatar-patient {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: 1px solid var(--sage-light);
            background: linear-gradient(135deg, #cde9dd, #4a675d);
            flex-shrink: 0;
        }

        body.doctor-dashboard .scroll-content {
            padding: 96px 24px 48px;
            display: flex;
            flex-direction: column;
            gap: 24px;
            max-width: 1280px;
            margin: 0 auto;
            width: 100%;
        }

        body.doctor-dashboard .page-header {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            gap: 16px;
        }

        body.doctor-dashboard .page-header h2 {
            font-size: 32px;
            line-height: 40px;
            font-weight: 600;
            color: var(--forest-deep);
        }

        body.doctor-dashboard .page-header > div:first-child p {
            color: var(--on-surface-variant);
            margin: 4px 0 0;
        }

        body.doctor-dashboard .date-chip {
            background: white;
            padding: 8px 16px;
            border-radius: 8px;
            box-shadow: 0 4px 20px rgba(44, 62, 56, 0.08);
            border: 1px solid rgba(216, 226, 220, 0.5);
            display: flex;
            align-items: center;
            gap: 12px;
            color: var(--forest-deep);
        }

        body.doctor-dashboard .date-chip span.label {
            font-size: 12px;
            letter-spacing: 0.05em;
            font-weight: 700;
            text-transform: uppercase;
        }

        body.doctor-dashboard .stats-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 16px;
        }

        body.doctor-dashboard .stat-card,
        body.doctor-dashboard .panel,
        body.doctor-dashboard .insights-panel {
            background: white;
            border-radius: 8px;
            box-shadow: 0 4px 20px rgba(44, 62, 56, 0.08);
            border: 1px solid rgba(216, 226, 220, 0.3);
        }

        body.doctor-dashboard .stat-card {
            padding: 20px;
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            transition: border-color 0.3s;
        }

        body.doctor-dashboard .stat-card:hover {
            border-color: var(--primary);
        }

        body.doctor-dashboard .stat-card .label {
            color: var(--on-surface-variant);
            font-size: 12px;
            letter-spacing: 0.05em;
            font-weight: 700;
            text-transform: uppercase;
            margin: 0 0 4px;
        }

        body.doctor-dashboard .stat-card .value {
            font-size: 48px;
            line-height: 56px;
            letter-spacing: -0.02em;
            font-weight: 700;
            color: var(--forest-deep);
            margin: 0;
        }

        body.doctor-dashboard .stat-card .trend {
            font-size: 12px;
            font-weight: 700;
            margin-top: 8px;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        body.doctor-dashboard .trend.up { color: var(--status-success); }
        body.doctor-dashboard .trend.error { color: var(--error); }
        body.doctor-dashboard .trend.neutral { color: rgba(65, 72, 69, 0.6); font-weight: 400; }

        body.doctor-dashboard .stat-icon-wrap {
            width: 52px;
            height: 52px;
            border-radius: 12px;
            color: var(--forest-deep);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        body.doctor-dashboard .bg-secondary-container { background-color: var(--secondary-container); }
        body.doctor-dashboard .bg-surface-container-highest { background-color: var(--surface-container-highest); }
        body.doctor-dashboard .bg-sage-light { background-color: var(--sage-light); }
        body.doctor-dashboard .bg-secondary-fixed { background-color: var(--secondary-fixed); }

        body.doctor-dashboard .stars {
            display: flex;
            gap: 2px;
            margin-top: 8px;
            color: var(--status-success);
        }

        body.doctor-dashboard .main-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 16px;
        }

        body.doctor-dashboard .panel {
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }

        body.doctor-dashboard .panel-header {
            padding: 16px;
            border-bottom: 1px solid var(--sage-light);
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
        }

        body.doctor-dashboard .panel-header h4,
        body.doctor-dashboard .insights-header h4 {
            font-size: 24px;
            line-height: 32px;
            font-weight: 600;
            color: var(--forest-deep);
        }

        body.doctor-dashboard .view-cal-link {
            color: var(--primary);
            font-size: 12px;
            letter-spacing: 0.05em;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 4px;
            background: none;
            border: none;
        }

        body.doctor-dashboard .view-cal-link:hover {
            text-decoration: underline;
        }

        body.doctor-dashboard .schedule-scroll {
            padding: 8px;
            overflow: auto;
            max-height: 480px;
        }

        body.doctor-dashboard table.schedule-table {
            width: 100%;
            min-width: 640px;
            text-align: left;
            border-collapse: separate;
            border-spacing: 0 8px;
        }

        body.doctor-dashboard .schedule-table thead {
            color: var(--on-surface-variant);
            font-family: var(--font-secondary);
            font-size: 12px;
            letter-spacing: 0.05em;
            font-weight: 600;
            text-transform: uppercase;
        }

        body.doctor-dashboard .schedule-table th {
            padding: 8px 16px;
            font-weight: normal;
        }

        body.doctor-dashboard .schedule-table tbody tr {
            transition: transform 0.2s, background-color 0.2s;
            border-radius: 8px;
        }

        body.doctor-dashboard .schedule-table tbody tr:hover { background-color: var(--surface-container-low); }
        body.doctor-dashboard .schedule-table tbody tr.in-progress { background-color: rgba(205, 233, 221, 0.2); }
        body.doctor-dashboard .schedule-table tbody tr.in-progress:hover { background-color: rgba(205, 233, 221, 0.4); }

        body.doctor-dashboard .schedule-table td {
            padding: 12px 16px;
        }

        body.doctor-dashboard .time-cell {
            font-family: var(--font-primary);
            font-size: 13px;
            color: var(--forest-deep);
        }

        body.doctor-dashboard .patient-cell {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        body.doctor-dashboard .patient-cell span.name {
            font-weight: 600;
        }

        body.doctor-dashboard .type-cell {
            color: var(--on-surface-variant);
            font-size: 14px;
        }

        body.doctor-dashboard .status-badge {
            padding: 4px 10px;
            font-size: 11px;
            font-weight: 700;
            border-radius: 9999px;
            text-transform: uppercase;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            width: fit-content;
        }

        body.doctor-dashboard .status-completed { background-color: rgba(127, 182, 133, 0.15); color: var(--status-success); }
        body.doctor-dashboard .status-progress { background-color: rgba(233, 196, 106, 0.2); color: var(--on-tertiary-fixed-variant); }
        body.doctor-dashboard .status-confirmed { background-color: rgba(92, 141, 137, 0.15); color: var(--status-upcoming); }

        body.doctor-dashboard .pulse-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background-color: var(--status-pending);
            animation: pulse 1.5s infinite;
        }

        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.4; }
        }

        body.doctor-dashboard .more-btn {
            background: none;
            border: none;
            color: var(--outline);
            transition: color 0.2s;
        }

        body.doctor-dashboard .more-btn:hover { color: var(--forest-deep); }

        body.doctor-dashboard .view-record-btn {
            background-color: var(--forest-deep);
            color: white;
            padding: 4px 12px;
            border-radius: 6px;
            border: none;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            transition: opacity 0.2s;
        }

        body.doctor-dashboard .view-record-btn:hover { opacity: 0.9; }

        body.doctor-dashboard .patients-list {
            padding: 16px;
            display: flex;
            flex-direction: column;
            gap: 16px;
            flex: 1;
        }

        body.doctor-dashboard .patient-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding: 12px;
            border-radius: 8px;
            background-color: var(--surface);
            border: 1px solid transparent;
            transition: all 0.2s;
        }

        body.doctor-dashboard .patient-row:hover {
            background-color: var(--surface-container-low);
            border-color: var(--sage-light);
        }

        body.doctor-dashboard .patient-info {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        body.doctor-dashboard .patient-info p:first-child {
            font-weight: 700;
            color: var(--forest-deep);
            margin: 0;
        }

        body.doctor-dashboard .patient-info p:last-child {
            font-size: 11px;
            color: var(--on-surface-variant);
            margin: 2px 0 0;
        }

        body.doctor-dashboard .folder-btn {
            background: none;
            border: none;
            padding: 8px;
            color: var(--forest-deep);
            border-radius: 9999px;
            transition: background-color 0.2s;
        }

        body.doctor-dashboard .folder-btn:hover { background-color: var(--primary-container); }

        body.doctor-dashboard .directory-btn-wrap {
            padding-top: 16px;
            margin-top: auto;
        }

        body.doctor-dashboard .directory-btn {
            width: 100%;
            padding: 12px;
            background-color: var(--cream-bg);
            border: 1px solid var(--sage-light);
            color: var(--forest-deep);
            font-size: 12px;
            letter-spacing: 0.05em;
            font-weight: 700;
            border-radius: 8px;
            text-transform: uppercase;
            transition: background-color 0.2s;
        }

        body.doctor-dashboard .directory-btn:hover { background-color: var(--sage-light); }

        body.doctor-dashboard .insights-panel {
            padding: 24px;
        }

        body.doctor-dashboard .insights-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 32px;
            flex-wrap: wrap;
            gap: 12px;
        }

        body.doctor-dashboard .insights-header p {
            color: var(--on-surface-variant);
            font-size: 14px;
            margin: 4px 0 0;
        }

        body.doctor-dashboard .legend {
            display: flex;
            align-items: center;
            gap: 16px;
            flex-wrap: wrap;
        }

        body.doctor-dashboard .legend-item {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 12px;
            color: var(--on-surface-variant);
        }

        body.doctor-dashboard .legend-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
        }

        body.doctor-dashboard .chart-area {
            position: relative;
            height: 192px;
            width: 100%;
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 16px;
            padding: 0 8px;
        }

        body.doctor-dashboard .grid-lines {
            position: absolute;
            inset: 0;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            pointer-events: none;
        }

        body.doctor-dashboard .grid-lines div {
            border-top: 1px solid rgba(216, 226, 220, 0.3);
            width: 100%;
            height: 0;
        }

        body.doctor-dashboard .bar-col {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            align-items: center;
            position: relative;
            min-width: 42px;
        }

        body.doctor-dashboard .bar {
            width: 100%;
            max-width: 40px;
            background-color: var(--forest-deep);
            border-radius: 6px 6px 0 0;
            transition: opacity 0.3s;
            position: relative;
        }

        body.doctor-dashboard .bar:hover { opacity: 0.8; }
        body.doctor-dashboard .bar.faded { background-color: rgba(44, 62, 56, 0.4); }

        body.doctor-dashboard .bar-tooltip {
            display: none;
            position: absolute;
            top: -32px;
            background-color: var(--forest-deep);
            color: white;
            font-size: 10px;
            padding: 4px 8px;
            border-radius: 4px;
            white-space: nowrap;
        }

        body.doctor-dashboard .bar-col:hover .bar-tooltip { display: block; }

        body.doctor-dashboard .bar-label {
            margin-top: 12px;
            font-family: var(--font-primary);
            font-size: 10px;
            text-transform: uppercase;
            color: var(--on-surface-variant);
        }

        body.doctor-dashboard .fab {
            position: fixed;
            bottom: 32px;
            right: 32px;
            background-color: var(--forest-deep);
            color: white;
            width: 56px;
            height: 56px;
            border-radius: 50%;
            border: none;
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 50;
            transition: transform 0.2s;
        }

        body.doctor-dashboard .fab:hover { transform: scale(1.1); }
        body.doctor-dashboard .fab:active { transform: scale(0.95); }

        @media (min-width: 640px) {
            body.doctor-dashboard .stats-grid {
                grid-template-columns: 1fr 1fr;
            }
        }

        @media (min-width: 1024px) {
            body.doctor-dashboard .stats-grid {
                grid-template-columns: repeat(4, 1fr);
            }

            body.doctor-dashboard .main-grid {
                grid-template-columns: 2fr 1fr;
            }
        }

        @media (max-width: 1023px) {
            body.doctor-dashboard {
                display: block;
            }

            body.doctor-dashboard aside.sidenav {
                position: relative;
                width: 100%;
                min-height: auto;
                inset: auto;
                box-shadow: none;
                padding: 16px;
            }

            body.doctor-dashboard main.content {
                margin-left: 0;
                min-height: auto;
            }

            body.doctor-dashboard header.topbar {
                position: sticky;
                top: 0;
                width: 100%;
                height: auto;
                padding: 12px 16px;
                flex-wrap: wrap;
            }

            body.doctor-dashboard .search-box {
                width: 100%;
            }

            body.doctor-dashboard .topbar-actions {
                width: 100%;
                justify-content: flex-end;
                flex-wrap: wrap;
            }

            body.doctor-dashboard .scroll-content {
                padding: 16px 16px 32px;
            }

            body.doctor-dashboard .page-header h2 {
                font-size: clamp(1.6rem, 6vw, 2rem);
                line-height: 1.15;
            }

            body.doctor-dashboard .panel-header,
            body.doctor-dashboard .insights-header {
                align-items: flex-start;
            }

            body.doctor-dashboard .chart-area {
                overflow-x: auto;
            }

            body.doctor-dashboard .fab {
                right: 16px;
                bottom: 16px;
            }
        }

        /* DOCTOR DASHBOARD page css ends here */




       