/* Gerald OTP Popup — Frontend CSS */
:root{--gerald-otp2025-bg:#C9971C;--gop-radius:20px}

/* ═══ NUCLEAR SCROLLBAR HIDE — when popup is open, hide EVERY scrollbar ═══ */
html:has(.gerald-otp2025-overlay:not([style*="display:none"])),
body:has(.gerald-otp2025-overlay:not([style*="display:none"])){
  overflow:hidden !important;
  scrollbar-width:none !important;
  -ms-overflow-style:none !important;
  scrollbar-gutter:auto !important;
}
html:has(.gerald-otp2025-overlay:not([style*="display:none"]))::-webkit-scrollbar,
body:has(.gerald-otp2025-overlay:not([style*="display:none"]))::-webkit-scrollbar{
  width:0 !important;height:0 !important;display:none !important
}

/* Overlay is the scroll container — scrollbar completely hidden */
.gerald-otp2025-overlay{
  position:fixed;inset:0;background:rgba(0,0,0,.6);
  display:flex;align-items:flex-start;justify-content:center;
  z-index:999999;padding:2rem 1rem;animation:gopFadeIn .25s ease;
  overflow-y:auto !important;overflow-x:hidden !important;
  scrollbar-width:none !important;
  scrollbar-color:transparent transparent !important;
  -ms-overflow-style:none !important;
}
.gerald-otp2025-overlay::-webkit-scrollbar,
.gerald-otp2025-overlay::-webkit-scrollbar-track,
.gerald-otp2025-overlay::-webkit-scrollbar-thumb,
.gerald-otp2025-overlay::-webkit-scrollbar-button,
.gerald-otp2025-overlay::-webkit-scrollbar-corner{
  width:0 !important;height:0 !important;
  display:none !important;
  background:transparent !important;
  -webkit-appearance:none !important;
  appearance:none !important;
  border:none !important;
}
@keyframes gopFadeIn{from{opacity:0}to{opacity:1}}

/* Popup never scrolls — content just expands, overlay handles it */
.gerald-otp2025-popup{
  background:var(--gerald-otp2025-bg);border-radius:var(--gop-radius);
  padding:2.5rem;max-width:740px;width:100%;position:relative;
  animation:gopSlideUp .3s ease;margin:auto;
  max-height:none !important;overflow:visible !important;
  scrollbar-width:none !important;
  scrollbar-color:transparent transparent !important;
  -ms-overflow-style:none !important;
}
.gerald-otp2025-popup::-webkit-scrollbar,
.gerald-otp2025-popup *::-webkit-scrollbar,
.gerald-otp2025-popup::-webkit-scrollbar-track,
.gerald-otp2025-popup::-webkit-scrollbar-thumb,
.gerald-otp2025-popup::-webkit-scrollbar-corner{
  width:0 !important;height:0 !important;
  display:none !important;
  background:transparent !important;
  -webkit-appearance:none !important;
}

.gerald-otp2025-inline-wrap{
  scrollbar-width:none !important;
  scrollbar-color:transparent transparent !important;
  -ms-overflow-style:none !important;
}
.gerald-otp2025-inline-wrap::-webkit-scrollbar{
  width:0 !important;height:0 !important;display:none !important
}
@keyframes gopSlideUp{from{transform:translateY(24px);opacity:0}to{transform:translateY(0);opacity:1}}

.gerald-otp2025-close{position:absolute;top:14px;right:14px;background:rgba(255,255,255,.92);border:none;border-radius:8px;width:32px;height:32px;font-size:17px;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#333;font-weight:700;transition:.15s;line-height:1;z-index:10}
.gerald-otp2025-close:hover{background:#fff;transform:scale(1.08)}

/* Step indicator */
.gerald-otp2025-steps{display:flex;align-items:center;margin-bottom:1.8rem}
.gerald-otp2025-step-col{display:flex;flex-direction:column;align-items:center}
.gerald-otp2025-dot{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;flex-shrink:0;transition:.3s}
.gerald-otp2025-dot-active{background:#fff;color:#8B6914}
.gerald-otp2025-dot-done{background:rgba(255,255,255,.35);color:#fff}
.gerald-otp2025-dot-inactive{background:rgba(255,255,255,.18);color:rgba(255,255,255,.45)}
.gerald-otp2025-step-lbl{font-size:11px;color:rgba(255,255,255,.75);margin-top:5px;white-space:nowrap}
.gerald-otp2025-step-line{flex:1;height:2px;background:rgba(255,255,255,.22);margin:0 4px;margin-bottom:18px;transition:.3s}
.gerald-otp2025-step-line.gerald-otp2025-line-done{background:rgba(255,255,255,.65)}

/* Typography */
.gerald-otp2025-tag{color:rgba(255,255,255,.88);font-size:12px;letter-spacing:3px;font-weight:700;margin-bottom:6px}
.gerald-otp2025-heading{color:#fff;font-size:26px;font-weight:700;line-height:1.35;margin-bottom:1.8rem}

/* ═══ CHOICE CARDS ═══ */
.gerald-otp2025-choice-grid{display:grid !important;grid-template-columns:1fr !important;gap:14px !important;margin-top:.6rem !important}

button.gerald-otp2025-choice-card,
.gerald-otp2025-choice-card{
  display:flex !important;align-items:center !important;gap:16px !important;
  background:#fff !important;color:#2c2c2c !important;
  border:none !important;outline:none !important;border-radius:14px !important;
  padding:20px 22px !important;cursor:pointer !important;text-align:left !important;
  text-transform:none !important;letter-spacing:normal !important;
  font-family:inherit !important;font-size:inherit !important;width:100% !important;
  box-shadow:0 4px 16px rgba(0,0,0,.08) !important;
  transition:transform .18s, box-shadow .18s !important;
  -webkit-appearance:none !important;appearance:none !important;
  box-sizing:border-box !important;min-height:unset !important;height:auto !important;
}
button.gerald-otp2025-choice-card:hover,
.gerald-otp2025-choice-card:hover{
  transform:translateY(-2px) !important;
  box-shadow:0 8px 24px rgba(0,0,0,.18) !important;
  background:#fff !important;color:#2c2c2c !important;border:none !important;
}
button.gerald-otp2025-choice-card:focus,
.gerald-otp2025-choice-card:focus{
  border:none !important;outline:none !important;
  background:#fff !important;color:#2c2c2c !important;
}
.gerald-otp2025-choice-card:active{transform:translateY(0) !important}

.gerald-otp2025-choice-icon{
  font-size:30px !important;line-height:1 !important;flex-shrink:0 !important;
  width:56px !important;height:56px !important;min-width:56px !important;
  border-radius:12px !important;background:rgba(201,151,28,.14) !important;
  display:flex !important;align-items:center !important;justify-content:center !important;
  text-align:center !important;padding:0 !important;margin:0 !important;
}
.gerald-otp2025-choice-body{flex:1 !important;min-width:0 !important;text-align:left !important;padding:0 !important;margin:0 !important}
.gerald-otp2025-choice-title{font-size:17px !important;font-weight:700 !important;margin:0 0 4px 0 !important;padding:0 !important;color:#1a1a1a !important;line-height:1.3 !important;text-align:left !important}
.gerald-otp2025-choice-desc{font-size:13px !important;color:#666 !important;line-height:1.45 !important;font-weight:400 !important;margin:0 !important;padding:0 !important;text-align:left !important}
.gerald-otp2025-choice-arrow{font-size:22px !important;color:#8B6914 !important;flex-shrink:0 !important;font-weight:700 !important;transition:transform .18s !important;margin:0 !important;padding:0 !important}
.gerald-otp2025-choice-card:hover .gerald-otp2025-choice-arrow{transform:translateX(4px) !important}

@media(max-width:540px){
  .gerald-otp2025-choice-card{padding:16px 14px !important;gap:12px !important}
  .gerald-otp2025-choice-icon{width:46px !important;height:46px !important;min-width:46px !important;font-size:24px !important}
  .gerald-otp2025-choice-title{font-size:15px !important}
  .gerald-otp2025-choice-desc{font-size:12px !important}
}

/* Fields grid */
.gerald-otp2025-fields-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}
.gerald-otp2025-full{grid-column:1/-1}
.gerald-otp2025-half{}
.gerald-otp2025-field-wrap{position:relative}

.gerald-otp2025-inp{width:100% !important;height:52px !important;min-height:52px !important;max-height:52px !important;padding:0 18px !important;border-radius:10px;border:2px solid transparent;font-size:15px;background:#fff;color:#222;outline:none;transition:border .2s;font-family:inherit;appearance:none;-webkit-appearance:none;box-sizing:border-box !important;line-height:52px !important;vertical-align:middle}
.gerald-otp2025-inp:focus{border-color:#8B6914}
.gerald-otp2025-inp::placeholder{color:#aaa}
textarea.gerald-otp2025-inp{resize:vertical;min-height:80px;height:auto !important;max-height:none !important;line-height:1.5 !important;padding:14px 18px !important}
select.gerald-otp2025-inp{cursor:pointer;padding-right:38px !important;padding-top:0 !important;padding-bottom:0 !important}
.gerald-otp2025-select-arrow{position:absolute;right:14px;top:50%;transform:translateY(-50%);pointer-events:none;color:#aaa;font-size:11px}

/* reCAPTCHA real */
.gerald-otp2025-recaptcha-wrap{margin-bottom:14px}

/* Fake captcha */
.gerald-otp2025-captcha-fake{background:#fff;border-radius:10px;padding:14px 18px;display:flex;align-items:center;gap:14px;max-width:285px;cursor:pointer;border:2px solid transparent;transition:border .2s;margin-bottom:14px;user-select:none}
.gerald-otp2025-captcha-fake:hover{border-color:#8B6914}
.gerald-otp2025-cb{width:22px;height:22px;border:2px solid #bbb;border-radius:4px;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:.2s}
.gerald-otp2025-cb.checked{background:#27ae60;border-color:#27ae60}
.gerald-otp2025-cb-text{font-size:14px;color:#444;flex:1}
.gerald-otp2025-rc-logo{text-align:center}
.gerald-otp2025-rc-icon{font-size:22px;display:block}
.gerald-otp2025-rc-txt{font-size:9px;color:#aaa;display:block;line-height:1.4}

/* Error */
.gerald-otp2025-error{background:rgba(120,30,0,.25);border:1px solid rgba(180,60,0,.4);color:#ffe0cc;font-size:13px;border-radius:8px;padding:10px 14px;margin-bottom:12px}

/* Buttons */
.gerald-otp2025-btn-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:4px}
.gerald-otp2025-btn-primary{background:#fff;color:#7a5500;border:none;border-radius:10px;padding:14px 38px;font-size:16px;font-weight:700;cursor:pointer;transition:.15s;font-family:inherit}
.gerald-otp2025-btn-primary:hover{background:#f5f5f5;transform:scale(1.02)}
.gerald-otp2025-btn-primary:active{transform:scale(.98)}
.gerald-otp2025-btn-primary:disabled{opacity:.6;cursor:not-allowed;transform:none}
.gerald-otp2025-btn-secondary{background:transparent;color:rgba(255,255,255,.88);border:1.5px solid rgba(255,255,255,.45);border-radius:10px;padding:13px 20px;font-size:14px;cursor:pointer;transition:.2s;font-family:inherit}
.gerald-otp2025-btn-secondary:hover:not(:disabled){background:rgba(255,255,255,.12)}
.gerald-otp2025-btn-secondary:disabled{opacity:.5;cursor:not-allowed}

button.gerald-otp2025-back-link,
.gerald-otp2025-back-link{
  background:none !important;background-color:transparent !important;
  border:none !important;outline:none !important;box-shadow:none !important;
  color:rgba(255,255,255,.82) !important;text-decoration:underline !important;
  cursor:pointer !important;font-size:13px !important;
  padding:0 !important;margin-top:14px !important;
  display:inline-block !important;font-family:inherit !important;
  font-weight:400 !important;letter-spacing:normal !important;text-transform:none !important;
  line-height:1.4 !important;height:auto !important;min-height:unset !important;
  border-radius:0 !important;width:auto !important;
  -webkit-appearance:none !important;appearance:none !important;
}
button.gerald-otp2025-back-link:hover,
.gerald-otp2025-back-link:hover{
  background:none !important;background-color:transparent !important;
  color:#fff !important;border:none !important;
}
button.gerald-otp2025-back-link:focus,
.gerald-otp2025-back-link:focus{
  background:none !important;background-color:transparent !important;
  outline:none !important;border:none !important;
}

/* ═══ OTP BOXES ═══ */
.gerald-otp2025-hint{color:rgba(255,255,255,.85);font-size:14px;margin-bottom:1.2rem;line-height:1.5}

.gerald-otp2025-otp-row{
  display:flex !important;flex-direction:row !important;flex-wrap:nowrap !important;
  gap:10px !important;margin-bottom:20px !important;align-items:center !important;
  list-style:none !important;padding:0 !important;
}

.gerald-otp2025-otp-row input.gerald-otp2025-otp-inp,
input.gerald-otp2025-otp-inp {
  width:54px !important;min-width:54px !important;max-width:54px !important;
  height:62px !important;min-height:62px !important;
  border-radius:10px !important;border:2px solid rgba(255,255,255,.35) !important;
  background:#fff !important;font-size:26px !important;font-weight:700 !important;
  text-align:center !important;color:#333 !important;outline:none !important;
  box-shadow:none !important;padding:0 !important;margin:0 !important;
  box-sizing:border-box !important;display:inline-block !important;
  flex:none !important;float:none !important;line-height:normal !important;
  transition:border-color .2s;
}
.gerald-otp2025-otp-row input.gerald-otp2025-otp-inp:focus,
input.gerald-otp2025-otp-inp:focus {border-color:#8B6914 !important;box-shadow:0 0 0 3px rgba(139,105,20,.2) !important}
.gerald-otp2025-otp-row input.gerald-otp2025-otp-inp.gerald-otp2025-otp-error,
input.gerald-otp2025-otp-inp.gerald-otp2025-otp-error {border-color:#e74c3c !important;background:#fff5f5 !important}

/* Success */
.gerald-otp2025-success{text-align:center;padding:1.5rem 0}
.gerald-otp2025-success-icon{width:76px;height:76px;background:rgba(255,255,255,.18);border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 1.2rem;border:3px solid rgba(255,255,255,.45)}
.gerald-otp2025-success-title{color:#fff;font-size:24px;font-weight:700;margin-bottom:10px}
.gerald-otp2025-success-text{color:rgba(255,255,255,.9);font-size:15px;line-height:1.7;margin-bottom:1.6rem}

/* Fluent form overrides inside popup */
.gerald-otp2025-fluent-wrap .ff-el-input--content input,
.gerald-otp2025-fluent-wrap .ff-el-input--content select,
.gerald-otp2025-fluent-wrap .ff-el-input--content textarea{border-radius:10px!important;border:2px solid transparent!important;font-size:15px!important;background:#fff!important}
.gerald-otp2025-fluent-wrap .ff-el-input--content input:focus,
.gerald-otp2025-fluent-wrap .ff-el-input--content select:focus{border-color:#8B6914!important;outline:none!important}
.gerald-otp2025-fluent-wrap .ff-btn-submit{display:none!important}
.gerald-otp2025-fluent-wrap .ff-el-group{margin-bottom:12px!important}

/* Open button shortcode */
.gerald-otp2025-open-btn{background:var(--gerald-otp2025-bg,#C9971C);color:#fff;border:none;border-radius:10px;padding:14px 32px;font-size:16px;font-weight:700;cursor:pointer;transition:.15s}
.gerald-otp2025-open-btn:hover{opacity:.9;transform:scale(1.02)}

/* Responsive */
@media(max-width:540px){
  .gerald-otp2025-popup{padding:1.8rem 1.2rem}
  .gerald-otp2025-fields-grid{grid-template-columns:1fr}
  .gerald-otp2025-half,.gerald-otp2025-full{grid-column:1/-1}
  .gerald-otp2025-heading{font-size:20px}
  .gerald-otp2025-otp-row input.gerald-otp2025-otp-inp,
  input.gerald-otp2025-otp-inp{width:44px !important;min-width:44px !important;max-width:44px !important;height:52px !important;font-size:20px !important}
}
@media(max-width:380px){
  .gerald-otp2025-otp-row input.gerald-otp2025-otp-inp,
  input.gerald-otp2025-otp-inp{width:36px !important;min-width:36px !important;max-width:36px !important;height:46px !important;font-size:18px !important}
  .gerald-otp2025-otp-row{gap:6px !important}
}