/* ==========================================================
   SSPKM – Boys / Girls registration form
   Layout and look stay as before (grey fieldset, white section boxes, red legend).
   This file only: tidies inputs + buttons, and makes the form mobile / tablet friendly.
   Scoped to form.contactForm, .overlay (preview) and .otp_page. No behaviour change.
   ========================================================== */

form.contactForm{ font-family:'Poppins','Segoe UI',Arial,sans-serif !important; }
form.contactForm label small{ font-family:inherit !important; }

/* ---------- same container (grey fieldset + white section boxes), just a more polished finish ---------- */
form.contactForm > fieldset{
    background:#f3f6fb !important; border:1px solid #d9e2ef !important; border-radius:12px !important; padding:14px 16px 6px !important;
}
form.contactForm > fieldset > legend{
    width:auto; margin-bottom:6px; padding:5px 16px !important; border:1px solid #d9e2ef !important; border-radius:8px !important;
    background:#fff; font-size:15px !important; font-weight:700; letter-spacing:.01em; color:#e5483a !important;
}
form.contactForm .secborder{
    background:#fff !important; border:1px solid #d9e2ef !important; border-radius:10px !important; padding:14px 8px 4px !important;
    box-shadow:0 1px 2px rgba(11,31,58,.04); transition:border-color .25s, box-shadow .25s !important;
}
form.contactForm .secborder:hover{ border-color:#7fa6d6 !important; box-shadow:0 4px 14px rgba(11,31,58,.07); background:#fff !important; }
form.contactForm .inner-legend{
    margin-left:14px !important; padding:4px 12px !important; border-radius:6px !important; font-size:12px !important; font-weight:600;
    letter-spacing:.06em; text-transform:uppercase; background:#2d5f9c !important; color:#fff !important;
}
form.contactForm .step-footer{ margin-top:4px; padding:14px 0 18px; }

/* ---------- step indicator (display only: clicks are disabled so nobody can skip the validation) ---------- */
form.contactForm .step-app > .step-steps{
    display:flex !important; gap:6px; margin:6px 0 20px !important; padding:0; list-style:none; pointer-events:none; counter-reset:stp; background:none; overflow:visible;
}
form.contactForm .step-app > .step-steps > li{
    flex:1 1 0; min-width:0; display:flex; flex-direction:column; align-items:center; gap:6px; padding:0 2px !important; position:relative;
    counter-increment:stp; background:none !important; border:0 !important; color:#8a99b3 !important; font-size:12.5px; font-weight:500; text-align:center; line-height:1.25;
}
form.contactForm .step-app > .step-steps > li::before{
    content:counter(stp); display:flex; align-items:center; justify-content:center; width:34px; height:34px; border-radius:50%; position:relative; z-index:1;
    font-size:14px; font-weight:700; color:#8a99b3; background:#fff; border:2px solid #cfd8e6; transition:all .3s;
}
form.contactForm .step-app > .step-steps > li::after{       /* line to the next step */
    content:""; position:absolute; top:16px; left:calc(50% + 22px); right:calc(-50% + 22px); height:2px; background:#cfd8e6;
}
form.contactForm .step-app > .step-steps > li:last-child::after{ display:none; }
form.contactForm .step-app > .step-steps > li.active{ color:#2d5f9c !important; font-weight:700; }
form.contactForm .step-app > .step-steps > li.active::before{ color:#fff; background:#f5702b; border-color:#f5702b; box-shadow:0 0 0 4px rgba(245,112,43,.18); }
form.contactForm .step-app > .step-steps > li.done{ color:#1a7a43 !important; }
form.contactForm .step-app > .step-steps > li.done::before{ content:"\2713"; color:#fff; background:#2fa464; border-color:#2fa464; }
form.contactForm .step-app > .step-steps > li.done::after{ background:#2fa464; }
form.contactForm .step-app > .step-steps > li.error{ color:#c0392b !important; }
form.contactForm .step-app > .step-steps > li.error::before{ content:"!"; color:#fff; background:#e5483a; border-color:#e5483a; }

/* ---------- fields: same layout, cleaner controls ---------- */
form.contactForm label{ font-weight:600; }
form.contactForm .form-control,
form.contactForm select.form-control{
    height:44px; border:1.5px solid #cfd8e6 !important; border-radius:10px !important; box-shadow:none !important; color:#1b2430;
    transition:border-color .2s, box-shadow .2s;
}
form.contactForm textarea.form-control{ height:auto; min-height:90px; border:1.5px solid #cfd8e6 !important; border-radius:10px !important; box-shadow:none !important; }
form.contactForm .form-control:focus{ border-color:#3a7cca !important; box-shadow:0 0 0 3px rgba(58,124,202,.18) !important; }
form.contactForm .form-control[disabled], form.contactForm .form-control[readonly]{ background:#eef2f7; }
form.contactForm input[type=file].form-control{ height:auto; padding:8px 10px; }
form.contactForm input[type=radio], form.contactForm input[type=checkbox]{ accent-color:#2d5f9c; }
form.contactForm .validation, form.contactForm .invalid-feedback{ font-size:12.5px; }
form.contactForm .more-btn, form.contactForm .remove_exam, form.contactForm .remove_company{ font-weight:600; }

/* ---------- Previous / Next / Finish ---------- */
form.contactForm .step-footer .step-btn{
    min-width:130px; height:44px; padding:0 24px !important; border:0 !important; border-radius:50px !important;
    font-weight:600; color:#fff !important; transition:transform .2s, box-shadow .2s !important;
}
form.contactForm .step-footer .step-btn:hover{ transform:translateY(-2px); }
form.contactForm .step-footer .btn-primary{ background:#2d5f9c !important; }
form.contactForm .step-footer .btn-warning{ background:linear-gradient(135deg,#f9583c,#f5702b) !important; box-shadow:0 8px 18px rgba(249,88,60,.3) !important; }
form.contactForm .step-footer .btn-success{ background:#2fa464 !important; box-shadow:0 8px 18px rgba(47,164,100,.3) !important; }

/* flash message above the form */
.form .alert{ border-radius:10px; }

/* ---------- preview / confirm screen + OTP screen (tidier, same flow) ---------- */
body .overlay .still_edit, body .overlay .confirm_submit{ min-width:140px; height:42px; border-radius:50px !important; font-weight:600; }
body .overlay .preview_tables td, body .overlay .preview_tables th{ overflow-wrap:anywhere; }
body .overlay img{ max-width:100%; height:auto; }
body .otp_page .centerit{ max-width:520px; margin:0 auto; }
body .otp_page input[type=text], body .otp_page input[type=number], body .otp_page input[type=tel]{ max-width:100%; }

/* ---------- tablet: 2 fields per row instead of one very wide column ---------- */
@media (min-width:768px) and (max-width:1199px){
    form.contactForm .form-group[class*='col-lg-1'], form.contactForm .form-group[class*='col-lg-2'], form.contactForm .form-group[class*='col-lg-3'],
    form.contactForm .form-group[class*='col-lg-4'], form.contactForm .form-group[class*='col-lg-5'], form.contactForm .form-group[class*='col-lg-6']{ width:50%; float:left; }
    form.contactForm .form-group[class*='col-lg-10'], form.contactForm .form-group[class*='col-lg-11'], form.contactForm .form-group[class*='col-lg-12'],
    form.contactForm .form-group[class*='col-lg-7'], form.contactForm .form-group[class*='col-lg-8'], form.contactForm .form-group[class*='col-lg-9']{ width:100%; float:left; }
}
@media (max-width:991px){
    /* the "add more / remove" buttons were pulled up with a negative margin for the wide layout */
    form.contactForm .more-btn, form.contactForm .remove_exam, form.contactForm .remove_company{ margin-top:6px !important; float:none !important; }
}

/* ---------- phone ---------- */
@media (max-width:767px){
    .form{ margin-top:16px !important; padding:0 6px; }
    form.contactForm > fieldset{ padding:8px !important; }
    form.contactForm > fieldset > legend{ font-size:15px !important; line-height:1.4; }
    form.contactForm .secborder{ padding:6px !important; margin-bottom:24px !important; }
    /* stepper on phones: numbers only (the current step is the orange one) */
    form.contactForm .step-app > .step-steps{ gap:2px; margin-bottom:16px !important; }
    form.contactForm .step-app > .step-steps > li{ font-size:0; gap:0; }
    form.contactForm .step-app > .step-steps > li::before{ width:30px; height:30px; font-size:13px; }
    form.contactForm .step-app > .step-steps > li::after{ top:14px; left:calc(50% + 18px); right:calc(-50% + 18px); }
    form.contactForm .row > .col, form.contactForm .row > [class*=col-]{ padding-left:6px !important; padding-right:6px !important; }
    form.contactForm .form-control, form.contactForm select.form-control{ height:48px; font-size:16px; }   /* 16px stops iOS zoom-on-focus */
    form.contactForm textarea.form-control{ font-size:16px; }
    form.contactForm .step-footer > .text-center{ display:flex; gap:10px; }
    form.contactForm .step-footer .step-btn{ flex:1 1 0; min-width:0; padding:0 10px !important; }
    body .overlay > .container{ padding:10px 6px 40px; }
    body .overlay .still_edit, body .overlay .confirm_submit{ width:calc(50% - 10px); min-width:0; padding:0 8px !important; }
    body .overlay .preview_tables{ width:100% !important; }
    body .overlay .preview_tables td, body .overlay .preview_tables th{ padding:7px 8px !important; font-size:13.5px !important; }
    body .overlay .col-md-2{ width:50%; float:left; margin:0 0 14px !important; }
    body .overlay .col-md-offset-1{ margin-left:0 !important; }
}

/* ---------- "before you start" guideline popup (modern-register.js) ---------- */
html.rg-lock, html.rg-lock body{ overflow:hidden !important; }
.rg-open{
    display:inline-flex; align-items:center; gap:8px; margin:0 0 10px; padding:8px 18px; border:1.5px solid #2d5f9c; border-radius:50px;
    background:#fff; color:#2d5f9c; font-size:13.5px; font-weight:600; cursor:pointer; transition:background .2s, color .2s;
}
.rg-open:hover{ background:#2d5f9c; color:#fff; }
.rg-modal{ position:fixed; top:0; right:0; bottom:0; left:0; z-index:9000; display:flex !important; align-items:center; justify-content:center; padding:16px; visibility:hidden; opacity:0; transition:opacity .3s, visibility 0s .3s; font-family:'Poppins','Segoe UI',Arial,sans-serif; }
.rg-modal.show{ visibility:visible; opacity:1; transition-delay:0s; }
.rg-backdrop{ position:absolute; top:0; right:0; bottom:0; left:0; background:rgba(8,20,40,.62); -webkit-backdrop-filter:blur(3px); backdrop-filter:blur(3px); }
.rg-box{
    position:relative; width:100%; max-width:640px; max-height:92vh; display:flex; flex-direction:column; background:#fff; border-radius:18px; overflow:hidden;
    box-shadow:0 30px 80px rgba(0,0,0,.4); transform:translateY(24px) scale(.97); transition:transform .4s cubic-bezier(.22,.8,.3,1);
}
.rg-modal.show .rg-box{ transform:none; }
.rg-x{ position:absolute; top:10px; right:12px; z-index:2; width:34px; height:34px; border:0; border-radius:50%; background:rgba(255,255,255,.18); color:#fff; font-size:22px; line-height:1; cursor:pointer; }
.rg-x:hover{ background:#f9583c; }
.rg-head{ display:flex; align-items:center; gap:14px; padding:20px 54px 18px 22px; color:#fff; background:linear-gradient(110deg,#0a1c33,#143f73 60%,#1f5ea8); border-bottom:4px solid #f9583c; }
.rg-ico{ flex:0 0 46px; width:46px; height:46px; display:flex; align-items:center; justify-content:center; border-radius:12px; background:rgba(255,255,255,.14); font-size:20px; }
.rg-head h3{ margin:0 0 2px; font-size:19px; font-weight:700; color:#fff; }
.rg-head p{ margin:0; font-size:13px; line-height:1.45; color:#c9d7ea; }
.rg-body{ padding:6px 22px 4px; overflow-y:auto; -webkit-overflow-scrolling:touch; }
.rg-sec{ margin:16px 0; }
.rg-sec h4{ margin:0 0 10px; font-size:15px; font-weight:700; color:#1b2430; }
.rg-sec h4 i{ margin-right:8px; color:#2d5f9c; }
.rg-tbl{ width:100%; border-collapse:separate; border-spacing:0; font-size:13.5px; border:1px solid #e4ebf5; border-radius:10px; overflow:hidden; }
.rg-tbl th{ padding:9px 12px; text-align:left; font-weight:600; color:#2d5f9c; background:#eef3fa; }
.rg-tbl td{ padding:9px 12px; border-top:1px solid #eef2f8; color:#3b4656; vertical-align:top; }
.rg-tbl td:nth-child(2), .rg-tbl td:nth-child(3), .rg-tbl th:nth-child(2), .rg-tbl th:nth-child(3){ white-space:nowrap; }
.rg-tbl small{ color:#667085; }
.rg-tip{ margin:10px 0 0; padding:10px 12px; border-radius:10px; background:#fff7e6; color:#7a4b00; font-size:13px; line-height:1.55; }
.rg-tip i{ margin-right:6px; color:#f59e0b; }
.rg-list{ margin:0; padding-left:20px; font-size:13.5px; line-height:1.7; color:#3b4656; }
.rg-list li{ margin-bottom:5px; }
.rg-warn{ padding:12px 14px; border-radius:12px; background:#fdecea; border:1px solid #f6c9c4; }
.rg-warn h4, .rg-warn h4 i{ color:#b42318; }
.rg-warn .rg-list{ color:#5c2a25; }
.rg-req{ color:#e5483a; font-weight:700; }
.rg-foot{ padding:14px 22px 18px; border-top:1px solid #e4ebf5; background:#f8fafd; text-align:center; }
.rg-go{ width:100%; max-width:380px; height:48px; padding:0 22px; border:0; border-radius:50px; font-size:15px; font-weight:600; color:#fff; cursor:pointer; background:linear-gradient(135deg,#f9583c,#f5702b); box-shadow:0 10px 22px rgba(249,88,60,.36); transition:transform .2s; }
.rg-go:hover{ transform:translateY(-2px); }
@media (max-width:767px){
    .rg-modal{ padding:0; align-items:flex-end; }
    .rg-box{ max-width:none; max-height:94vh; border-radius:20px 20px 0 0; transform:translateY(100%); }
    .rg-head{ padding:16px 50px 14px 16px; }
    .rg-head h3{ font-size:17px; }
    .rg-body{ padding:2px 16px; }
    .rg-tbl{ font-size:12.5px; }
    .rg-tbl th, .rg-tbl td{ padding:8px 9px; }
    .rg-foot{ padding:12px 16px calc(14px + env(safe-area-inset-bottom)); }
    .rg-go{ max-width:none; }
}
@media (prefers-reduced-motion:reduce){ .rg-box, .rg-modal{ transition:none; } }

/* simple numbered notice (replaces the table layout) */
.rg-lead{ margin:16px 0 12px; font-size:14px; line-height:1.6; color:#3b4656; }
.rg-num{ list-style:none; counter-reset:rgn; margin:0 0 14px; padding:0; }
.rg-num li{ counter-increment:rgn; position:relative; margin:0 0 10px; padding:11px 14px 11px 52px; border-radius:12px; background:#f6f9fd; border:1px solid #e4ebf5; font-size:13.5px; line-height:1.6; color:#3b4656; }
.rg-num li::before{ content:counter(rgn); position:absolute; left:13px; top:11px; width:26px; height:26px; border-radius:50%; background:#2d5f9c; color:#fff; font-size:13px; font-weight:700; text-align:center; line-height:26px; }
.rg-num li:nth-child(5){ background:#fdecea; border-color:#f6c9c4; color:#5c2a25; }
.rg-num li:nth-child(5)::before{ background:#d92d20; }
.rg-num b{ color:#1b2430; }
.rg-num li:nth-child(5) b{ color:#b42318; }
.rg-go{ max-width:200px; }

/* phone: centred card with margin on every side (not a bottom sheet), sized to the real visible screen */
@media (max-width:767px){
    .rg-modal{ align-items:center !important; justify-content:center !important; padding:14px !important; }
    .rg-box{
        width:100%; max-width:440px; max-height:calc(100vh - 28px); max-height:calc(100dvh - 28px);
        border-radius:18px !important; transform:translateY(18px) scale(.97) !important;
    }
    .rg-modal.show .rg-box{ transform:none !important; }
    .rg-foot{ padding:12px 16px 14px !important; }
    .rg-go{ max-width:none !important; width:100%; }
}

/* ---------- Select2 look (matches the other inputs) ---------- */
form.contactForm .select2-container{ width:100% !important; display:block; }
form.contactForm .select2-container .select2-selection--single{
    height:44px; border:1.5px solid #cfd8e6; border-radius:10px; background:#fff; outline:0; transition:border-color .2s, box-shadow .2s;
}
form.contactForm .select2-container--default .select2-selection--single .select2-selection__rendered{ line-height:41px; padding-left:14px; padding-right:34px; color:#1b2430; font-size:15px; }
form.contactForm .select2-container--default .select2-selection--single .select2-selection__placeholder{ color:#8a99b3; }
form.contactForm .select2-container--default .select2-selection--single .select2-selection__arrow{ height:42px; right:6px; }
form.contactForm .select2-container--default.select2-container--focus .select2-selection--single,
form.contactForm .select2-container--default.select2-container--open .select2-selection--single{ border-color:#3a7cca; box-shadow:0 0 0 3px rgba(58,124,202,.18); }
form.contactForm .select2-container--default.select2-container--disabled .select2-selection--single{ background:#eef2f7; }
.select2-dropdown{ border:1.5px solid #cfd8e6; border-radius:10px; overflow:hidden; box-shadow:0 14px 34px rgba(11,31,58,.18); z-index:9500; }
.select2-search--dropdown{ padding:8px; }
.select2-container--default .select2-search--dropdown .select2-search__field{ height:40px; padding:0 12px; border:1.5px solid #cfd8e6; border-radius:8px; outline:0; font-size:15px; }
.select2-container--default .select2-search--dropdown .select2-search__field:focus{ border-color:#3a7cca; }
.select2-results__option{ padding:10px 14px; font-size:14.5px; }
.select2-container--default .select2-results__option--highlighted[aria-selected]{ background:#2d5f9c; }
.select2-container--default .select2-results__option[aria-selected=true]{ background:#e8f0fb; color:#1b2430; }
.select2-results > .select2-results__options{ max-height:260px; }
@media (max-width:767px){
    form.contactForm .select2-container .select2-selection--single{ height:48px; }
    form.contactForm .select2-container--default .select2-selection--single .select2-selection__rendered{ line-height:45px; font-size:16px; }
    form.contactForm .select2-container--default .select2-selection--single .select2-selection__arrow{ height:46px; }
    .select2-container--default .select2-search--dropdown .select2-search__field{ font-size:16px; }   /* no iOS zoom */
    .select2-results__option{ padding:12px 14px; font-size:15px; }
}

/* ---------- preview / confirm screen v2 ---------- */
html.pv-lock, html.pv-lock body{ overflow:hidden !important; }
body .overlay{ z-index:9600 !important; overflow-y:auto; -webkit-overflow-scrolling:touch; overscroll-behavior:contain; }   /* above the site header, own single scrollbar */
body .overlay > .container{ max-width:1000px; padding:0 14px 50px; }
body .overlay > .container::before{
    content:"Please check your details"; display:block; margin:0 -14px; padding:18px 20px 4px; text-align:center;
    font-size:20px; font-weight:700; color:#1b2430; background:#f4f7fb;
}
/* buttons stay visible at the top while scrolling */
body .overlay > .container > .row:first-child{ position:sticky; top:0; z-index:5; margin:0 -14px 14px !important; padding:10px 14px 4px; background:#f4f7fb; border-bottom:1px solid #e4ebf5; }
body .overlay .still_edit, body .overlay .confirm_submit{ margin:4px 6px 8px; }

/* the two data tables: label | value */
body .overlay .preview_tables{ width:100% !important; margin:0 0 14px !important; background:#fff; }
body .overlay .preview_tables td, body .overlay .preview_tables th{ padding:10px 14px !important; font-size:14px !important; vertical-align:top; line-height:1.5; }
body .overlay .preview_tables td:nth-child(odd){ width:42%; color:#667085; font-weight:500 !important; }
body .overlay .preview_tables td:nth-child(even){ color:#1b2430; font-weight:600 !important; }
body .overlay .row[style*="background-color:#f5f5f5"]{ margin:0 0 18px !important; padding:6px 4px 12px !important; }
body .overlay .row[style*="background-color:#f5f5f5"] > [class*='col-md-6']{ margin-bottom:6px; }
body .overlay h4.text-center{ margin:16px 0 12px; font-size:17px; }
body .overlay h5{ margin:6px 0 8px; font-size:13px; letter-spacing:.1em; text-align:center; }

/* uploaded documents: tidy cards */
body .overlay .row.text-center[style*="margin-bottom:20px"]{ display:flex; flex-wrap:wrap; justify-content:center; gap:14px; margin:0 !important; }
body .overlay .row.text-center[style*="margin-bottom:20px"] > [class*='col-md-']{
    float:none; width:calc(33.333% - 14px); min-width:150px; margin:0 !important; padding:14px 10px; background:#fff; border:1px solid #e4ebf5; border-radius:14px; box-shadow:0 6px 18px rgba(11,31,58,.07);
}
body .overlay .row.text-center[style*="margin-bottom:20px"] img{ width:auto !important; max-width:100%; max-height:150px; object-fit:contain; }
body .overlay .row.text-center[style*="margin-bottom:20px"] small{ margin-top:8px; font-size:12.5px; font-weight:600; color:#667085; }

@media (max-width:767px){
    body .overlay > .container::before{ font-size:17px; padding-top:14px; }
    body .overlay .preview_tables td, body .overlay .preview_tables th{ padding:8px 10px !important; font-size:13px !important; }
    body .overlay .preview_tables td:nth-child(odd){ width:44%; }
    body .overlay .row.text-center[style*="margin-bottom:20px"] > [class*='col-md-']{ width:calc(50% - 14px); min-width:0; float:none !important; margin-left:0 !important; }
}

/* preview: remove the old black 5px frame, restyle the two buttons */
body .overlay{ border:0 !important; padding:0 !important; background:#f4f7fb !important; }
body .overlay .still_edit, body .overlay .confirm_submit{
    min-width:150px; height:44px; border:0 !important; border-radius:50px !important; font-weight:600; letter-spacing:.03em; color:#fff !important;
    box-shadow:0 8px 18px rgba(0,0,0,.18) !important; cursor:pointer; transition:transform .2s;
}
body .overlay .still_edit{ background:#2d5f9c !important; }
body .overlay .confirm_submit{ background:linear-gradient(135deg,#2fa464,#1f8a50) !important; }
body .overlay .still_edit:hover, body .overlay .confirm_submit:hover{ transform:translateY(-2px); }

/* Rows as flex: a taller column (e.g. one showing a validation message) no longer pushes the next column down. */
form.contactForm .row{ display:flex; flex-wrap:wrap; align-items:flex-start; }
form.contactForm .row::before, form.contactForm .row::after{ display:none !important; content:none !important; }
form.contactForm .row > [class*='col-']{ float:none; }
form.contactForm .row > .secborder, form.contactForm .row > .row, form.contactForm .row > .inner-legend{ flex:0 0 auto; }
form.contactForm .secborder{ width:100%; }
form.contactForm .row > .col-lg-12, form.contactForm .row > .col-md-12, form.contactForm .row > .col-sm-12, form.contactForm .row > .col-xs-12{ width:100%; }

/* flex children with no bootstrap width (screen narrower than the col-lg range) must be full width, not shrink to their content.
   :where() has zero specificity, so every real .col-* width still wins where it applies. */
:where(form.contactForm .row) > :where([class*='col-']){ width:100%; min-width:0; }

/* a row nested inside a flex row is a block-level section: it must take the full line (not shrink to its content) */
form.contactForm .row > .row{ flex:0 0 100% !important; width:100% !important; max-width:100%; }
form.contactForm .row > .inner-legend{ flex:0 0 auto; }

/* ---------- OTP verification screen ---------- */
body .otp_page{ display:none; align-items:center; justify-content:center; padding:16px !important; z-index:10050 !important; }
body .otp_page[style*="display: block"]{ display:flex !important; }
body .otp_page .otp-card{
    width:100%; max-width:420px; margin:0 auto; padding:34px 28px 24px; text-align:center; background:#fff; border-radius:22px; box-shadow:0 30px 70px rgba(0,0,0,.4);
    animation:otpIn .5s cubic-bezier(.22,.8,.3,1) both; font-family:'Poppins','Segoe UI',Arial,sans-serif; color:#1b2430;
}
@keyframes otpIn{ from{ opacity:0; transform:translateY(24px) scale(.96); } to{ opacity:1; transform:none; } }
.otp-ico{ width:68px; height:68px; margin:0 auto 14px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:28px; color:#fff; background:linear-gradient(135deg,#3a7cca,#2d5f9c); box-shadow:0 12px 26px rgba(45,95,156,.38), 0 0 0 8px rgba(58,124,202,.12); }
.otp-card h3{ margin:0 0 6px; font-size:22px; font-weight:700; }
.otp-sub{ margin:0 0 14px; font-size:14px; line-height:1.6; color:#667085; }
.otp-to{ display:flex; flex-direction:column; gap:6px; margin:0 0 18px; padding:10px 12px; border-radius:12px; background:#f4f7fb; font-size:13.5px; color:#3b4656; }
.otp-to i{ margin-right:6px; color:#f5702b; }
.otp-to b{ font-weight:600; word-break:break-all; }
body .otp_page input.otp-input{
    display:block; width:100%; max-width:240px; height:58px; margin:0 auto 10px; text-align:center; font-size:28px; font-weight:700; letter-spacing:.5em; text-indent:.5em;
    border:2px solid #cfd8e6; border-radius:14px; outline:0; transition:border-color .2s, box-shadow .2s; -moz-appearance:textfield;
}
body .otp_page input.otp-input::-webkit-outer-spin-button, body .otp_page input.otp-input::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }
body .otp_page input.otp-input:focus{ border-color:#3a7cca; box-shadow:0 0 0 4px rgba(58,124,202,.16); }
.otp-note{ margin:0 0 16px; font-size:12.5px; line-height:1.6; color:#8a99b3; }
body .otp_page button.otp-verify{
    width:100%; max-width:300px; height:50px; margin:0 auto; border:0; border-radius:50px; font-size:16px; font-weight:600; color:#fff; cursor:pointer;
    background:linear-gradient(135deg,#f9583c,#f5702b); box-shadow:0 12px 26px rgba(249,88,60,.38); transition:transform .2s, opacity .2s;
}
body .otp_page button.otp-verify:hover{ transform:translateY(-2px); }
body .otp_page button[disabled]{ opacity:.55; cursor:wait; transform:none !important; }
.otp-links{ display:flex; justify-content:center; gap:22px; margin-top:16px; }
body .otp_page button.otp-link{ min-width:0; height:auto; margin:0; padding:4px 2px; border:0; border-radius:0; background:none; box-shadow:none; color:#2d5f9c; font-size:14px; font-weight:600; cursor:pointer; }
body .otp_page button.otp-link:hover{ color:#f9583c; }
body .otp_page button.otp-link[disabled]{ color:#8a99b3; cursor:not-allowed; }
@media (max-width:480px){ body .otp_page .otp-card{ padding:28px 18px 20px; } .otp-ico{ width:60px; height:60px; font-size:24px; } }
