*{box-sizing:border-box}body{margin:0;font-family:Arial,Helvetica,sans-serif;background:#f4f7fa;color:#102a43}.topbar{height:64px;background:#123f68;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 5%;position:-webkit-sticky;position:sticky;top:0;z-index:10}.brand{font-weight:700;font-size:20px;color:#fff}.brand,.brandLogo{text-decoration:none}.brandLogo{display:flex;align-items:center;background:#fff;border-radius:10px;padding:3px 8px;max-width:290px}.brandLogo img{width:100%;height:44px}.navLogout{border:0;background:transparent;color:#fff;font-size:14px;cursor:pointer;padding:0;font-family:inherit}.footerLogo{display:block;width:min(420px,80vw);height:auto;margin:0 auto 10px}.topbar nav{display:flex;gap:24px;flex-wrap:wrap}.topbar nav a{color:#fff;text-decoration:none;font-size:14px}.main{max-width:1160px;margin:30px auto;padding:0 20px}.hero{background:linear-gradient(135deg,#123f68,#24649a);color:#fff;border-radius:0 0 18px 18px;padding:36px;margin-bottom:20px}.hero h1{margin:0 0 8px;font-size:34px}.card{background:#fff;border:1px solid #d7e1ea;border-radius:14px;padding:24px;box-shadow:0 4px 14px #102a4310;margin-bottom:20px}.grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));grid-gap:16px;gap:16px}.grid,.row{display:grid}.row{grid-template-columns:1fr 1fr;grid-gap:14px;gap:14px}@media(max-width:700px){.row{grid-template-columns:1fr}.topbar{height:auto;padding:14px 18px;align-items:flex-start}.topbar nav{gap:10px}.hero h1{font-size:28px}}.field{margin:12px 0}.field label{display:block;font-weight:700;font-size:14px;margin-bottom:7px}.field input,.field select,.field textarea{width:100%;padding:12px;border:1px solid #bdcbd8;border-radius:8px;font-size:15px;background:#fff}.field textarea{min-height:120px}.btn{display:inline-block;border:0;border-radius:8px;background:#123f68;color:#fff;padding:12px 18px;font-weight:700;cursor:pointer;text-decoration:none}.btn.secondary{background:#e8eef4;color:#123f68}.btn.danger{background:#b42318}.btn:disabled{opacity:.55;cursor:not-allowed}.notice{border:1px solid #b9d8fa;background:#edf6ff;border-radius:8px;color:#123f68}.error,.notice{padding:12px 14px}.error{border:1px solid #f3b5b0;background:#fff2f0;color:#9b1c1c;border-radius:8px}.success{padding:12px 14px;border:1px solid #b6dfc5;background:#effaf2;color:#176b36;border-radius:8px}.slotgrid{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:8px;gap:8px}.slot{padding:11px;border:1px solid #ccd9e5;border-radius:8px;background:#fff;cursor:pointer}.slot.selected{border:2px solid #123f68;background:#eaf2f9}.slot.booked{background:#edf0f2;color:#8995a1;text-decoration:line-through;cursor:not-allowed}.muted{color:#60758a}.pill{display:inline-block;padding:4px 8px;border-radius:99px;background:#e8eef4;font-size:12px}.tablewrap{overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch;width:100%}.table{min-width:1050px;width:100%;border-collapse:collapse}.table td,.table th{padding:10px;border-bottom:1px solid #e1e8ef;text-align:left;white-space:nowrap}.video{width:100%;height:560px;border:0;border-radius:12px;background:#111}footer{text-align:center;padding:30px;color:#60758a;font-size:13px}h2{margin-top:0}.iconText{gap:7px}.iconText,.navLogout,.topbar nav a{display:inline-flex;align-items:center}.navLogout,.topbar nav a{gap:6px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px}.btn .icon{flex:0 0 auto}.actionGrid{display:flex;gap:10px;flex-wrap:wrap}.actionCard{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid #d7e1ea;border-radius:12px;background:#fff;text-decoration:none;color:#123f68;box-shadow:0 3px 12px #102a4308}.actionCard:hover{border-color:#9bb7cc;transform:translateY(-1px)}.iconCircle{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#edf6ff;color:#123f68;flex:0 0 auto}.topbar nav{align-items:center}.navLogout,.topbar nav a{white-space:nowrap}svg.icon{display:inline-block;vertical-align:middle;flex:0 0 auto}.brandLogo{gap:9px}.brandLogoMark{width:40px;height:40px;border-radius:10px;background:#0a8fa0;color:#fff;display:grid;place-items:center;flex:0 0 auto}.brandLogo>span:last-child{display:flex;flex-direction:column;line-height:1.05}.brandLogo small{font-size:8px;letter-spacing:1px;opacity:.7;margin-top:4px}.homeHero{background:linear-gradient(135deg,#123f68,#0a8fa0);color:#fff;border-radius:18px;padding:42px;margin-bottom:20px;box-shadow:0 10px 30px #102a4320}.homeHero h1{font-size:42px;margin:24px 0 10px}.homeHero p{font-size:18px;line-height:1.6;max-width:720px}.homeBrand{display:flex;align-items:center;gap:12px}.homeBrand strong{font-size:26px;display:block}.homeBrand small{display:block;font-size:10px;letter-spacing:2px;margin-top:4px;opacity:.8}.brandMark{width:50px;height:50px;border-radius:14px;background:#fff;color:#0a8fa0;display:grid;place-items:center}.homeActions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.dashboardCard{display:block;text-decoration:none;color:#102a43;cursor:pointer;transition:.15s;min-height:145px}.dashboardCard:hover{transform:translateY(-2px);box-shadow:0 8px 22px #102a4320}.dashboardCard .metric{font-size:38px;font-weight:800;margin:12px 0}.dashboardCard h2{display:flex;align-items:center;gap:8px}.dashboardCard .muted{margin:0}.sectionAnchor{scroll-margin-top:90px}@media(max-width:700px){.homeHero{padding:28px 22px}.homeHero h1{font-size:32px}.brandLogo{max-width:220px}.brandLogoMark{width:34px;height:34px}.topbar nav{gap:8px}}.loginLogo{display:flex;align-items:center;gap:12px;margin-bottom:22px}.loginLogoMark{width:58px;height:58px;border-radius:16px;background:linear-gradient(135deg,#087f8c,#0aa6b7);color:#fff;display:grid;place-items:center;font-size:32px;font-weight:800;box-shadow:0 8px 18px #087f8c25}.loginLogo strong{display:block;color:#143d58;font-size:25px}.loginLogo small{display:block;color:#617584;margin-top:5px;font-size:12px}.loginLogoMark span{line-height:1}.brandLogo img{width:230px;max-width:100%;height:52px}.brandLogo img,.loginLogo img{display:block;object-fit:contain}.loginLogo img{width:min(460px,100%);height:auto;max-height:105px;object-position:left center}.loginLogo{display:block}
/* IAR OPD compact notification cards */.adminNotificationCard,.patientNotificationCard{position:fixed;right:18px;bottom:18px;width:min(420px,calc(100vw - 36px));max-height:250px;overflow:auto;z-index:1000;margin:0;padding:14px;border-radius:14px;box-shadow:0 12px 32px #102a4330}.adminNotificationCard h2,.patientNotificationCard h2{font-size:16px;margin-bottom:10px}.adminNotificationCard .success,.patientNotificationCard .success{padding:9px 10px;margin-bottom:7px;font-size:13px}.adminNotificationCard .btn,.patientNotificationCard .btn{padding:7px 10px;font-size:12px}.admin-static-sidebar{position:fixed;left:0;top:64px;bottom:0;width:220px;background:#0f3151;color:#fff;padding:18px 12px;display:flex;flex-direction:column;gap:6px;z-index:900;box-shadow:5px 0 18px #102a4315}.admin-static-sidebar .side-title{font-size:20px;font-weight:800;padding:8px 10px 16px;border-bottom:1px solid #ffffff22;margin-bottom:4px}.admin-static-sidebar a{display:block;padding:10px 11px;border-radius:8px;color:#fff;text-decoration:none;font-weight:700;font-size:14px}.admin-static-sidebar a:hover{background:#ffffff18}.admin-static-sidebar .side-note{margin-top:auto;font-size:11px;line-height:1.45;opacity:.72;padding:10px}.admin-static-spacer{padding-left:235px!important;max-width:none!important;margin-left:0!important}@media(max-width:800px){.admin-static-sidebar{position:sticky;top:0;width:100%;height:auto;bottom:auto;display:flex;flex-direction:row;overflow-x:auto;padding:8px;gap:5px;border-radius:0 0 10px 10px}.admin-static-sidebar .side-title,.admin-static-sidebar .side-note{display:none}.admin-static-sidebar a{white-space:nowrap;flex:0 0 auto;padding:8px 10px}.admin-static-spacer{padding-left:12px!important}.adminNotificationCard,.patientNotificationCard{right:10px;bottom:10px;width:calc(100vw - 20px);max-height:230px}}

body:has(.admin-static-sidebar) .main{padding-left:235px;max-width:none;margin-left:0;margin-right:0}
@media(max-width:800px){body:has(.admin-static-sidebar) .main{padding-left:12px}}
