*{box-sizing:border-box} .thpa-body{margin:0;min-height:100vh;display:flex;flex-direction:column;background:radial-gradient(ellipse at top right,#d8f5e8,transparent 45%),linear-gradient(135deg,#e6efff,#f6f8fc 65%,#e7f6ef);color:#152b49;font:15px/1.55 Inter,Arial,sans-serif} .thpa-body a{color:#0b3490;font-weight:650;text-decoration:none}.thpa-body a:hover{text-decoration:underline}.thpa-body :focus-visible{outline:3px solid #1376dc;outline-offset:3px}.thpa-header,.thpa-footer{width:min(1240px,calc(100% - 40px));margin:0 auto;display:flex;justify-content:space-between;align-items:center;gap:16px}.thpa-header{padding:18px 0}.thpa-header img{display:block;width:240px;max-width:100%;height:58px;object-fit:contain;object-position:left}.thpa-home{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #cdddf0;border-radius:14px;padding:10px 16px}.thpa-shell{width:min(1240px,calc(100% - 40px));margin:auto;display:grid;grid-template-columns:1fr 1fr;align-items:stretch;border-radius:28px;overflow:hidden;background:white;border:1px solid #d4e2f2;box-shadow:0 18px 55px #0b349019}.thpa-hero{min-height:570px;position:relative;display:flex;align-items:flex-end;padding:40px;background:linear-gradient(180deg,#0b349015 0%,#0b349060 36%,#0b3490f5 70%,#007e48 100%),url('../settings/social/welcome-hospital.webp') center top/cover no-repeat;color:#fff}.thpa-hero:after{content:'';position:absolute;bottom:0;left:0;right:0;height:7px;background:linear-gradient(90deg,#1989dc,#00a53f,#8becb7)}.thpa-hero-copy{position:relative;width:100%}.thpa-eyebrow{display:inline-flex;align-items:center;gap:8px;border:1px solid #ffffff55;background:#ffffff19;padding:7px 13px;border-radius:30px;font-size:11px;font-weight:800;letter-spacing:.09em}.thpa-hero h2,.thpa-panel h1{font-family:'Roboto Slab',Georgia,serif;line-height:1.18;margin:16px 0 10px}.thpa-hero h2{font-size:clamp(30px,3.4vw,46px);color:white}.thpa-hero h2 span{color:#99f8b4}.thpa-hero p{max-width:460px;font-size:16px;color:#fff}.thpa-values{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:24px}.thpa-values div{display:grid;justify-items:center;gap:5px;background:#ffffff16;border:1px solid #ffffff38;border-radius:13px;padding:12px 4px;font-size:13px}.thpa-values i{font-size:23px;color:#fff}.thpa-panel{padding:clamp(24px,4vw,48px);min-width:0;align-self:center}.thpa-panel-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.thpa-mark{width:54px;height:54px;display:grid;place-items:center;font-size:25px;color:#fff;border-radius:16px;background:linear-gradient(135deg,#0b3490,#00a53f);box-shadow:0 5px 15px #0b349029}.thpa-secure{color:#00763d;background:#e5f7ed;border-radius:30px;padding:6px 12px;font-size:12px;font-weight:700}.thpa-panel h1{color:#0b3490;font-size:clamp(26px,2.4vw,36px)}.thpa-intro{margin:0 0 22px;color:#526983}.thpa-form{display:grid;gap:15px}.thpa-field{min-width:0;display:grid;gap:6px}.thpa-field label{font-size:14px;font-weight:700;color:#173d76}.thpa-required{color:#910c00}.thpa-input-wrap{display:flex;align-items:center;gap:10px;padding:0 13px;background:#f2f6fc;border:1px solid #c9d9ed;border-radius:13px;min-height:49px;min-width:0}.thpa-input-wrap>i{color:#0b3490;font-size:18px}.thpa-input-wrap:focus-within{border-color:#00844a;box-shadow:0 0 0 3px #00a53f19;background:#fff}.thpa-input-wrap input{background:transparent;border:0;outline:none;min-width:0;width:100%;font:inherit;color:#142d4b;padding:12px 0}.thpa-input-wrap input:focus-visible{outline:none}.thpa-input-wrap input::placeholder{color:#697b93}.thpa-reveal{border:0;background:transparent;color:#0b3490;font-size:19px;padding:6px;cursor:pointer}.thpa-field small{font-size:12px;color:#526983}.thpa-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.thpa-options{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:13px;flex-wrap:wrap}.thpa-options label{display:flex;align-items:center;gap:6px}.thpa-options input{accent-color:#008b46;width:16px;height:16px}.thpa-note,.thpa-alert{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border-radius:12px;font-size:13px;background:#eaf5ef;color:#164b39}.thpa-alert{margin-bottom:16px}.thpa-alert.error{background:#fff0ee;color:#910c00;border:1px solid #f0c0b9}.thpa-alert ul{margin:4px 0 0;padding-left:18px}.thpa-input-wrap.invalid{border-color:#b93329}.thpa-field .thpa-field-error{color:#910c00}.thpa-submit{display:flex;justify-content:center;align-items:center;gap:10px;min-height:50px;padding:12px 18px;border:0;border-radius:13px;background:linear-gradient(105deg,#0b3490,#007b42);color:#fff;font:700 16px Inter,Arial,sans-serif;cursor:pointer;box-shadow:0 8px 20px #0b349024}.thpa-submit:hover{filter:brightness(1.1)}.thpa-bottom{text-align:center;font-size:14px;margin:22px 0 0;color:#526983}.thpa-or{text-align:center;color:#526983;font-size:13px}.thpa-footer{padding:22px 0;color:#526983;font-size:12px;flex-wrap:wrap}.thpa-footer nav{display:flex;gap:16px;flex-wrap:wrap}.thpa-skip{position:absolute;left:-9999px}.thpa-skip:focus{left:12px;top:12px;background:white;padding:12px;z-index:3}@media(max-width:850px){.thpa-shell{grid-template-columns:1fr;max-width:620px}.thpa-hero{min-height:240px;padding:24px;background-position:center 30%}.thpa-hero h2{font-size:30px}.thpa-hero p{font-size:14px;margin:6px 0}.thpa-values{margin-top:12px}.thpa-values div{padding:6px 3px}.thpa-values i{font-size:18px}.thpa-header img{width:190px;height:46px}.thpa-panel{padding:24px}.thpa-footer{justify-content:center;text-align:center}}@media(max-width:480px){.thpa-shell,.thpa-header,.thpa-footer{width:calc(100% - 24px)}.thpa-shell{border-radius:20px}.thpa-header{padding:12px 0}.thpa-header img{width:155px;height:40px}.thpa-home{font-size:12px;padding:8px 10px}.thpa-panel{padding:20px}.thpa-field-grid{grid-template-columns:1fr}.thpa-hero{padding:20px;min-height:220px}.thpa-hero h2{font-size:25px}.thpa-hero p{font-size:13px}.thpa-values div{font-size:11px}.thpa-footer nav{justify-content:center}}

/* Auth-only visual refinement: shared by all six authentication screens. */
.thpa-body{--auth-blue:#0b3490;--auth-green:#00a53f;--auth-ink:#142b49;background:radial-gradient(ellipse at 100% 0,#d4f5e6 0,transparent 48%),radial-gradient(ellipse at 0 40%,#dce9ff 0,transparent 48%),#f4f7fb;line-height:1.5}
.thpa-header,.thpa-shell,.thpa-footer{width:min(1140px,calc(100% - 48px))}
.thpa-header{padding:14px 0 20px}.thpa-header img{width:220px;height:48px}.thpa-home{border-radius:12px;padding:9px 15px;font-size:13px;box-shadow:0 3px 12px #0b34900a}.thpa-body .thpa-home:hover{background:#e6f7ed;text-decoration:none}
.thpa-shell{grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr);border-radius:26px;box-shadow:0 20px 65px #0b34901a;overflow:hidden}
.thpa-hero{isolation:isolate;min-height:540px;padding:30px;align-items:flex-end;overflow:hidden;background:linear-gradient(180deg,rgba(7,32,79,.04) 0%,rgba(11,52,144,.08) 24%,rgba(8,41,111,.92) 58%,#0b3490 76%,#007b42 100%),url('../settings/social/welcome-hospital.webp') 76% top/auto 68% no-repeat,#0b3490}
.thpa-hero:before{content:'';position:absolute;z-index:-1;inset:auto -15% -38% -20%;height:52%;border-radius:50%;background:linear-gradient(105deg,#087dbd55,#00a53f99);transform:rotate(-8deg);border-top:2px solid #a7f5d75e;pointer-events:none}
.thpa-hero:after{height:5px;background:linear-gradient(90deg,#16a9e4,#00a53f,#9ef3b9)}
.thpa-hero-copy{z-index:1}.thpa-eyebrow{font-size:10px;background:#ffffff21;backdrop-filter:blur(8px);padding:6px 11px}.thpa-hero h2{font-size:clamp(29px,3vw,40px);letter-spacing:-.035em;margin:12px 0 10px;line-height:1.15;text-wrap:balance}.thpa-hero h2 span{color:#a7fac2}.thpa-hero p{font-size:14px;line-height:1.65;margin:0;max-width:390px;color:#f0f7ff}.thpa-values{gap:8px;margin-top:20px}.thpa-values div{padding:9px 3px;border-radius:13px;background:#ffffff12;gap:6px;font-size:12px;backdrop-filter:blur(6px)}.thpa-values i{display:grid;place-items:center;width:35px;height:35px;border-radius:11px;font-size:19px;background:linear-gradient(135deg,#168bec,#0b3490);box-shadow:0 3px 9px #0002}.thpa-values div:nth-child(2) i{background:linear-gradient(135deg,#29c971,#00813b)}.thpa-values div:nth-child(3) i{background:linear-gradient(135deg,#a969e5,#6331b1)}.thpa-values div:nth-child(4) i{background:linear-gradient(135deg,#68cd35,#008747)}
.thpa-panel{padding:clamp(25px,3.5vw,44px);width:100%;align-self:center}.thpa-panel-top{margin-bottom:12px}.thpa-mark{height:49px;width:49px;border-radius:15px;background:linear-gradient(145deg,#0b3490,#087d80 65%,#00a53f);font-size:24px}.thpa-secure{font-size:11px;border:1px solid #ccebd9;display:inline-flex;align-items:center;gap:5px}.thpa-panel h1{font-size:clamp(27px,2.7vw,34px);margin:0 0 7px;letter-spacing:-.025em}.thpa-intro{font-size:14px;line-height:1.65;margin:0 0 20px;max-width:480px}
.thpa-form{gap:12px}.thpa-field{gap:5px;align-content:start}.thpa-field label{font-size:13px;line-height:1.5}.thpa-field-grid{align-items:start;gap:12px}.thpa-input-wrap{min-height:48px;background:linear-gradient(120deg,#f1f5fd,#f7fafc);padding:0 10px;gap:9px;border-radius:12px;border-color:#ceddf0;transition:background .18s,border-color .18s,box-shadow .18s}.thpa-input-wrap>i{display:grid;place-items:center;width:29px;height:29px;flex:0 0 29px;background:#e4edfb;border-radius:8px;font-size:16px;color:#0b3490}.thpa-input-wrap:focus-within>i{background:#dff5e8;color:#007b42}.thpa-input-wrap input{font-size:14px;padding:11px 0}.thpa-reveal{flex:none;display:grid;place-items:center;min-width:32px;min-height:36px;padding:4px;border-radius:9px;font-size:17px}.thpa-reveal:hover{background:#e4edfb}.thpa-field small{font-size:11px;line-height:1.5}.thpa-options{font-size:13px}.thpa-note,.thpa-alert{font-size:12px;border:1px solid #d1ecdf;background:linear-gradient(110deg,#edf8f2,#e5f5ec);padding:10px 12px}.thpa-note i,.thpa-alert i{flex:none;font-size:16px}.thpa-alert.error{background:#fff0ee;border-color:#f0c0b9}.thpa-submit{min-height:48px;border-radius:12px;background:linear-gradient(110deg,#0b3490 0%,#06627e 53%,#008b43 100%);font-size:15px;transition:transform .18s,box-shadow .18s,filter .18s}.thpa-submit:hover{transform:translateY(-1px);box-shadow:0 10px 24px #0b349035}.thpa-submit:active{transform:translateY(0)}.thpa-bottom{font-size:13px;margin:17px 0 0}.thpa-body .thpa-bottom a:hover,.thpa-body .thpa-options a:hover{color:#007c40;text-decoration:underline}.thpa-footer{font-size:12px;padding:18px 0}.thpa-footer nav{gap:14px}
@media(min-width:851px) and (max-width:1050px){.thpa-hero{padding:24px}.thpa-panel{padding:26px}.thpa-field-grid{grid-template-columns:1fr}.thpa-hero h2{font-size:32px}}
@media(min-width:851px) and (max-height:780px){.thpa-header{padding:10px 0 14px}.thpa-hero{min-height:510px}.thpa-panel{padding-top:24px;padding-bottom:24px}.thpa-footer{padding:12px 0}}
@media(max-width:850px){.thpa-header,.thpa-shell,.thpa-footer{width:min(620px,calc(100% - 28px))}.thpa-shell{grid-template-columns:1fr;margin:0 auto}.thpa-header{padding:12px 0}.thpa-header img{width:185px;height:43px}.thpa-hero{min-height:218px;padding:20px;background:linear-gradient(90deg,#0b3490fa 0%,#0b3490d9 42%,#0b349063 100%),url('../settings/social/welcome-hospital.webp') 78% 24%/cover no-repeat,#0b3490}.thpa-hero h2{font-size:29px;max-width:360px}.thpa-hero p{font-size:12px;max-width:330px}.thpa-values{margin-top:13px;max-width:370px}.thpa-values div{display:flex;justify-content:center;align-items:center;padding:6px 2px;font-size:10px;gap:4px}.thpa-values i{width:24px;height:24px;font-size:13px;border-radius:7px}.thpa-panel{padding:25px}.thpa-panel h1{font-size:29px}.thpa-footer{justify-content:center;text-align:center}}
@media(max-width:480px){.thpa-header img{width:155px;height:36px}.thpa-home{font-size:11px;padding:8px 10px}.thpa-shell{border-radius:19px}.thpa-hero{padding:16px;min-height:195px}.thpa-hero h2{font-size:24px;margin:9px 0 6px}.thpa-hero p{font-size:12px}.thpa-panel{padding:20px 16px}.thpa-panel h1{font-size:26px}.thpa-field-grid{grid-template-columns:1fr}.thpa-input-wrap input{font-size:16px}.thpa-footer{padding:14px 0}.thpa-values div{flex-direction:column}.thpa-secure{font-size:10px}}
@media(prefers-reduced-motion:reduce){.thpa-body *{transition:none!important;animation:none!important}}

/* Registration contact details; shared login layout is unchanged. */
.thpa-country-phone{display:grid;gap:12px}.thpa-country-phone [hidden]{display:none!important}.thpa-country-search{min-height:40px;margin-bottom:3px}.thpa-country-phone select{width:100%;min-width:0;border:0;background:transparent;color:#17314f;font:inherit;font-size:14px;min-height:46px;outline:none}.thpa-phone-wrap{padding-left:0;overflow:hidden;gap:12px}.thpa-dial{display:flex;align-items:center;align-self:stretch;padding:0 13px;background:linear-gradient(135deg,#dceffb,#d9f5e6);border-right:1px solid #c4e3df;color:#006d57;font-weight:800;font-size:14px;white-space:nowrap}.thpa-country-error{color:#a31122!important}.thpa-login-note{display:flex;align-items:center;gap:9px;padding:10px 12px;border:1px solid #cce8df;border-radius:10px;background:linear-gradient(110deg,#e9f4ff,#e6f7ed);color:#175c57;font-size:12px}.thpa-login-note i{font-size:17px;color:#008a43}.thpa-country-phone select:focus-visible{outline:2px solid #008a77;outline-offset:-2px}@media(max-width:480px){.thpa-country-phone select{font-size:16px}}

/* Searchable country picker - scoped to registration. */
.thpa-country-picker{position:relative;min-width:0}.thpa-country-picker button{font:inherit;cursor:pointer}.thpa-country-trigger{display:flex;align-items:center;gap:10px;width:100%;min-height:52px;text-align:left;padding:7px 12px;border:1px solid #cadbf0;border-radius:12px;background:linear-gradient(115deg,#f0f5fd,#f2faf7);color:#0b3490;transition:border-color .2s,box-shadow .2s}.thpa-country-trigger:hover,.thpa-country-trigger[aria-expanded=true]{border-color:#008a63;box-shadow:0 0 0 3px #00a53f18}.thpa-country-symbol,.thpa-country-option-flag{display:grid;place-items:center;flex:none;width:35px;height:35px;border-radius:9px;background:#e1f4ec;font-size:21px;color:#008a43}.thpa-country-choice{flex:1;min-width:0;font-weight:650;overflow-wrap:anywhere}.thpa-country-code,.thpa-country-option-code{flex:none;color:#087a59;background:#dff3e9;padding:4px 9px;border-radius:8px;font-weight:750;font-size:12px}.thpa-country-trigger>i{font-size:13px;transition:transform .2s}.thpa-country-trigger[aria-expanded=true]>i{transform:rotate(180deg)}.thpa-country-popup{position:absolute;z-index:30;top:calc(100% + 7px);left:0;right:0;min-width:0;padding:0 10px 8px;background:#fff;border:1px solid #bcd5ee;border-radius:15px;box-shadow:0 16px 40px #0b34902b;overflow:hidden}.thpa-country-popup-head{display:flex;align-items:center;justify-content:space-between;margin:0 -10px 10px;padding:10px 13px;background:linear-gradient(110deg,#0b3490,#087e78,#008a43);color:#fff;font-size:14px}.thpa-country-popup-head button{border:0;border-radius:8px;background:#ffffff25;color:#fff;width:32px;height:32px;display:grid;place-items:center}.thpa-country-popup .thpa-country-search{margin-bottom:7px;min-height:44px}.thpa-country-results{max-height:230px;max-height:min(230px,35dvh);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#9ebbd2 transparent;display:grid;gap:3px}.thpa-country-option{display:flex;align-items:center;gap:9px;border:1px solid transparent;border-radius:10px;padding:7px 8px;min-height:48px;cursor:pointer;color:#173d76;background:#f6f9fd}.thpa-country-option-flag{width:29px;height:29px;font-size:18px;background:#e8effa}.thpa-country-option-name{flex:1;min-width:0;font-size:13px;font-weight:600;overflow-wrap:anywhere}.thpa-country-option>i{font-size:12px;color:#7890b0}.thpa-country-option[aria-selected=true]{background:#e5f6ec;border-color:#b9e5cc}.thpa-country-option[aria-selected=true]>i{color:#008a43}.thpa-country-option:hover,.thpa-country-option.is-active{background:#e6f0ff;border-color:#95baf0}.thpa-country-count{padding:8px 5px 0;font-size:11px;color:#526983}.thpa-country-phone .thpa-dial{border-radius:11px 0 0 11px;background:linear-gradient(135deg,#e1efff,#d4f4e4)}@media(max-width:480px){.thpa-country-trigger{font-size:14px;gap:7px;padding:7px 9px}.thpa-country-popup .thpa-country-search input{font-size:16px}.thpa-country-option-name{font-size:13px}.thpa-country-option-code{padding:4px 6px}.thpa-country-results{max-height:200px;max-height:min(200px,32dvh)}}
