.phone-auth-page { position: relative; min-height: 100vh; min-height: 100dvh; overflow-x: hidden; }
.phone-auth-page .video-background { position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.phone-auth-page .wrapper { position: relative; z-index: 1; }
.phone-auth-page .login_left_combo h1,
.phone-auth-page .login_left_combo p { color: #fff; text-shadow: 0 1px 5px rgba(76, 78, 181, .8); }
.phone-auth-card { width: 100%; max-width: 550px; min-width: 50%; margin: auto; padding: 40px; border-radius: 40px; background: #fff; box-shadow: 0 -6px 30px rgba(0, 0, 0, .06); }
.phone-auth-page .phone-auth-card form { width: 100%; max-width: none; min-width: 0; margin: 0; padding: 0; border-radius: 0; background: transparent !important; box-shadow: none; }
.phone-auth-card.is-night { color: #f1f3f5; background: #262d34; }
.phone-auth-card.is-night .title { color: #f1f3f5; }
.phone-auth-card.is-night .desc,
.phone-auth-card.is-night .wow_form_fields small { color: #b9c0c8; }
.phone-auth-card.is-night .phone-auth-tabs { background: #1c2228; }
.phone-auth-card.is-night .phone-auth-tab { color: #b9c0c8 !important; }
.phone-auth-card.is-night .phone-auth-tab.is-active { color: #fff !important; background: var(--main-color) !important; }
.phone-auth-card .title { margin-top: 24px; }
.phone-auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 4px; border-radius: 12px; background: #f4f4f6; }
.phone-auth-page .phone-auth-tab { min-height: 48px; padding: 10px 12px; border: 0; border-radius: 9px; background: transparent !important; color: #666 !important; font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color .2s ease, color .2s ease, box-shadow .2s ease; }
.phone-auth-page #phone-tab:not(.is-active),
.phone-auth-page #password-tab:not(.is-active) { background: #f4f4f6 !important; color: #555 !important; }
.phone-auth-page .phone-auth-tab.is-active { background: var(--main-color) !important; color: #fff !important; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); }
.phone-auth-feedback { min-height: 0; margin-top: 16px; border-radius: 12px; font-size: 14px; line-height: 1.5; }
.phone-auth-feedback:not(:empty) { min-height: 48px; padding: 13px 15px; }
.phone-auth-feedback.is-error { color: #a52222; background: #fff0f0; }
.phone-auth-feedback.is-success { color: #176b38; background: #edf9f1; }
.phone-auth-number-wrap,
.phone-auth-username-wrap { display: flex; align-items: center; min-height: 57px; overflow: hidden; border: 1px solid #adadad; border-radius: 9px; background: transparent; transition: border-color .2s ease, box-shadow .2s ease; }
.phone-auth-number-wrap > span,
.phone-auth-username-wrap > span { flex: 0 0 auto; padding: 0 14px; color: #555; font-size: 16px; border-right: 1px solid #ddd; }
.phone-auth-card .phone-auth-number-wrap input,
.phone-auth-card .phone-auth-username-wrap input { height: 55px; border: 0; border-radius: 0; }
.phone-auth-number-wrap:focus-within,
.phone-auth-username-wrap:focus-within { border-color: var(--main-color); box-shadow: 0 0 0 2px color-mix(in srgb, var(--main-color) 20%, transparent); }
.phone-auth-card .wow_form_fields small { display: block; margin-top: 7px; color: #666; font-size: 13px; line-height: 1.45; }
.phone-auth-primary { width: 100%; min-height: 54px; border-radius: 10px; font-size: 16px; }
.phone-auth-card .login_signup_combo .login__ { justify-content: stretch; }
.phone-auth-card .login_signup_combo .login__ .btn { min-width: 100%; line-height: 54px; }
.phone-auth-secondary-links { display: flex; justify-content: space-between; align-items: center; min-height: 48px; margin-top: 14px; }
.phone-auth-secondary-links a,
.phone-auth-text-button { min-height: 44px; padding: 12px 0; border: 0; background: transparent; color: var(--main-color); font-size: 14px; cursor: pointer; text-decoration: none; }
.phone-auth-terms { margin: 24px 0; }
.phone-auth-terms label { line-height: 1.6; }
.phone-auth-terms a { color: var(--main-color); }
.phone-auth-card button:disabled { cursor: wait; opacity: .58; }
.phone-auth-page .welcome-footer,
.phone-auth-page .welcome-footer a { color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .65); }
.phone-auth-card button:focus-visible,
.phone-auth-card a:focus-visible,
.phone-auth-card input:focus-visible,
.phone-auth-card select:focus-visible { outline: 3px solid rgba(76, 78, 181, .45) !important; outline-offset: 2px; }
.phone-auth-panel[hidden], .phone-auth-code-field[hidden], #phone-auth-change-number[hidden] { display: none !important; }

@media (max-width: 930px) {
    .phone-auth-page { background: #f5f5f7; }
    .phone-auth-card { min-width: 0; margin: 20px auto; }
    .phone-auth-page .welcome-footer,
    .phone-auth-page .welcome-footer a:not(.lang) { color: inherit; text-shadow: none; }
}
@media (max-width: 640px) {
    .phone-auth-page .login_innre { padding: 0 16px; }
    .phone-auth-card { padding: 24px 20px; border-radius: 24px; }
    .phone-auth-card .title { font-size: 24px; line-height: 1.4; }
    .phone-auth-card .wow_form_fields input,
    .phone-auth-card .wow_form_fields select { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .phone-auth-page *, .phone-auth-page *::before, .phone-auth-page *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
