/* =====================================================
   WRK OTP Verify — Hi-Tech v3 (shared popup)
   Self-contained: mirrors live-actions-v3 so it renders
   correctly on fastsignupwrkr/wrkp + editprofile.
   ===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

#validatePhone.otp-verify{ --la-yellow:#FFF200; --la-border:#e4e4e4; --la-glow:rgba(255,242,0,.25); --la-soft:rgba(255,242,0,.08); --la-red:#e53935; }
#validatePhone.otp-verify .modal-content{ border-radius:14px !important; overflow:hidden; box-shadow:0 24px 80px rgba(0,0,0,.35),0 8px 24px rgba(0,0,0,.15) !important; border:none !important; }
#validatePhone.otp-verify .modal-body{ padding:0 !important; }

/* Header */
#validatePhone.otp-verify .approve-header{ background:linear-gradient(135deg,#FFF200 0%,#ffe600 60%,#ffd000 100%) !important; min-height:72px; display:flex; align-items:stretch; position:relative; padding:0; }
#validatePhone.otp-verify .approve-header .logo-left{ width:25%; min-width:74px; background:#fff; display:flex; align-items:center; justify-content:center; border-right:1px solid rgba(0,0,0,.12); padding:4px; float:none; }
#validatePhone.otp-verify .approve-header .logo-left img{ width:100%; height:auto; max-height:100%; display:block; object-fit:contain; }
#validatePhone.otp-verify .approve-header .right-heading{ width:auto; flex:1; display:flex; flex-direction:column; justify-content:center; padding:12px 16px; font-family:'Inter','Poppins',sans-serif; font-size:15px; line-height:1.4; color:#1a1a1a; float:none; }
#validatePhone.otp-verify .approve-header .right-heading strong{ color:#c00; }
#validatePhone.otp-verify .approve-header .otpv-close{ position:absolute; top:0; right:0; width:34px; height:34px; display:flex; align-items:center; justify-content:center; background:rgba(0,0,0,.06); color:#1a1a1a; border-radius:0 14px 0 6px; text-decoration:none; transition:.25s; z-index:3; }
#validatePhone.otp-verify .approve-header .otpv-close:hover{ background:#1a1a1a; color:#FFF200; }

/* Body */
#validatePhone.otp-verify .approve-modal-content{ padding:24px 22px; font-family:'Inter','Poppins',sans-serif; color:#1a1a1a; }
#validatePhone.otp-verify h5{ font-family:'Inter',sans-serif !important; font-size:16px !important; font-weight:700 !important; border-bottom:2px solid #FFF200 !important; padding-bottom:8px !important; margin:0 0 12px !important; display:inline-block; }
#validatePhone.otp-verify h6{ font-family:'Inter',sans-serif !important; font-size:13px !important; font-weight:500 !important; color:#666 !important; margin:0 0 16px !important; }

/* Code cells */
#validatePhone.otp-verify .otpv-row{ display:flex; gap:8px; justify-content:center; margin:6px 0; }
#validatePhone.otp-verify .otpv-cell{ width:44px; height:54px; border:1.5px solid var(--la-border); border-radius:8px; font-size:24px; font-weight:800; text-align:center; color:#1a1a1a; background:#fff; transition:.2s; font-family:'Inter',sans-serif; }
#validatePhone.otp-verify .otpv-cell:focus{ border-color:#FFF200; box-shadow:0 0 0 3px var(--la-glow); background:var(--la-soft); outline:none; }
#validatePhone.otp-verify .otpv-cell.filled{ border-color:#FFF200; background:var(--la-soft); }
#validatePhone.otp-verify .otpv-cell.err{ border-color:var(--la-red); box-shadow:0 0 0 3px rgba(229,57,53,.2); }

#validatePhone.otp-verify .otpv-status{ min-height:18px; font-size:13px; font-weight:600; color:var(--la-red); margin:10px 0 2px; }
#validatePhone.otp-verify .otpv-meta{ font-size:12px; color:#888; }
#validatePhone.otp-verify .otpv-meta a, #validatePhone.otp-verify #otpvResendWrap a{ color:#1a1a1a; font-weight:700; text-decoration:none; border-bottom:1.5px solid var(--la-border); cursor:pointer; }
#validatePhone.otp-verify .otpv-spin{ width:14px; height:14px; border:2px solid rgba(0,0,0,.15); border-top-color:#1a1a1a; border-radius:50%; display:inline-block; animation:otpvspin .7s linear infinite; vertical-align:-2px; margin-right:6px; }
@keyframes otpvspin{ to{ transform:rotate(360deg); } }

/* Verify button (hidden by default — auto-submit; shown as manual fallback) */
#validatePhone.otp-verify .otpv-verify-btn{ display:none; margin-top:16px; font-family:'Inter',sans-serif; font-size:14px; font-weight:700; text-transform:uppercase; letter-spacing:.3px; border-radius:30px; padding:10px 28px; background:#000; color:#FFF200; border:2px solid #000; cursor:pointer; transition:.2s; box-shadow:0 2px 8px rgba(0,0,0,.2); }
#validatePhone.otp-verify .otpv-verify-btn:hover{ transform:translateY(-1px); }
#validatePhone.otp-verify.show-verify .otpv-verify-btn{ display:inline-block; }

/* Success */
#validatePhone.otp-verify .otpv-check{ width:64px; height:64px; border-radius:50%; background:#43a047; display:inline-flex; align-items:center; justify-content:center; box-shadow:0 6px 18px rgba(67,160,71,.4); animation:otpvpop .35s cubic-bezier(.2,1.4,.4,1); }
#validatePhone.otp-verify .otpv-check i{ color:#fff; font-size:30px; }
@keyframes otpvpop{ from{ transform:scale(.3); opacity:0; } to{ transform:scale(1); opacity:1; } }
#validatePhone.otp-verify .otpv-sub{ color:#777; font-size:13px; margin:6px 0 16px; }
#validatePhone.otp-verify .otpv-done{ font-family:'Inter',sans-serif; font-size:14px; font-weight:700; text-transform:uppercase; border-radius:30px; padding:10px 28px; background:#FFF200; color:#1a1a1a; border:2px solid #1a1a1a; cursor:pointer; transition:.2s; }
#validatePhone.otp-verify .otpv-done:hover{ transform:translateY(-1px); }

#validatePhone.otp-verify .hide{ display:none !important; }

/* OTP trigger button — wide enough to hold "Send code & Verify" on one line (desktop + mobile) */
.send_code_fsignup{ white-space:nowrap !important; width:auto !important; min-width:210px; padding-left:26px !important; padding-right:26px !important; }
@media (max-width:767px){
  .send_code_fsignup{ display:inline-block; width:100% !important; min-width:0; box-sizing:border-box; }
}

@media (max-width:767px){
  #validatePhone.otp-verify .otpv-cell{ width:40px; height:50px; font-size:21px; }
  #validatePhone.otp-verify .approve-header .right-heading{ font-size:13px; }
}
