/* The code pages (task_92; task_278 the text message's page): one centred card, the platform's or the company's colours. */
*{box-sizing:border-box}
html,body{margin:0}
body{font:16px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,"Noto Sans Arabic","Noto Sans",sans-serif;color:#1f2933;background:#f3f4f6}
.ov{--p:#1F3F77;--ps:#E3F4F0;--line:#d9dee5;--mut:#52606d;min-height:100vh;display:flex;align-items:flex-start;justify-content:center;padding:6vh 16px 40px;background:linear-gradient(180deg,var(--ps) 0,#f3f4f6 320px)}
.ov-card{margin-block:auto;width:100%;max-width:460px;background:#fff;border-radius:20px;box-shadow:0 10px 30px rgba(15,23,42,.10),0 1px 3px rgba(15,23,42,.06);padding:28px 28px 22px;display:flex;flex-direction:column;gap:14px;border-top:6px solid var(--p)}
.ov-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ov-brand{display:flex;align-items:center;gap:10px;min-width:0}
.ov-logo{width:44px;height:44px;border-radius:12px;background:var(--ps);display:inline-flex;align-items:center;justify-content:center;overflow:hidden;flex:none}
.ov-logo img{max-width:100%;max-height:100%;object-fit:contain}
.ov-ini{font-weight:800;color:var(--p)}
.ov-name{font-size:16px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ov-lang{position:relative;flex:none}
.ov-lang summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 12px;border:1.5px solid var(--line);border-radius:999px;font-size:14px;font-weight:700}
.ov-lang summary::-webkit-details-marker{display:none}
.ov-lang summary svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}
.ov-lang summary:focus-visible,.ov-link:focus-visible,.ov-btn:focus-visible,.ov-inp:focus-visible,.ov-code:focus-visible,.ov-lang a:focus-visible{outline:3px solid var(--p);outline-offset:2px}
.ov-lang ul{position:absolute;inset-inline-end:0;top:calc(100% + 6px);z-index:5;margin:0;padding:6px;list-style:none;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 10px 24px rgba(15,23,42,.12);min-width:160px}
.ov-lang a{display:block;padding:10px 12px;border-radius:10px;color:inherit;text-decoration:none;font-weight:600}
.ov-lang a:hover{background:var(--ps)}
.ov-lang a.on{background:var(--ps);color:var(--p);font-weight:800}
.ov h1{margin:6px 0 0;font-size:26px;line-height:1.2;font-weight:800}
.ov h2{margin:0;font-size:17px;font-weight:800}
.ov-sub{margin:0;color:var(--mut)}
.ov-sent{margin:0;display:flex;gap:10px;align-items:flex-start;font-weight:600}
.ov-ic{width:34px;height:34px;flex:none;border-radius:10px;background:var(--ps);display:inline-flex;align-items:center;justify-content:center}
.ov-ic svg,.ov-done svg{width:20px;height:20px;fill:none;stroke:var(--p);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ov-form{display:flex;flex-direction:column;gap:8px;margin:0}
.ov-lb{font-weight:700;font-size:14px}
.ov-inp{width:100%;min-height:48px;border:1.5px solid var(--line);border-radius:14px;padding:10px 14px;font:inherit;font-size:16px;background:#fff;color:inherit}
.ov-area{min-height:130px;resize:vertical}
.ov-code{width:100%;min-height:58px;border:2px solid var(--line);border-radius:16px;padding:8px 14px;font:inherit;font-size:28px;font-weight:800;letter-spacing:10px;text-align:center;font-variant-numeric:tabular-nums}
.ov-code[aria-invalid=true],.ov-inp[aria-invalid=true]{border-color:#B42318}
.ov-btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 20px;border:0;border-radius:14px;background:var(--p);color:#fff;font:inherit;font-size:16px;font-weight:800;cursor:pointer;text-decoration:none;text-align:center}
.ov-btn.line{background:#fff;color:var(--p);border:2px solid var(--p)}
.ov-btn[disabled]{opacity:.5;cursor:not-allowed}
.ov-row{margin:0}
.ov-link{background:none;border:0;padding:6px 0;min-height:40px;font:inherit;font-size:15px;font-weight:700;color:var(--p);cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.ov-link[disabled]{color:var(--mut);cursor:not-allowed;text-decoration:none}
.ov-muted{color:var(--mut)}
.ov-red{color:#B42318}
.ov-s{margin:0;font-size:14px;color:var(--mut)}
.ov-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;border-top:1px solid var(--line);padding-top:10px;margin-top:4px}
.ov-banner{margin:0;padding:12px 14px;border-radius:14px;font-size:15px;font-weight:600}
.ov-banner.err{background:#FEF3F2;color:#912018;border:1px solid #FECDCA}
.ov-banner.ok{background:#ECFDF3;color:#05603A;border:1px solid #ABEFC6}
.ov-banner.info{background:#EFF8FF;color:#175CD3;border:1px solid #B2DDFF}
.ov-done{width:56px;height:56px;border-radius:50%;background:var(--ps);display:inline-flex;align-items:center;justify-content:center}
.ov-done svg{width:30px;height:30px}
.ov-sec{border:1px solid var(--line);border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:10px}
.ov-sec-h{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.ov-st{display:inline-flex;align-items:center;padding:2px 10px;border-radius:999px;font-size:13px;font-weight:800}
.ov-st.ok{background:#ECFDF3;color:#05603A}
.ov-st.warn{background:#FFFAEB;color:#93370D}
.ov-val{margin:0;font-weight:800;overflow-wrap:anywhere}
.ov-radio{display:flex;align-items:center;gap:10px;min-height:40px;font-weight:600}
.ov-radio input{width:20px;height:20px}
.ov-inline{border-top:1px dashed var(--line);padding-top:10px}
/* task_278: the text message's page (Firebase): what is not for now stays hidden; reCAPTCHA's badge in the card */
.ov [hidden]{display:none !important}
.ov-fb{display:flex;flex-direction:column;gap:10px}
.ov-fb-status:empty{display:none}
.ov-fb-number{border:1px solid var(--line);border-radius:16px;padding:14px}
.ov-recaptcha{display:flex;justify-content:center;max-width:100%;overflow:hidden}
.ov-recaptcha:empty{display:none}
.ov-hp{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
@media (max-width: 520px){
  .ov{padding:0;background:#fff}
  .ov-card{max-width:none;min-height:100vh;border-radius:0;box-shadow:none;padding:20px 16px 24px}
  .ov h1{font-size:23px}
  .ov-name{max-width:46vw}
}
