/* DHN portal sign-in + code (approved design 10). Loaded after dhn-ui.css and dhn-star.css. */
:root{--acc:#a9b6ff}
html,body{overflow-x:hidden}
body{min-height:100vh;display:grid;grid-template-columns:600px 1fr}
.dhn-credit{display:none}
.lat{font-feature-settings:"tnum";direction:ltr;unicode-bidi:isolate}

/* ── brand panel: logo / the star as an emblem / this system only ── */
.side{position:relative;overflow:hidden;color:#fff;padding:40px 52px 34px;display:grid;grid-template-rows:auto 1fr auto;
  background:radial-gradient(560px 460px at 0% 100%,rgba(51,202,198,.20),rgba(51,202,198,0) 70%),radial-gradient(520px 420px at 100% 0%,rgba(8,153,224,.30),rgba(8,153,224,0) 70%),linear-gradient(180deg,#24357d,#1e2c6a)}
.side>*:not(.dhn-motif){position:relative;z-index:1}
.side .dhn-motif .w1{stroke:rgba(255,255,255,.06)}.side .dhn-motif .w2{stroke:rgba(51,202,198,.09)}
.side .dhn-logo{height:54px;padding:0;justify-self:start}
.emb{display:grid;place-items:center;min-height:0}
.emb .lstar{position:relative;width:min(340px,100%);aspect-ratio:1;height:auto}
.eyebrow{display:flex;align-items:center;gap:14px;font-size:15px;font-weight:700;color:rgba(255,255,255,.72)}
.eyebrow::before{content:"";width:36px;height:2px;background:var(--acc)}
.side h1{margin:8px 0 8px;font-size:58px;font-weight:800;line-height:1.08}
.side p{margin:0;max-width:440px;color:rgba(255,255,255,.78);font-size:17px;font-weight:500;line-height:1.65}
.feats{list-style:none;margin:24px 0 8px;padding:0;display:grid;grid-template-columns:repeat(3,1fr)}
.feats li{padding-inline-end:16px;font-size:15px;font-weight:700;line-height:1.45;color:rgba(255,255,255,.92)}
.feats li+li{padding-inline-start:16px;border-inline-start:1px solid rgba(255,255,255,.16)}
.side p,.feats li{text-wrap:balance}
.feats li i{display:block;font-style:normal;font-size:13.5px;color:var(--acc);margin-bottom:4px}

/* ── form side (the card is approved: unchanged) ── */
.main{display:grid;grid-template-rows:58px 1fr auto;justify-items:center;padding:40px 48px 36px;background:radial-gradient(700px 520px at 50% 45%,#fff,rgba(255,255,255,0) 70%)}
.top,.box,.foot{width:100%;max-width:460px}
.top{display:flex;align-items:center;justify-content:flex-end;gap:10px;font-size:15px;font-weight:700}
.top a{display:inline-flex;align-items:center;gap:6px;color:var(--dhn-navy)}
.top a svg{width:18px;height:18px}
.top .back svg{transform:scaleX(-1)}
[dir=ltr] .top .back svg{transform:none}
.lang{display:inline-flex;height:36px;padding:3px;border-radius:10px;border:1px solid var(--dhn-border);background:#fff}
.lang button,.lang a{display:inline-flex;align-items:center;border:0;background:none;color:var(--dhn-muted);font:700 13.5px/1 var(--dhn-font);padding:0 12px;border-radius:7px;cursor:pointer;transition:background .25s,color .25s}
.lang button[aria-pressed="true"],.lang a[aria-current="true"]{background:var(--dhn-navy);color:#fff}
.center{width:100%;display:grid;place-items:center;padding-bottom:20px}
.box{background:#fff;border-radius:28px;box-shadow:var(--dhn-shadow-lg);border:1px solid rgba(41,59,133,.06);padding:32px 34px 28px;animation:dhn-up .7s cubic-bezier(.2,.8,.2,1) both}
@keyframes dhn-up{from{opacity:0;transform:translateY(16px)}}
.bh{display:flex;align-items:center;gap:14px;margin-bottom:24px}
.bh .dhn-tile{width:54px;height:54px;border-radius:16px}.bh .dhn-tile svg{width:26px;height:26px}
.bh h2{margin:0;font-size:26px;font-weight:800;line-height:1.25}
.bh .lead{color:var(--dhn-muted);font-size:15px;font-weight:500}
form{display:flex;flex-direction:column;gap:16px}
[dir=ltr] .dhn-input-ic svg{right:auto;left:16px}
[dir=ltr] .dhn-input-ic .dhn-input{padding-right:16px;padding-left:46px}
.foot{display:flex;flex-direction:column;align-items:center;text-align:center;gap:2px;padding-top:21px;font-size:14px;line-height:22px;color:#383e5c;font-weight:600}
.foot .nw,.foot bdi{white-space:nowrap}

/* Cloudflare Turnstile, light, 300×65: [checkbox + label] and [logo / wordmark / links] share the middle line, 16px padding both sides */
.ts{box-sizing:border-box;width:100%;height:65px;display:flex;align-items:center;justify-content:center;gap:28px;padding:0 16px;background:#fafafa;border:1px solid #e0e0e0;border-radius:4px;color:#232323;flex-shrink:0}
.ts .l{display:flex;align-items:center;gap:12px;height:28px}
.ts .cb{box-sizing:border-box;width:24px;height:24px;border:2px solid #626262;border-radius:3px;background:#fff;flex-shrink:0}
.ts .t{display:block;font-size:14px;font-weight:500;line-height:28px;height:28px;white-space:nowrap}
.ts .cf{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;direction:ltr;width:76px}
.ts .cf svg{width:38px;height:15px;display:block}
.ts .cf b{display:block;font-family:Arial,Helvetica,sans-serif;font-size:8px;font-weight:700;letter-spacing:.7px;line-height:8px;color:#232323}
.ts .cf small{display:block;font-size:9px;line-height:10px;color:#232323;white-space:nowrap}
[dir=rtl] .ts .cf small{direction:rtl}
.ts .cf small a{text-decoration:underline}

@media (prefers-reduced-motion:no-preference){
  .swap{transition:opacity .22s ease}
  body.fading .swap{opacity:0}
}
@media (prefers-reduced-motion:reduce){.box{animation:none}}
/* tablet (iPad portrait / landscape): the brand panel shares the width so the card is never cut */
@media (min-width:701px) and (max-width:1100px){
  body{grid-template-columns:minmax(300px,42%) minmax(0,1fr)}
  .side{padding:32px 32px 28px}
  .side .dhn-logo{height:46px}
  .side h1{font-size:42px}
  .side p{font-size:16px}
  .feats{grid-template-columns:1fr;gap:10px;margin-top:20px}
  .feats li,.feats li+li{padding:0;border:0;display:flex;align-items:baseline;gap:10px}
  .feats li i{display:inline;margin:0}
  .main{padding:32px 28px 28px}
  .box{padding:28px 26px 24px}
}
@media (max-width:700px){
  body{grid-template-columns:1fr;grid-template-rows:auto 1fr}
  .side{display:block;padding:16px 16px 40px}
  .side .dhn-logo{height:40px}
  .side .emb{position:absolute;inset:-60px auto auto -70px;width:220px;height:220px;opacity:.5;z-index:0}
  [dir=ltr] .side .emb{inset:-60px -70px auto auto}
  .emb .lstar{width:220px}
  .mid{margin-top:18px}
  .eyebrow{font-size:14px}
  .side h1{font-size:34px;margin:4px 0 0}
  .side p,.feats{display:none}
  .main{display:flex;flex-direction:column;padding:0 16px 18px;background:none}
  .top{order:3;margin-top:16px;justify-content:center;gap:18px}
  .center{place-items:start center}
  .box{margin-top:-22px;padding:22px 18px 20px;border-radius:24px}
  .bh{margin-bottom:18px}.bh .dhn-tile{width:46px;height:46px}.bh h2{font-size:22px}
  .foot{order:4;margin-top:12px;padding-top:0;flex-direction:column;align-items:center;gap:0}
}
/* step 2: the code */
.box .dhn-otp span{flex:1 1 0;width:auto}
.row2{display:flex;justify-content:space-between;align-items:center}
.back2{display:inline-flex;align-items:center;gap:6px;color:var(--dhn-navy);font-weight:700;font-size:15px;margin-bottom:14px;border:0;background:none;padding:0;font-family:inherit;cursor:pointer}
.back2 svg{width:18px;height:18px}
[dir=rtl] .back2 svg{transform:scaleX(-1)}
.sent{margin:-10px 0 18px;color:var(--dhn-muted);font-size:15px}
.mask{direction:ltr;unicode-bidi:isolate;font-weight:700;color:var(--dhn-text)}

/* ── built pages (login.php / otp_verify.php) ── */
.box form{gap:16px}
.box .dhn-alert{padding:12px 14px}
.box .dhn-alert svg{width:20px;height:20px;flex-shrink:0}
.dhn-alert.ok{background:var(--dhn-ok-bg);border-color:#a6dcb9;color:#0f4d2b}
.dhn-alert.ok svg{color:var(--dhn-ok)}
/* show / hide password: the end side, opposite the lock */
.pw .eye{position:absolute;top:50%;left:6px;transform:translateY(-50%);width:40px;height:40px;border:0;background:none;border-radius:10px;color:#9a9aa6;cursor:pointer;display:grid;place-items:center}
.pw .eye svg{position:static;transform:none;width:20px;height:20px}
.pw .eye[aria-pressed="true"]{color:var(--dhn-navy)}
.pw .dhn-input{padding-left:48px}
[dir=ltr] .pw .eye{left:auto;right:6px}
[dir=ltr] .pw .dhn-input{padding-right:48px}
/* the real Cloudflare widget, centred in its row */
.ts-real{display:flex;justify-content:center;min-height:65px}
.ts-real .cf-turnstile{width:100%;display:flex;justify-content:center}
/* the code: six real inputs in the approved boxes */
.otp-in input{flex:1 1 0;width:0;min-width:0;height:62px;border:1.5px solid var(--dhn-border);border-radius:var(--dhn-r);background:#fff;text-align:center;font:800 26px/1 var(--dhn-font);color:var(--dhn-text);padding:0}
.otp-in input:focus{outline:none;border-color:var(--dhn-navy);box-shadow:0 0 0 4px var(--dhn-navy-soft)}
a.back2{text-decoration:none}
.box form.row2{flex-direction:row;margin-top:14px;gap:10px}
.linkbtn{border:0;background:none;padding:0;font:700 14px var(--dhn-font);color:var(--dhn-navy);cursor:pointer;text-decoration:underline;text-underline-offset:3px}
[hidden]{display:none!important}
@media (max-width:700px){.otp-in{gap:8px}.otp-in input{height:54px;font-size:22px}}
/* phone: the note opens full width above the bottom bar, never off-screen */
@media (max-width:700px){.top{position:relative}.top .sup{position:static}.top .sup .pop{left:0;right:0;width:auto;max-width:none;top:auto;bottom:calc(100% + 8px)}}

/* ── support.php: the same card, wider, six short fields that fit one screen ── */
.main:has(.sd-form,.sd-done) :is(.top,.box,.foot){max-width:640px}
.box:has(.sd-form){padding:26px 30px 22px}
.box:has(.sd-form) .bh{margin-bottom:16px}
.sd-form{gap:12px}
.box form.sd-form{gap:12px}
.sd-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.sd-form .dhn-field{gap:6px;min-width:0}
.sd-form .dhn-field label small{font-weight:500;color:var(--dhn-muted);font-size:13px}
.sd-form .dhn-input{height:46px;font-size:16px}
.sd-form select.dhn-input{font:500 16px var(--dhn-font);color:var(--dhn-text);appearance:none;-webkit-appearance:none;cursor:pointer;padding-inline-end:40px;
  background:var(--dhn-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a9aa6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat;background-size:18px;background-position:left 14px center}
[dir=ltr] .sd-form select.dhn-input{background-position:right 14px center}
.sd-form textarea.dhn-input{height:auto;min-height:84px;padding:11px 16px;line-height:1.55;resize:vertical;font-family:inherit}
.sd-lbl{font-weight:700;font-size:var(--dhn-fs-sm)}
.sd-lbl small{font-weight:500;color:var(--dhn-muted);font-size:13px}
.sd-form .sd-file{position:relative;display:flex;align-items:center;gap:12px;padding:0 6px;cursor:pointer;font-size:14px;color:var(--dhn-muted)}
.sd-file input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}
.sd-file:focus-within{border-color:var(--dhn-navy);box-shadow:0 0 0 4px var(--dhn-navy-soft)}
.sd-pick{display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 14px;border-radius:10px;background:var(--dhn-navy-soft);color:var(--dhn-navy);font-weight:700;white-space:nowrap}
.sd-pick svg{width:17px;height:17px}
.sd-fname{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.feats li small{display:block;margin-top:2px;font-size:14px;font-weight:500;color:rgba(255,255,255,.72)}
.sd-form .dhn-btn svg{width:19px;height:19px}
[dir=rtl] .sd-form .dhn-btn svg{transform:scaleX(-1)}
.sd-form #contact::placeholder{direction:ltr}
.sd-done{display:flex;flex-direction:column;gap:14px}
.sd-done p{margin:0;color:var(--dhn-muted);font-size:16px}
.sd-no{font:800 34px/1.2 var(--dhn-font);letter-spacing:2px;color:var(--dhn-navy);text-align:center;padding:16px;border-radius:var(--dhn-r);background:var(--dhn-navy-soft);font-feature-settings:"tnum"}
.sd-done .sd-note{font-size:14px}
@media (max-width:700px){.sd-row{grid-template-columns:1fr}.box:has(.sd-form){padding:20px 16px 18px}}
