.kbc-phone-auth { display: grid; gap: 14px; }
.kbc-phone-auth [hidden] { display: none !important; }
.kbc-phone-auth__message { min-height: 42px; padding: 11px 13px; border-radius: 10px; font-size: 9px; line-height: 1.9; }
.kbc-phone-auth__message.is-error { background: color-mix(in srgb, #b42318 9%, var(--surface, #fff)); color: #b42318; }
.kbc-phone-auth__message.is-success { background: color-mix(in srgb, #15803d 9%, var(--surface, #fff)); color: #15803d; }
.kbc-phone-auth [data-kbc-otp-step] { display: grid; gap: 13px; }
.kbc-phone-auth__field > span { display: block; margin-bottom: 6px; color: var(--text, #061827); font-size: 8.5px; font-weight: 750; }
.kbc-phone-auth__field > div { display: grid; grid-template-columns: 58px minmax(0, 1fr); height: 52px; overflow: hidden; align-items: center; border: 1px solid var(--line, #d9dfdf); border-radius: 11px; background: var(--paper, #f3f5f4); transition: border-color .18s, background .18s, box-shadow .18s; }
.kbc-phone-auth__field > div:focus-within { border-color: color-mix(in srgb, var(--amber, #f5a900) 70%, var(--line, #d9dfdf)); background: var(--surface, #fff); box-shadow: 0 0 0 3px color-mix(in srgb, var(--amber, #f5a900) 13%, transparent); }
.kbc-phone-auth__field b { display: grid; height: 26px; border-left: 1px solid var(--line, #d9dfdf); color: var(--muted, #64717a); font: 700 10px Arial, sans-serif; place-items: center; }
.kbc-phone-auth__field input { width: 100%; height: 50px; padding: 0 14px !important; border: 0 !important; outline: 0 !important; background: transparent !important; box-shadow: none !important; color: var(--text, #061827); font: 700 13px Arial, sans-serif; letter-spacing: .8px; text-align: left; }
.kbc-phone-auth__field .is-code { display: block; }
.kbc-phone-auth__field .is-code input { text-align: center; font-size: 20px; letter-spacing: 9px; }
.kbc-phone-auth__terms,
.kbc-phone-auth__remember { display: flex; align-items: flex-start; gap: 8px; color: var(--muted, #64717a); font-size: 8px; line-height: 1.8; cursor: pointer; }
.kbc-phone-auth__terms input,
.kbc-phone-auth__remember input { width: 16px; height: 16px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--amber, #f5a900); }
.kbc-phone-auth__submit { display: flex; width: 100%; min-height: 51px; padding: 9px 18px; align-items: center; justify-content: center; gap: 11px; border: 0; border-radius: 11px; background: var(--amber, #f5a900); color: var(--ink, #061827); font-family: inherit; font-size: 10px; font-weight: 850; cursor: pointer; transition: transform .18s, filter .18s; }
.kbc-phone-auth__submit:hover { transform: translateY(-1px); filter: brightness(1.04); }
.kbc-phone-auth__submit:disabled { cursor: wait; opacity: .68; transform: none; }
.kbc-phone-auth__submit > span { font-size: 16px; }
.kbc-phone-auth__spinner { width: 16px; height: 16px; border: 2px solid rgba(6,24,39,.25); border-top-color: #061827; border-radius: 50%; animation: kbc-otp-spin .7s linear infinite; }
.kbc-phone-auth__sent { margin: 0; padding: 11px 13px; border-radius: 10px; background: var(--surface-2, #eef1f0); color: var(--muted, #64717a); font-size: 8.5px; text-align: center; }
.kbc-phone-auth__sent strong { color: var(--text, #061827); direction: ltr; unicode-bidi: isolate; }
.kbc-phone-auth__actions { display: flex; align-items: center; justify-content: space-between; }
.kbc-phone-auth__actions button { padding: 4px 0; border: 0; background: transparent; color: var(--amber, #c88700); font-family: inherit; font-size: 8px; font-weight: 750; cursor: pointer; }
.kbc-phone-auth__actions button:disabled { color: var(--muted, #64717a); cursor: default; }
.kbc-phone-auth__hint { margin: 2px 0 0; color: var(--muted, #64717a); font-size: 7.5px; line-height: 1.9; text-align: center; }
.kbc-phone-auth__trap { position: absolute !important; right: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
@keyframes kbc-otp-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .kbc-phone-auth__spinner { animation-duration: 1.5s; } }
