.hd-reference-login{min-height:100vh;min-height:100dvh;background:#078fd6 url('./login-glass-hero.jpg') center/cover no-repeat;color:#153858;font-family:Inter,'Segoe UI',Arial,sans-serif;padding:150px 4.6vw 70px;position:relative;isolation:isolate}.hd-reference-login:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#0056b02b,transparent 60%);z-index:-1}.hd-reference-login *{box-sizing:border-box}.hd-reference-header{position:absolute;left:5%;right:4%;top:38px;display:flex;justify-content:space-between;align-items:flex-start;color:#fff;gap:24px}.hd-reference-brand{display:flex;flex-direction:column;gap:5px}.hd-reference-brand img{width:190px;height:48px;object-fit:contain;object-position:left center}.hd-reference-brand span{font-size:13px;color:#e0f1ff}.hd-reference-trust{display:flex;gap:10px;align-items:center;font-size:13px;margin-top:9px}.hd-reference-trust svg{width:20px}.hd-reference-card{width:min(540px,100%);padding:46px 42px 35px;border:2px solid #ffffffbf;border-radius:28px;background:linear-gradient(130deg,#eaf7ffb8,#d4edffbd 55%,#b3e7ffad);box-shadow:0 24px 65px #00539535,inset 0 1px 0 #ffffffb0;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.hd-reference-mark{margin:0 auto 10px;width:92px;height:92px;background:#ffffffd9;border-radius:24px;display:grid;place-items:center}.hd-reference-cross{width:52px;height:52px;position:relative;display:block}.hd-reference-cross:before,.hd-reference-cross:after{content:'';position:absolute;border-radius:6px;background:linear-gradient(135deg,#27bce9,#006afa)}.hd-reference-cross:before{width:20px;height:52px;left:16px}.hd-reference-cross:after{height:20px;width:52px;top:16px}.hd-reference-login h1{font-size:34px;line-height:1.2;text-align:center;font-weight:750;letter-spacing:-1px;color:#08123b;margin:0 0 8px}.hd-reference-subtitle{text-align:center;font-size:18px;line-height:1.5;margin:0 0 28px;color:#365573}.hd-reference-field{display:flex;align-items:center;gap:20px;padding:10px 18px;min-height:68px;background:#ffffff9c;border:1.5px solid #ffffffde;border-radius:12px;margin-bottom:18px}.hd-reference-field>svg{flex-shrink:0;color:#365573}.hd-reference-field>div{min-width:0;flex:1}.hd-reference-field label{display:block;font-size:13px;line-height:1.5}.hd-reference-field input{display:block;width:100%;min-width:0;border:0;background:transparent;outline:none;font:inherit;font-size:16px;color:#183a59;padding:2px 0;margin:0;height:27px;box-shadow:none}.hd-reference-field input::placeholder{color:#72869d}.hd-reference-field:focus-within{outline:3px solid #0077dd66;outline-offset:2px}.hd-reference-login button{font:inherit;cursor:pointer}.hd-reference-eye{background:transparent;border:0;display:grid;place-items:center;min-width:44px;min-height:44px;color:#365573;padding:0}.hd-reference-eye svg{width:21px}.hd-reference-options{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;margin:0 0 24px}.hd-reference-options label{display:flex;align-items:center;gap:12px;cursor:pointer}.hd-reference-options input{width:23px;height:23px;accent-color:#087bf3;margin:0}.hd-reference-options button,.hd-reference-help button{border:0;padding:0;background:transparent;color:#006add;font-weight:600}.hd-reference-submit{display:flex;align-items:center;justify-content:center;gap:16px;width:100%;height:59px;border:0;border-radius:13px;background:linear-gradient(#188ffe,#0070ef);box-shadow:0 10px 25px #087cff33;color:white;font-size:20px!important;font-weight:700!important}.hd-reference-submit:hover{background:#006cde}.hd-reference-login button:focus-visible{outline:3px solid #0755a1;outline-offset:4px}.hd-reference-submit:disabled{opacity:.65;cursor:wait}.hd-reference-help{border-top:1px solid #ffffffa6;text-align:center;font-size:15px;margin-top:28px;padding-top:21px}.hd-reference-error,.hd-reference-help-message{padding:12px;background:#ffffffc9;border-radius:10px;font-size:13px;line-height:1.5;margin:0 0 18px;overflow-wrap:anywhere}.hd-reference-error{color:#a11c30}.hd-reference-help-message{margin:16px 0 0}
@media(min-width:1800px){.hd-reference-login{padding-top:max(150px,16.7vh)}}
@media(max-width:1200px){.hd-reference-login{padding-top:120px;padding-bottom:40px}.hd-reference-card{width:450px;padding:30px}.hd-reference-mark{width:72px;height:72px;border-radius:20px}.hd-reference-login h1{font-size:30px}.hd-reference-subtitle{font-size:16px}.hd-reference-header{top:26px}}
@media(max-width:700px){.hd-reference-login{padding:115px 18px 28px;background-position:65% center}.hd-reference-header{left:22px;right:22px;top:22px}.hd-reference-brand img{width:160px;height:42px}.hd-reference-brand span{font-size:11px}.hd-reference-trust{display:none}.hd-reference-card{width:100%;max-width:440px;margin:auto;padding:28px 24px;background:linear-gradient(130deg,#edf8ffe8,#c5e8f7e3)}.hd-reference-subtitle{font-size:15px}.hd-reference-field{gap:12px;padding:10px 12px}.hd-reference-options{font-size:12px;gap:8px}.hd-reference-help{font-size:13px}.hd-reference-login h1{font-size:29px}}
@media(max-width:360px){.hd-reference-card{padding:24px 18px}.hd-reference-options label{gap:7px}.hd-reference-login{padding-left:12px;padding-right:12px}}
@supports not (backdrop-filter:blur(1px)){.hd-reference-card{background:#d6ecfc}}

/* Compact Khan Hospital branding and viewport layout. */
.hd-reference-login{min-height:100vh;min-height:100dvh;padding:88px 4.6vw 20px;display:flex;align-items:center}
.hd-reference-header{top:16px;left:4.6%;right:4%;align-items:center;height:60px}
.hd-reference-brand img{width:60px;height:60px;object-fit:contain;background:#ffffffdd;border-radius:12px;padding:4px}
.hd-reference-card{width:410px;max-width:100%;padding:24px 28px 18px;border-radius:24px;margin:0}
.hd-reference-mark{width:64px;height:64px;border-radius:17px;margin:0 auto 10px;overflow:hidden}
.hd-healthdoor-icon{display:block;width:43px;height:57px;overflow:hidden;position:relative}
.hd-healthdoor-icon img{position:absolute;width:86px;height:86px;max-width:none;left:-21px;top:0;object-fit:contain}
.hd-reference-login h1{font-size:27px;margin-bottom:6px}.hd-reference-subtitle{font-size:14px;margin-bottom:20px}
.hd-reference-field{min-height:56px;padding:6px 13px;margin-bottom:12px;gap:14px}.hd-reference-field label{font-size:12px}.hd-reference-field input{font-size:16px;height:25px}
.hd-reference-options{font-size:12px;margin-bottom:16px}.hd-reference-options input{width:20px;height:20px}
.hd-reference-submit{height:46px;font-size:17px!important}.hd-reference-help{font-size:12px;margin-top:18px;padding-top:14px}
.hd-product-credit{text-align:center;font-size:10px;color:#405d74;margin:12px 0 0;line-height:1.4}.hd-product-credit strong{color:#14678f;font-weight:600}
@media(max-width:700px){.hd-reference-login{padding:80px 16px 16px;justify-content:center}.hd-reference-header{left:20px;top:12px;height:54px}.hd-reference-brand img{width:54px;height:54px}.hd-reference-card{padding:22px 24px 17px;margin:0}.hd-reference-mark{width:56px;height:56px;margin-bottom:8px}.hd-healthdoor-icon{transform:scale(.85)}.hd-reference-subtitle{margin-bottom:16px}.hd-reference-login h1{font-size:25px}}
@media(max-height:650px){.hd-reference-login{padding-top:70px;padding-bottom:12px}.hd-reference-header{top:10px;height:48px}.hd-reference-brand img{width:48px;height:48px}.hd-reference-card{padding:18px 24px 14px}.hd-reference-mark{width:48px;height:48px;margin-bottom:6px}.hd-healthdoor-icon{transform:scale(.72)}.hd-reference-login h1{font-size:24px}.hd-reference-subtitle{font-size:13px;margin-bottom:12px}.hd-reference-help{margin-top:12px;padding-top:10px}.hd-product-credit{margin-top:8px}}
@media(max-height:500px){.hd-reference-login{padding-top:58px;padding-bottom:8px}.hd-reference-header{height:38px;top:8px}.hd-reference-brand img{height:38px;width:38px}.hd-reference-card{padding:14px 22px 12px;width:390px}.hd-reference-mark,.hd-reference-subtitle{display:none}.hd-reference-login h1{font-size:22px;margin-bottom:12px}.hd-reference-field{min-height:48px;margin-bottom:8px;padding-top:3px;padding-bottom:3px}.hd-reference-options{margin-bottom:10px}.hd-reference-submit{height:42px}.hd-reference-help{margin-top:10px;padding-top:8px}.hd-product-credit{margin-top:6px}}
@media(max-width:360px){.hd-reference-card{padding-left:18px;padding-right:18px}.hd-reference-options{font-size:11px}.hd-reference-help{font-size:11px}}
