:root{
  --navy:#06275d;--blue:#0968d8;--cyan:#12b9c0;--ink:#123667;
  --muted:#617da5;--line:#cbdff2;--page:#f6fbff;--card:#ffffff;
  --shadow:0 22px 70px rgba(20,73,125,.13);
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--navy);background:#f7fbff}
body{min-height:100vh}
.demo-login{min-height:100vh;display:grid;grid-template-columns:minmax(720px,1.7fr) minmax(480px,.95fr);overflow:hidden}
.hero-panel{position:relative;min-height:100vh;padding:44px 52px 72px;background:
  radial-gradient(circle at 7% 92%,rgba(16,194,207,.18),transparent 28%),
  linear-gradient(120deg,#fff 0%,#f8fcff 48%,#e9f7ff 100%);overflow:hidden}
.hero-panel:after{content:"";position:absolute;inset:auto -160px -135px -120px;height:270px;border-radius:50%;border-top:22px solid rgba(15,182,199,.48);transform:rotate(-3deg);pointer-events:none}
.hero-brand{position:relative;z-index:4;display:flex;align-items:center;gap:26px}
.hero-brand img{width:270px;max-height:78px;object-fit:contain;object-position:left center}
.hero-tagline{padding-left:24px;border-left:1px solid #9eb9db;color:#5f7ba3;font-size:18px;line-height:1.35}
.hero-copy{position:relative;z-index:4;margin-top:72px;width:53%}
.eyebrow{font-size:16px;letter-spacing:.32em;margin-bottom:14px;color:#52719b}
.hero-copy h1{font-size:54px;line-height:.96;margin:0 0 18px;letter-spacing:-.04em}
.hero-copy h1 span{font-weight:800}.hero-copy h1 strong{font-weight:800;color:#0aa6bb}
.hero-copy p{font-size:28px;line-height:1.25;margin:0;color:#436d9f}
.module-grid{position:relative;z-index:5;width:51%;margin-top:34px;display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.module-card{min-height:116px;border:1px solid rgba(121,172,218,.22);border-radius:16px;background:rgba(255,255,255,.72);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;box-shadow:0 8px 25px rgba(35,92,142,.045);font-size:16px}
.ico{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;font-size:28px;font-weight:800}
.blue{background:#e8f4ff;color:#0a72dc}.teal{background:#e5fbf8;color:#12a88f}.violet{background:#f1ebff;color:#6a40db}.orange{background:#fff3e4;color:#ee7e00}.cyan{background:#e7f6ff;color:#167bdd}.pink{background:#ffe9f0;color:#ef3f78}.green{background:#e8faee;color:#23a14b}.purple{background:#f0eaff;color:#6d45df}.slate{background:#eaf1f8;color:#3e6f9c}
.hero-photo{position:absolute;z-index:2;top:76px;right:0;width:49%;height:79%;background:
  linear-gradient(90deg,rgba(247,252,255,1) 0%,rgba(247,252,255,.12) 18%,rgba(247,252,255,0) 35%),
  url("/assets/ajmus_hospital_lite/brand/hospital-demo-hero.jpg") center/cover no-repeat;
  mask-image:linear-gradient(to bottom,#000 0%,#000 83%,transparent 100%)}
.hero-values{position:absolute;z-index:5;left:52px;bottom:132px;display:flex;gap:24px;color:#26558d}
.hero-values span{display:flex;align-items:center;gap:7px;padding-right:24px;border-right:1px solid #b5cae0}
.hero-values span:last-child{border-right:0}
.hero-script{position:absolute;z-index:5;right:70px;bottom:85px;font-family:"Segoe Script","Bradley Hand",cursive;font-size:25px;line-height:1.15;color:#07519f;transform:rotate(-4deg);text-align:center}
.hero-footer{position:absolute;z-index:6;left:52px;bottom:32px;display:flex;gap:18px;align-items:center;color:#3e6796}
.hero-footer i,.page-footer i{height:18px;width:1px;background:#a8c0dc;display:inline-block}

.login-panel{position:relative;min-height:100vh;padding:72px 62px 64px;background:
  radial-gradient(circle at 90% 20%,rgba(24,190,211,.13),transparent 30%),
  linear-gradient(145deg,#f7fcff,#edf8ff)}
.login-panel:after{content:"+";position:absolute;right:22px;top:45%;font-size:84px;font-weight:800;color:rgba(30,177,219,.16)}
.top-words{text-align:center;font-size:15px;letter-spacing:.08em;color:#44699a;margin-bottom:38px}
.top-words i{display:inline-block;width:5px;height:5px;background:#10b4b8;border-radius:50%;margin:0 16px 3px}
.login-card{position:relative;z-index:3;max-width:545px;margin:0 auto;background:rgba(255,255,255,.96);border:1px solid rgba(255,255,255,.9);border-radius:24px;padding:36px 38px 26px;box-shadow:var(--shadow)}
.card-logo{display:block;width:270px;max-height:78px;object-fit:contain;margin:0 auto 5px}
.mini-words{text-align:center;font-size:11px;letter-spacing:.25em;color:#5d7a9e;margin:8px 0 37px}
.welcome{text-align:center;font-size:24px;color:#28558b;margin-bottom:3px}
.login-card h2{text-align:center;margin:0;font-size:35px;letter-spacing:-.03em}
.login-card h2 span{color:#09a9b9}
.login-sub{text-align:center;margin:4px 0 31px;color:#50739f;font-size:18px}
.login-card label{display:block;font-size:14px;font-weight:700;margin:16px 0 8px;color:#173d71}
.field{height:56px;border:1px solid #a9c5e5;border-radius:10px;display:flex;align-items:center;padding:0 14px;background:#fff;box-shadow:0 3px 12px rgba(40,92,143,.04)}
.field>span{width:28px;color:#2d5b96;font-size:19px}
.field input{border:0;outline:0;background:transparent;width:100%;font:inherit;font-size:16px;color:#123b71}
.eye{border:0;background:transparent;color:#416d9f;font-size:17px;cursor:pointer}
.primary{width:100%;height:58px;margin-top:22px;border:0;border-radius:10px;background:linear-gradient(90deg,#12bcb7,#0969d8);color:#fff;font-size:17px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:18px;cursor:pointer;box-shadow:0 8px 20px rgba(3,112,191,.16)}
.primary:disabled{opacity:.65;cursor:wait}
.or{display:flex;align-items:center;gap:14px;margin:16px 0;color:#6481a6}
.or span{height:1px;background:#d2e1ef;flex:1}.or em{font-style:normal}
.queue-button{height:52px;border:1px solid #2680e2;border-radius:10px;color:#0862c5;text-decoration:none;display:flex;align-items:center;justify-content:center;gap:12px;font-size:16px}
.queue-button strong{font-size:19px}
.warning{margin-top:22px;border:1px solid #f3d28a;border-radius:10px;background:#fff8e8;padding:14px 15px;display:flex;gap:12px;color:#8e461e}
.warning>span{width:25px;height:25px;border-radius:50%;background:#f89b17;color:#fff;display:grid;place-items:center;font-weight:900;flex:none}
.warning p{margin:0;font-size:13px;line-height:1.45}.warning b{color:#a63d16}
.login-error{min-height:20px;margin-top:10px;color:#b42318;text-align:center;font-size:13px}
.card-footer{text-align:center;margin-top:8px;padding-top:17px;border-top:1px solid #edf3f9;color:#6480a4;font-size:12px}
.page-footer{position:absolute;left:0;right:0;bottom:26px;display:flex;justify-content:center;align-items:center;gap:18px;color:#5476a0;font-size:14px}

@media(max-width:1180px){
  .demo-login{grid-template-columns:1fr 520px}
  .hero-panel{padding-left:34px;padding-right:30px}
  .hero-copy,.module-grid{width:58%}
  .hero-copy h1{font-size:44px}.hero-copy p{font-size:22px}
  .hero-photo{width:52%;opacity:.9}
}
@media(max-width:900px){
  .demo-login{display:block;min-height:100vh}
  .hero-panel{min-height:auto;padding:26px 24px 40px}
  .hero-tagline,.hero-photo,.hero-values,.hero-script,.hero-footer{display:none}
  .hero-brand img{width:205px}
  .hero-copy{width:100%;margin-top:35px}.hero-copy h1{font-size:42px}.hero-copy p{font-size:20px}
  .module-grid{width:100%;grid-template-columns:repeat(3,1fr)}
  .module-card{min-height:94px}
  .login-panel{min-height:auto;padding:34px 18px 70px}
  .top-words{margin-bottom:22px}
  .page-footer{bottom:20px}
}
@media(max-width:520px){
  .hero-panel{padding:22px 16px 32px}
  .hero-brand img{width:175px}
  .hero-copy h1{font-size:34px}.hero-copy p{font-size:18px}
  .module-grid{gap:8px}.module-card{font-size:13px;min-height:86px}.ico{width:44px;height:44px;font-size:22px}
  .login-card{padding:28px 20px 22px;border-radius:18px}
  .card-logo{width:215px}.login-card h2{font-size:30px}
}
