/* RAI RIDES PWA-first account activation, scoped and responsive. */
.rr-otp-layer{position:fixed;inset:0;z-index:2147483400;background:rgba(7,19,22,.88);
  padding:env(safe-area-inset-top,12px) max(12px,env(safe-area-inset-right,12px))
  env(safe-area-inset-bottom,12px) max(12px,env(safe-area-inset-left,12px));
  display:flex;justify-content:center;align-items:flex-start;overflow-y:auto}
.rr-otp-panel{position:relative;margin:14px auto 30px;width:min(100%,540px);
  border-radius:20px;border:1px solid #526469;background:linear-gradient(145deg,#192c30,#101d21);
  color:#f7f8f8;padding:clamp(16px,5vw,30px);box-shadow:0 20px 75px #0009;
  font-family:system-ui,-apple-system,'Segoe UI',sans-serif}
.rr-otp-panel *{box-sizing:border-box}
.rr-otp-kicker{font-size:.82rem;color:#edb660;font-weight:800;letter-spacing:.1em}
.rr-otp-panel h2{margin:8px 0 12px;font-size:clamp(1.5rem,5.5vw,2.1rem);color:#fff}
.rr-otp-panel p{line-height:1.5;color:#c9d6d8}
.rr-otp-panel form{display:grid;gap:12px}
.rr-otp-panel form label:not(.rr-otp-check){display:grid;gap:6px;font-weight:650;color:#fff}
.rr-otp-panel input:not([type="checkbox"]),.rr-otp-panel select{width:100%;min-height:45px;
  background:#293a3d;border:1px solid #718184;border-radius:9px;padding:10px;
  font-size:16px;color:#fff}
.rr-otp-panel input::placeholder{color:#b7c3c5}
.rr-otp-panel .rr-otp-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.rr-otp-panel .rr-otp-check{display:flex;align-items:flex-start;gap:11px;line-height:1.45;
  padding:8px 0;font-size:.95rem;color:#e6efef}
.rr-otp-panel .rr-otp-check input{width:20px;height:20px;flex-shrink:0;accent-color:#edb660}
.rr-otp-panel a:not(.rr-otp-primary){color:#ffce86;text-decoration:underline}
.rr-otp-panel .rr-otp-primary{display:block;cursor:pointer;margin:10px 0 4px;width:100%;
  padding:14px;border:0;border-radius:11px;background:#e9af5c;color:#172125;
  font-weight:800;font-size:1rem;text-align:center;text-decoration:none}
.rr-otp-panel [data-otp-code-pane][hidden],.rr-otp-panel [data-otp-form][hidden]{display:none!important}
.rr-otp-panel .rr-otp-close{position:absolute;top:10px;right:12px;background:transparent;
  color:#fff;font-size:1.7rem;border:0;cursor:pointer;min-width:36px;min-height:36px}
.rr-otp-panel .rr-otp-status{min-height:38px;margin:16px 0 0;padding:10px;
  background:#243b3d;border-radius:9px;color:#fff}
.rr-otp-panel .rr-otp-status.error{background:#5a3031}
.rr-otp-panel a:focus-visible,.rr-otp-panel button:focus-visible,.rr-otp-panel input:focus-visible{
  outline:3px solid #f9ca80;outline-offset:2px}
@media(max-width:380px){.rr-otp-panel .rr-otp-fields{grid-template-columns:1fr}}

/* v2.9.6: mobile form must not inherit Woodmart/WooCommerce min-widths. */
.rr-otp-layer{box-sizing:border-box;width:100%;max-width:100vw;overflow-x:clip}
.rr-otp-panel{box-sizing:border-box;flex:0 1 auto;min-width:0;max-width:100%;overflow-x:clip}
.rr-otp-panel form,.rr-otp-panel form label:not(.rr-otp-check){
  grid-template-columns:minmax(0,1fr)!important;min-width:0!important;max-width:100%!important;
  white-space:normal!important}
.rr-otp-panel form>*,
.rr-otp-panel .rr-otp-fields,.rr-otp-panel .rr-otp-fields>*{min-width:0!important;max-width:100%!important}
.rr-otp-panel input:not([type=checkbox]),.rr-otp-panel select,
.rr-otp-panel textarea{
  box-sizing:border-box!important;width:100%!important;max-width:100%!important;
  min-width:0!important;margin-inline:0!important}
.rr-otp-panel .rr-otp-check{min-width:0!important;max-width:100%!important;
  white-space:normal!important;overflow-wrap:anywhere}
.rr-otp-panel .rr-otp-check input[type=checkbox]{
  flex:0 0 20px!important;min-width:20px!important;max-width:20px!important}
.rr-otp-panel .rr-otp-check a{overflow-wrap:anywhere}
@media(max-width:420px){
 .rr-otp-layer{padding: max(8px,env(safe-area-inset-top)) 8px 12px!important}
 .rr-otp-panel{width:100%!important;margin:0 auto 12px!important;padding:16px!important}
 .rr-otp-panel .rr-otp-fields{grid-template-columns:minmax(0,1fr)!important}
}

.rr-otp-panel [data-otp-login-form][hidden]{display:none!important}
.rr-otp-panel [data-otp-switch-login],.rr-otp-panel [data-otp-switch-register]{
 cursor:pointer;background:transparent;color:#f5c681!important;
 border:1px solid #5a7478;border-radius:10px;padding:11px 14px;
 min-width:0;white-space:normal;overflow-wrap:anywhere;
}
.rr-otp-panel [data-otp-login-form] p{margin:0;font-size:.9rem}

/* v2.9.7: single entrance; initial choice instead of two forms and duplicate CTAs. */
.rr-otp-panel [hidden]{display:none!important}
.rr-otp-choices{display:grid;gap:14px;min-width:0;max-width:100%;margin:10px 0 4px}
.rr-otp-choices button{box-sizing:border-box;width:100%;min-height:52px;white-space:normal}
.rr-otp-outline{display:block;cursor:pointer;padding:13px 16px;border:1px solid #edb660;
  border-radius:11px;background:#203337;color:#f6e6c9;font-weight:750;font-size:1rem}
.rr-otp-back{display:block;cursor:pointer;width:100%;min-height:44px;border:1px solid #607275;
  border-radius:10px;background:transparent;color:#f5c681;font-size:.96rem;
  text-align:center;white-space:normal}
@media(max-width:420px){.rr-otp-choices{gap:10px}}

.rr-otp-salon-pane[hidden]{display:none!important}
.rr-otp-salon-pane{display:grid;gap:11px;padding:12px 0;min-width:0}
.rr-otp-salon-pane h3{margin:0;color:#c8fc64;font-size:20px}
.rr-otp-salon-place{display:grid;gap:7px;border:1px solid #637a61;border-radius:12px;padding:14px;background:#223c2f}
.rr-otp-salon-place strong{font-size:16px}
.rr-otp-salon-place small{font-size:13px;color:#cce0ce}
.rr-otp-panel .rr-otp-outline{display:block;width:100%;min-height:45px;box-sizing:border-box;
 color:#ecffeb;border:1px solid #a7c58a;border-radius:11px;background:#263f31;
 font-weight:800;font-size:15px;padding:12px;text-align:center;margin:8px 0;cursor:pointer;text-decoration:none}
.rr-otp-panel .rr-otp-outline:hover{background:#30523c}

/* Public provider choice and a separate readable consent step. */
.rr-social-extra,.rr-social-sheet{display:grid;gap:14px;min-width:0}
.rr-social-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.rr-social-methods .rr-otp-outline{margin:0}
.rr-social-extra h3{font-size:22px;line-height:1.2;color:#f3ffe7;margin:0}
.rr-social-description,.rr-social-status{font-size:14px;line-height:1.5;margin:0}
.rr-social-documents{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:13px}
.rr-social-consents{min-width:0;border:1px solid #5c7961;border-radius:12px;padding:12px}
.rr-social-consents legend{font-size:13px;font-weight:700;padding:0 6px;color:#cae0ce}
.rr-otp-panel .rr-social-consent{display:flex;align-items:flex-start;gap:10px;font-size:14px;line-height:1.45;font-weight:400;margin:12px 0;cursor:pointer}
.rr-social-consent input[type=checkbox]{flex:0 0 22px!important;width:22px!important;min-width:22px!important;height:22px;margin:0;accent-color:#c8fc64}
.rr-social-optional{background:#213c2c;border-radius:12px;padding:0 12px}
.rr-social-active .rr-social-methods{display:none}
.rr-otp-choices:has(.rr-social-active)>button{display:none!important}
@media(max-width:380px){.rr-social-methods{grid-template-columns:minmax(0,1fr)}}

.rr-otp-status:empty,.rr-social-status:empty{display:none}

/* Q1264: local contrast isolation against global Woodmart desktop/Safari rules. */
.rr-otp-panel .rr-social-sheet,
.rr-otp-panel .rr-social-sheet .rr-social-description,
.rr-otp-panel .rr-social-sheet .rr-social-legal-notice,
.rr-otp-panel .rr-social-consents,
.rr-otp-panel .rr-social-consents legend,
.rr-otp-panel .rr-social-consent,
.rr-otp-panel .rr-social-consent span,
.rr-otp-panel .rr-otp-check,
.rr-otp-panel .rr-otp-check span,
.rr-otp-panel .rr-otp-legal-notice {
  color:#f1f7f3!important;
}
.rr-otp-panel .rr-social-documents a,
.rr-otp-panel .rr-otp-legal-notice a,
.rr-otp-panel .rr-otp-check a {
  color:#ffd58b!important;
  text-decoration:underline!important;
  text-underline-offset:2px;
}
.rr-otp-panel .rr-social-consent input[type=checkbox],
.rr-otp-panel .rr-otp-check input[type=checkbox] { accent-color:#c8fc64; }
.rr-otp-panel .rr-social-legal-notice,
.rr-otp-panel .rr-otp-legal-notice {font-size:14px;line-height:1.55;overflow-wrap:anywhere}

/* Q1270: explicit status/help/disabled focus contrast against Woodmart globals. */
.rr-otp-panel .rr-otp-help,
.rr-otp-panel .rr-otp-status,
.rr-otp-panel .rr-social-status,
.rr-otp-panel .rr-social-description,
.rr-otp-panel .rr-social-documents,
.rr-otp-panel form label:not(.rr-otp-check) {
  color:#f1f7f3!important;
}
.rr-otp-panel .rr-otp-status.error,
.rr-otp-panel .rr-social-status[role=status]:not(:empty){
  color:#fff2d5!important;
}
.rr-otp-panel .rr-otp-primary:disabled{
  opacity:.84!important;
  color:#172125!important;
  background:#dca95e!important;
}
.rr-otp-panel .rr-social-status,
.rr-otp-panel .rr-otp-status,
.rr-otp-panel .rr-otp-help{
  font-family:system-ui,-apple-system,'Segoe UI',sans-serif!important;
  overflow-wrap:anywhere;
}
