@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600&display=swap";:root{color:#14213d;font-synthesis:none;text-rendering:optimizelegibility;--navy:#102b55;--navy-deep:#071a37;--blue:#127db5;--cyan:#56c3d2;--gold:#c88a2d;--gold-soft:#fff6e8;--surface:#fff;--background:#f4f7fb;--border:#e2e8f0;--muted:#68758a;--danger:#b42318;--success:#087a55;background:#f4f7fb;font-family:DM Sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html{background:var(--background);min-width:320px}body{min-width:320px;min-height:100vh;margin:0}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit}:focus-visible{outline-offset:2px;outline:3px solid #127db547}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.button{border:0;border-radius:10px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:0 18px;font-weight:700;text-decoration:none;transition:transform .18s,box-shadow .18s,background .18s;display:inline-flex}.button:hover:not(:disabled){transform:translateY(-1px)}.button:disabled{cursor:not-allowed;opacity:.65}.button--primary{color:#fff;background:linear-gradient(120deg, var(--navy), #fff);box-shadow:0 8px 22px #102b552e}.button--secondary{color:var(--navy);background:#fff;border:1px solid #cfd9e6}.button--whatsapp{color:#fff;background:#148d62}.button--full{width:100%}.eyebrow{color:var(--gold);letter-spacing:.16em;font-size:11px;font-weight:800}.icon-button{border:1px solid var(--border);width:42px;height:42px;color:var(--navy);background:#fff;border-radius:10px;place-items:center;display:grid}.login-page{background:radial-gradient(circle at 20% 20%,#ecf8fb 0,#0000 34%),linear-gradient(145deg,#f8fafc 0%,#eef4f8 100%);place-items:center;min-height:100vh;padding:32px 20px;display:grid;position:relative;overflow:hidden}.login-page:before{content:"";opacity:.28;background-image:linear-gradient(#b9c8d8 1px,#0000 1px),linear-gradient(90deg,#b9c8d8 1px,#0000 1px);background-size:44px 44px;position:absolute;inset:0;-webkit-mask-image:linear-gradient(#000,#0000 72%);mask-image:linear-gradient(#000,#0000 72%)}.login-accent{filter:blur(1px);opacity:.16;border-radius:50%;position:absolute}.login-accent--one{background:var(--cyan);width:360px;height:360px;top:-100px;left:-150px}.login-accent--two{background:var(--gold);width:280px;height:280px;bottom:-90px;right:-100px}.login-card{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff0;border:1px solid #fffc;border-radius:22px;width:min(100%,440px);padding:42px;position:relative;box-shadow:0 28px 70px #0f2b4f24}.login-card:before{content:"";background:linear-gradient(90deg, #fff, #fff, var(--gold));border-radius:0 0 3px 3px;height:3px;position:absolute;top:0;left:42px;right:42px}.login-brand{justify-content:center;height:78px;margin-bottom:24px;display:flex}.login-brand img{object-fit:contain;width:220px;height:220px;margin-top:-70px}.login-heading{text-align:center;margin-bottom:28px}.login-heading h1{color:var(--navy-deep);margin:8px 0 6px;font:600 32px/1.15 Playfair Display,Georgia,serif}.login-heading p{color:var(--muted);margin:0;font-size:14px}.field{margin:0 0 18px;display:block}.field>span{color:#35435a;margin-bottom:8px;font-size:13px;font-weight:700;display:block}.field input,.filters input,.filters select{width:100%;height:46px;color:var(--navy-deep);background:#fff;border:1px solid #d9e1eb;border-radius:9px;padding:0 13px;transition:border-color .15s,box-shadow .15s}.field input:focus,.filters input:focus,.filters select:focus{border-color:var(--blue);outline:0;box-shadow:0 0 0 3px #127db51a}.password-input{position:relative}.password-input input{padding-right:48px}.password-input button{color:#68758a;background:0 0;border:0;place-items:center;width:40px;height:40px;display:grid;position:absolute;top:3px;right:4px}.checkbox-row{color:#536176;cursor:pointer;align-items:center;gap:9px;margin:4px 0 22px;font-size:13px;display:flex}.checkbox-row input{width:16px;height:16px;accent-color:var(--navy)}.alert{border-radius:9px;margin-bottom:18px;padding:12px 14px;font-size:13px;line-height:1.45}.alert--error{color:#8c241c;background:#fff4f2;border:1px solid #f2c5bf}.login-footer{color:#8a94a4;text-align:center;letter-spacing:.04em;border-top:1px solid #edf0f4;margin:24px 0 0;padding-top:20px;font-size:11px}.session-notice p{color:var(--muted);text-align:center}.spinner{border:2px solid #fff6;border-top-color:#fff;border-radius:50%;width:17px;height:17px;animation:.7s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.admin-shell{background:var(--background);min-height:100vh;display:flex}.sidebar{z-index:30;color:#dbe8f6;background:linear-gradient(#0d2b51 0%,#071a37 100%);flex-direction:column;width:248px;padding:0 18px 22px;display:flex;position:fixed;inset:0 auto 0 0;box-shadow:12px 0 30px #071a3714}.sidebar:after{content:"";pointer-events:none;background:radial-gradient(circle at 50% 120%,#c88a2d38,#0000 70%);height:180px;position:absolute;inset:auto 0 0}.sidebar-brand{border-bottom:1px solid #ffffff1a;align-items:center;height:118px;margin:0 -4px 22px;display:flex;overflow:hidden}.sidebar-brand img{object-fit:contain;filter:drop-shadow(0 3px 8px #00000026);width:208px;height:208px}.sidebar nav{gap:7px;display:grid}.nav-item{z-index:1;color:#b8c9dc;text-align:left;background:0 0;border:0;border-radius:10px;align-items:center;gap:12px;width:100%;min-height:46px;padding:0 14px;font-size:14px;font-weight:600;display:flex;position:relative}.nav-item:hover{color:#fff;background:#ffffff0f}.nav-item--active{color:#fff;box-shadow:inset 3px 0 var(--gold);background:linear-gradient(90deg,#127db54d,#127db51f)}.nav-dot{background:var(--gold);border-radius:50%;width:6px;height:6px;margin-left:auto}.sidebar-support{z-index:1;background:#ffffff09;border:1px solid #ffffff14;border-radius:12px;margin:auto 6px 22px;padding:17px;position:relative}.sidebar-support span{color:var(--gold);letter-spacing:.16em;font-size:9px;font-weight:800}.sidebar-support p{color:#a9bbcf;margin:7px 0 0;font-size:12px;line-height:1.55}.nav-item--logout{border-top:1px solid #ffffff14;border-radius:0;padding-top:12px}.admin-main{flex:1;min-width:0;margin-left:248px}.topbar{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffffe6;border-bottom:1px solid #e6ebf1;align-items:center;gap:16px;height:82px;padding:0 34px;display:flex}.topbar-title h1{color:var(--navy-deep);margin:3px 0 0;font-size:21px;line-height:1.2}.admin-profile{align-items:center;gap:10px;margin-left:auto;display:flex}.admin-profile>span:last-child{display:grid}.admin-profile strong{color:var(--navy);font-size:13px}.admin-profile small{max-width:210px;color:var(--muted);text-overflow:ellipsis;font-size:11px;overflow:hidden}.avatar{width:38px;height:38px;color:var(--navy);background:#edf6fa;border:1px solid #dbe4ee;border-radius:10px;place-items:center;display:grid}.mobile-menu{display:none}.dashboard-content{max-width:1600px;margin:0 auto;padding:30px 34px 42px}.welcome-row{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.welcome-row h2{color:var(--navy-deep);margin:0 0 5px;font:600 27px/1.2 Playfair Display,Georgia,serif}.welcome-row p{color:var(--muted);margin:0;font-size:14px}.date-chip{border:1px solid var(--border);color:#526178;background:#fff;border-radius:10px;align-items:center;gap:9px;height:40px;padding:0 14px;font-size:12px;font-weight:600;display:flex}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px;display:grid}.stat-card{background:#fff;border:1px solid #e5eaf0;border-radius:14px;align-items:flex-start;gap:15px;min-height:126px;padding:20px;display:flex;box-shadow:0 5px 18px #0f2b4f0b}.stat-icon{width:42px;height:42px;color:var(--blue);background:#e8f5fa;border-radius:11px;flex:0 0 42px;place-items:center;display:grid}.stat-card--2 .stat-icon{color:#16765f;background:#e8f7f0}.stat-card--3 .stat-icon{color:#8056a3;background:#f3ecf8}.stat-card--4 .stat-icon{color:#a66b18;background:var(--gold-soft)}.stat-card>div:last-child{min-width:0;display:grid}.stat-card span{color:#67758a;font-size:12px;font-weight:600}.stat-card strong{color:var(--navy-deep);margin:3px 0 2px;font-size:27px}.stat-card small{color:#98a1af;font-size:10px}.enquiries-panel{background:#fff;border:1px solid #e2e8ef;border-radius:15px;overflow:hidden;box-shadow:0 6px 22px #0f2b4f0b}.panel-heading{justify-content:space-between;align-items:center;gap:16px;padding:22px 24px 16px;display:flex}.panel-heading h2{color:var(--navy-deep);margin:0 0 4px;font-size:18px}.panel-heading p{color:var(--muted);margin:0;font-size:12px}.result-pill{color:var(--navy);background:#edf4fa;border-radius:99px;padding:6px 10px;font-size:11px;font-weight:700}.filters{border-bottom:1px solid #edf0f4;grid-template-columns:minmax(230px,1.6fr) repeat(5,minmax(120px,1fr)) auto;gap:8px;padding:0 24px 18px;display:grid}.filters input,.filters select{color:#526078;height:40px;padding:0 10px;font-size:11px}.search-field{position:relative}.search-field svg{z-index:1;color:#8a96a7;position:absolute;top:10px;left:12px}.search-field input{padding-left:38px}.text-button{color:var(--blue);background:0 0;border:0;font-size:11px;font-weight:700}.table-scroll{overflow-x:auto}table{border-collapse:collapse;text-align:left;width:100%}th{color:#738096;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap;background:#f8fafc;padding:12px 17px;font-size:10px;font-weight:800}td{color:#38465b;vertical-align:middle;border-top:1px solid #edf0f4;padding:15px 17px;font-size:12px}tbody tr{transition:background .15s}tbody tr:hover{background:#fbfdff}.patient-cell,.contact-cell{align-items:center;gap:10px;display:flex}.patient-cell>span:last-child,.contact-cell{min-width:0;display:grid}.patient-cell strong{max-width:180px;color:var(--navy-deep);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.patient-cell small,.contact-cell small,.table-subtext{color:#8a95a5;margin-top:3px;font-size:10px}.patient-avatar{width:32px;height:32px;color:var(--navy);background:#e9f4f8;border-radius:9px;flex:0 0 32px;place-items:center;font-weight:800;display:grid}.table-subtext{display:block}.status-badge{color:#356177;text-transform:capitalize;white-space:nowrap;background:#e7f2f7;border-radius:99px;align-items:center;padding:5px 9px;font-size:10px;font-weight:800;display:inline-flex}.status-badge--new,.status-badge--pending{color:#92600f;background:#fff3dc}.status-badge--contacted,.status-badge--follow-up{color:#185d92;background:#e7f2fc}.status-badge--converted{color:#08704e;background:#e5f6ef}.status-badge--closed{color:#5e6673;background:#edf0f3}.row-actions{align-items:center;gap:5px;display:flex}.row-actions a{color:#647388;background:#fff;border:1px solid #e0e6ed;border-radius:7px;place-items:center;width:30px;height:30px;display:grid}.view-button{height:30px;color:var(--navy);background:#f7fbfd;border:1px solid #c9d9e6;border-radius:7px;padding:0 10px;font-size:10px;font-weight:800}.table-state{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:330px;padding:50px 24px;display:flex}.table-state h3{color:var(--navy-deep);margin:15px 0 6px;font-size:16px}.table-state p{color:var(--muted);margin:0 0 18px;font-size:12px}.empty-icon{width:52px;height:52px;color:var(--blue);background:#edf7fa;border-radius:50%;place-items:center;display:grid}.table-state--error>span{width:48px;height:48px;color:var(--danger);background:#fff0ee;border-radius:50%;place-items:center;font-size:24px;font-weight:800;display:grid}.skeleton{background:linear-gradient(90deg,#edf1f5,#f7f9fb,#edf1f5) 0 0/200% 100%;border-radius:5px;width:100%;height:13px;animation:1.2s infinite shimmer;display:block}@keyframes shimmer{to{background-position:-200% 0}}.pagination{color:#7a8698;border-top:1px solid #edf0f4;justify-content:space-between;align-items:center;min-height:64px;padding:12px 24px;font-size:11px;display:flex}.pagination>div{align-items:center;gap:10px;display:flex}.pagination button{width:34px;height:34px;color:var(--navy);background:#fff;border:1px solid #dce3eb;border-radius:8px;place-items:center;display:grid}.pagination button:disabled{color:#b9c1cc;cursor:not-allowed;background:#f6f8fa}.drawer-layer{z-index:50;justify-content:flex-end;display:flex;position:fixed;inset:0}.drawer-scrim,.sidebar-scrim{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#071a376b;border:0;position:absolute;inset:0}.drawer{background:#fff;width:min(100%,460px);height:100%;padding:28px;animation:.22s ease-out slideIn;position:relative;overflow-y:auto;box-shadow:-20px 0 60px #071a3733}@keyframes slideIn{0%{transform:translate(100%)}}.drawer-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:18px;padding-bottom:22px;display:flex}.drawer-header h2{color:var(--navy-deep);margin:7px 0 0;font:600 25px/1.2 Playfair Display,Georgia,serif}.drawer-status{color:var(--muted);justify-content:space-between;align-items:center;padding:18px 0;font-size:12px;display:flex}.details-list{border:1px solid var(--border);border-radius:12px;margin:0;overflow:hidden}.details-list>div{border-bottom:1px solid var(--border);grid-template-columns:135px 1fr;gap:10px;padding:13px 15px;display:grid}.details-list>div:last-child{border-bottom:0}.details-list dt{color:var(--muted);font-size:11px}.details-list dd{overflow-wrap:anywhere;color:#29374d;margin:0;font-size:12px;font-weight:600}.message-box{background:#f6f9fc;border-radius:12px;margin-top:18px;padding:16px}.message-box>span{color:var(--navy);text-transform:uppercase;align-items:center;gap:7px;font-size:11px;font-weight:800;display:flex}.message-box p{color:#56647a;white-space:pre-wrap;margin:10px 0 0;font-size:13px;line-height:1.65}.drawer-actions{flex-wrap:wrap;gap:8px;margin-top:22px;display:flex}.route-fallback{text-align:center;place-content:center;justify-items:center;min-height:100vh;padding:30px;display:grid}.route-fallback img{object-fit:cover;object-position:center;width:270px;height:160px}.route-fallback h1{color:var(--navy);margin:0}.route-fallback p{color:var(--muted)}@media (width<=1280px){.filters{grid-template-columns:minmax(230px,2fr) repeat(3,1fr)}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=860px){.sidebar{transition:transform .22s;transform:translate(-100%)}.sidebar--open{transform:translate(0)}.sidebar-scrim{z-index:25;position:fixed}.admin-main{margin-left:0}.mobile-menu{display:grid}.topbar{padding:0 20px}.dashboard-content{padding:24px 20px 36px}.admin-profile small{max-width:130px}.filters{grid-template-columns:repeat(2,minmax(0,1fr))}.search-field{grid-column:1/-1}table{min-width:970px}}@media (width<=560px){.login-card{border-radius:18px;padding:34px 24px 28px}.login-card:before{left:24px;right:24px}.topbar{height:72px}.topbar-title .eyebrow,.admin-profile>span:last-child{display:none}.topbar-title h1{font-size:18px}.dashboard-content{padding:20px 14px 30px}.welcome-row{align-items:flex-start}.welcome-row h2{font-size:23px}.date-chip{display:none}.stats-grid{grid-template-columns:1fr 1fr;gap:9px}.stat-card{gap:10px;min-height:114px;padding:14px}.stat-icon{flex-basis:34px;width:34px;height:34px}.stat-card strong{font-size:22px}.stat-card small{display:none}.panel-heading{padding:18px 16px 14px}.filters{grid-template-columns:1fr;padding:0 16px 15px}.search-field{grid-column:auto}.pagination{padding:12px 16px}.pagination>span{display:none}.pagination>div{justify-content:space-between;width:100%}.drawer{padding:22px 18px}.details-list>div{grid-template-columns:115px 1fr}}
