.phone-verification { min-width: 0; color: #263b57; font-family: inherit; }
.phone-verification *, .phone-verification *::before, .phone-verification *::after { box-sizing: border-box; }
.phone-verification [hidden] { display: none !important; }
.otp-label { display: flex; align-items: center; gap: 7px; margin: 0 0 11px; color: #3d5270; font-size: 12px; font-weight: 750; line-height: 1.6; letter-spacing: -.025em; }
.otp-required { color: #7590b6; font-size: 9px; font-weight: 600; }
.otp-inline-field { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; gap: 8px; }
.otp-inline-field input { display: block; width: 100%; min-width: 0; min-height: 48px; margin: 0; padding: 11px 12px; border: 1px solid #d5dfed; border-radius: 9px; color: #263c59; background: #fff; font-family: inherit; font-size: 14px; line-height: 1.7; letter-spacing: -.025em; }
.otp-inline-field input::placeholder { color: #96a3b6; opacity: 1; }
.otp-inline-field input:hover:not(:disabled) { border-color: #b3c7e5; }
.otp-inline-field input:focus { border-color: #6c9af2; }
.otp-inline-field input:focus-visible { outline: 3px solid #c1d5fc; outline-offset: 1px; }
.otp-inline-field input[aria-invalid="true"] { border-color: #d2828f; background: #fffafc; }
.otp-inline-field input:disabled { color: #8b98aa; background: #f6f8fb; cursor: default; }
.otp-inline-field [data-otp-role="code"] { font-variant-numeric: tabular-nums; letter-spacing: .1em; }
.otp-inline-field [data-otp-role="code"]::placeholder { letter-spacing: -.025em; }
.otp-button { display: inline-flex; align-items: center; justify-content: center; min-width: 100px; min-height: 48px; margin: 0; padding: 11px 12px; border: 1px solid transparent; border-radius: 9px; font-family: inherit; font-size: 11px; font-weight: 750; line-height: 1.6; letter-spacing: -.035em; white-space: nowrap; text-align: center; cursor: pointer; }
.otp-button-primary { color: #fff; background: #2c66df; border-color: #2c66df; }
.otp-button-primary:hover:not(:disabled) { background: #1d55cb; border-color: #1d55cb; }
.otp-button-confirm { color: #3562b5; background: #edf3ff; border-color: #cfdcf2; }
.otp-button-confirm:hover:not(:disabled) { background: #e2ecff; border-color: #adc5ed; }
.otp-button:disabled { opacity: .52; cursor: default; }
.otp-button:focus-visible { outline: 3px solid #9ebff7; outline-offset: 3px; }
.phone-verification[data-state="verified"] .otp-button-primary { color: #447e65; background: #edf8f1; border-color: #d7e9de; opacity: 1; }
.otp-help { margin: 8px 0 0; color: #8795a8; font-size: 10px; line-height: 1.85; letter-spacing: -.015em; word-break: keep-all; overflow-wrap: anywhere; }
.otp-code-panel { margin-top: 23px; animation: otp-appear .18s ease-out both; }
.otp-code-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.otp-code-heading .otp-label { margin-bottom: 0; }
.otp-timer { color: #4a7ac7; font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.6; }
.otp-timer.is-expiring { color: #bd6777; }
.otp-resend-help { margin: 11px 0 0; color: #8a98ad; font-size: 10px; line-height: 1.85; font-variant-numeric: tabular-nums; word-break: keep-all; overflow-wrap: anywhere; }
.otp-status { margin: 16px 0 0; color: #557aa7; font-size: 11px; line-height: 1.9; word-break: keep-all; overflow-wrap: anywhere; }
.otp-status[data-kind="error"] { color: #aa4559; }
.otp-status[data-kind="warning"] { color: #936d2c; }
.otp-status[data-kind="success"] { color: #397e62; }
.otp-detail { margin: 6px 0 0; color: #9a8390; font-size: 9px; line-height: 1.8; overflow-wrap: anywhere; }
.otp-verified { display: flex; align-items: center; gap: 12px; margin-top: 19px; padding: 16px 13px; border: 1px solid #cee6da; border-radius: 10px; color: #39795e; background: #f1faf5; animation: otp-appear .18s ease-out both; }
.otp-check { display: grid; flex: 0 0 auto; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #fff; background: #4a9675; font-size: 12px; font-weight: 850; }
.otp-verified strong { display: block; font-size: 12px; line-height: 1.7; font-weight: 750; }
.otp-verified p { margin: 4px 0 0; color: #769885; font-size: 10px; line-height: 1.8; word-break: keep-all; overflow-wrap: anywhere; }
.otp-simulation { margin-top: 21px; padding: 14px; border: 1px dashed #d6dded; border-radius: 10px; background: #f8fafd; }
.otp-simulation > div { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 9px 13px; }
.otp-simulation span { color: #6c809e; font-size: 10px; font-weight: 700; line-height: 1.8; }
.otp-simulation output { color: #5d79a3; font-size: 19px; font-weight: 750; font-variant-numeric: tabular-nums; letter-spacing: .14em; line-height: 1.6; }
.otp-simulation p { margin: 7px 0 0; color: #8b99ad; font-size: 10px; line-height: 1.85; word-break: keep-all; overflow-wrap: anywhere; }
.phone-verification[aria-busy="true"] .otp-button-primary { box-shadow: 0 0 0 3px #2c66df0b; }
@keyframes otp-appear { from { transform: translateY(4px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@media (max-width: 520px) {
  .otp-label { font-size: 11px; }
  .otp-inline-field { gap: 7px; }
  .otp-inline-field input { min-height: 46px; padding: 10px; font-size: 16px; }
  .otp-button { min-width: 89px; min-height: 46px; padding: 10px 9px; font-size: 10px; }
  .otp-help { font-size: 9px; }
  .otp-simulation { padding: 12px; }
}
@media (max-width: 360px) {
  .otp-inline-field { gap: 6px; }
  .otp-inline-field input { padding: 10px 8px; font-size: 16px; }
  .otp-inline-field input::placeholder { font-size: 13px; }
  .otp-button { min-width: 80px; padding: 10px 7px; font-size: 9px; }
  .otp-verified { align-items: flex-start; gap: 9px; padding: 13px 11px; }
}
@media (prefers-reduced-motion: reduce) { .phone-verification *, .phone-verification *::before, .phone-verification *::after { animation: none !important; transition: none !important; } }
