/* Fleep — модалка входа / регистрации (#authModal)
   Отдельная стилистика: не двухколоночный Dune, а компактная карточка Fleep. */

body.fleep-ui #authModal.modal {
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(8, 9, 13, 0.62) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

body.fleep-ui #authModal .modal-backdrop,
body.fleep-ui #authModal #modalBackdrop {
    background: transparent !important;
    backdrop-filter: none !important;
}

body.fleep-ui #authModal .modal-dialog.auth-modal-box,
body.fleep-ui #authModal .fleep-auth-shell {
    display: flex;
    flex-direction: column;
    width: min(420px, calc(100vw - 32px));
    max-width: none !important;
    max-height: min(92vh, 900px);
    margin: 0;
    padding: 0;
    border-radius: var(--fleep-radius-lg, 20px);
    background: var(--fleep-bg, #101217) !important;
    border: 1px solid var(--fleep-border-strong, rgba(255, 255, 255, 0.1)) !important;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04) inset !important;
    overflow: hidden;
    position: relative;
}

body.fleep-ui #authModal .auth-modal-box::before {
    display: none !important;
}

body.fleep-ui #authModal .modal-dialog.auth-modal-box--register {
    width: min(480px, calc(100vw - 32px));
}

@media (min-width: 768px) {
    body.fleep-ui #authModal .modal-dialog.auth-modal-box--register {
        width: min(880px, calc(100vw - 32px));
        max-height: min(90vh, 720px);
    }

    body.fleep-ui #authModal .auth-modal-box--register .fleep-auth-body {
        flex-direction: row;
        align-items: stretch;
    }

    body.fleep-ui #authModal .auth-modal-box--register .auth-modal-form {
        flex: 1 1 58%;
        width: auto !important;
        max-width: none !important;
        border-right: 1px solid var(--fleep-border-strong, rgba(255, 255, 255, 0.1));
    }

    body.fleep-ui #authModal .auth-modal-box--register .auth-modal-promo {
        order: 1;
        flex: 0 0 42%;
        width: auto !important;
        min-width: 0;
        border-left: none !important;
        border-bottom: none !important;
        border-right: none !important;
        overflow-y: auto;
    }
}

body.fleep-ui #authModal .modal-close {
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: var(--fleep-radius, 8px);
    background: var(--fleep-elevated, #262628) !important;
    border: 1px solid var(--fleep-border, rgba(255, 255, 255, 0.06)) !important;
    color: var(--fleep-text-muted, #83898E) !important;
    font-size: 1.35rem;
    line-height: 1;
    z-index: 5;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

body.fleep-ui #authModal .modal-close:hover {
    color: var(--fleep-text, #fff) !important;
    background: var(--fleep-panel-hover, #2e3034) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

body.fleep-ui #authModal .fleep-auth-header {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 22px 56px 0;
}

body.fleep-ui #authModal .fleep-auth-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

body.fleep-ui #authModal .auth-modal-form {
    flex: 1 1 auto;
    width: 100% !important;
    max-width: none !important;
    min-height: 0;
    padding: 16px 22px 22px !important;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    scrollbar-width: thin;
}

body.fleep-ui #authModal .fleep-auth-brand {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    flex-shrink: 0;
    width: 100%;
    min-height: 40px;
}

body.fleep-ui #authModal .fleep-auth-brand__logo {
    display: block;
    width: 180px !important;
    height: 40px !important;
    max-width: min(180px, calc(100vw - 120px)) !important;
    max-height: none !important;
    flex-shrink: 0;
    object-fit: contain;
    object-position: center;
    aspect-ratio: 180 / 40;
}

body.fleep-ui #authModal .auth-modal-title {
    display: none;
    margin: 0 0 14px;
    font-family: var(--fleep-font, Roboto, sans-serif);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--fleep-text, #fff);
    text-align: center;
}

body.fleep-ui #authModal:has(#forgotPasswordForm:not(.hidden)) .auth-modal-title,
body.fleep-ui #authModal:has(#resetPasswordForm:not(.hidden)) .auth-modal-title {
    display: block;
}

body.fleep-ui #authModal:has(#forgotPasswordForm:not(.hidden)) .auth-tabs,
body.fleep-ui #authModal:has(#resetPasswordForm:not(.hidden)) .auth-tabs,
body.fleep-ui #authModal:has(#forgotPasswordForm:not(.hidden)) .fleep-auth-tabs-rule,
body.fleep-ui #authModal:has(#resetPasswordForm:not(.hidden)) .fleep-auth-tabs-rule,
body.fleep-ui #authModal:has(#forgotPasswordForm:not(.hidden)) .fleep-auth-header,
body.fleep-ui #authModal:has(#resetPasswordForm:not(.hidden)) .fleep-auth-header {
    display: none;
}

/* Segmented tabs */
body.fleep-ui #authModal .auth-tabs {
    display: flex;
    gap: 4px;
    padding: 4px;
    margin: 0 0 20px;
    background: var(--fleep-panel-bg, #1C1E22);
    border: 1px solid var(--fleep-border-strong, rgba(255, 255, 255, 0.1));
    border-radius: var(--fleep-radius, 8px);
    flex-shrink: 0;
}

body.fleep-ui #authModal .auth-tabs .tab {
    flex: 1;
    padding: 10px 12px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: var(--fleep-text-muted, #9AA0A6);
    font-family: var(--fleep-font, Roboto, sans-serif);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

body.fleep-ui #authModal .auth-tabs .tab:hover {
    color: var(--fleep-text, #fff);
}

body.fleep-ui #authModal .auth-tabs .tab.active {
    background: var(--fleep-red, #E5484D);
    color: #fff;
    box-shadow: var(--fleep-shadow-btn, 0 4px 4px rgba(0, 0, 0, 0.15));
    border-bottom: none;
}

/* Forms */
body.fleep-ui #authModal .auth-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1 1 auto;
    min-height: 0;
}

body.fleep-ui #authModal .auth-form.hidden {
    display: none !important;
}

body.fleep-ui #authModal .reg-field-wrap,
body.fleep-ui #authModal .auth-totp-wrap {
    margin: 0;
}

body.fleep-ui #authModal .input-wrap {
    display: block;
    width: 100%;
    position: relative;
}

body.fleep-ui #authModal .input-icon {
    display: none !important;
}

body.fleep-ui #authModal .auth-input,
body.fleep-ui #authModal .auth-currency-trigger,
body.fleep-ui #authModal .auth-gender-trigger {
    width: 100%;
    min-height: 44px;
    padding: 0 14px !important;
    border-radius: var(--fleep-radius, 8px) !important;
    border: 1px solid var(--fleep-border-strong, rgba(255, 255, 255, 0.1)) !important;
    background: var(--fleep-panel-bg, #1C1E22) !important;
    color: var(--fleep-text, #fff) !important;
    font-family: var(--fleep-font, Roboto, sans-serif);
    font-size: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.fleep-ui #authModal .auth-input::placeholder {
    color: var(--fleep-text-dim, #6B7178);
    opacity: 1;
}

body.fleep-ui #authModal .input-wrap:focus-within .auth-input,
body.fleep-ui #authModal .auth-currency-trigger:focus,
body.fleep-ui #authModal .auth-gender-trigger:focus {
    outline: none;
    border-color: rgba(229, 72, 77, 0.65) !important;
    box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
}

body.fleep-ui #authModal .input-wrap--with-toggle .auth-input {
    padding-right: 44px !important;
}

body.fleep-ui #authModal .auth-clear-field,
body.fleep-ui #authModal .auth-password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: var(--fleep-text-muted, #83898E);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

body.fleep-ui #authModal .auth-clear-field:hover,
body.fleep-ui #authModal .auth-password-toggle:hover {
    color: var(--fleep-text, #fff);
    background: rgba(255, 255, 255, 0.05);
}

body.fleep-ui #authModal .auth-submit,
body.fleep-ui #authModal #btnLogin,
body.fleep-ui #authModal #btnForgotSend,
body.fleep-ui #authModal #btnRecoverSubmit,
body.fleep-ui #authModal #btnRegisterOneClick,
body.fleep-ui #authModal #btnRegister,
body.fleep-ui #authModal #btnRegStepNext {
    width: 100%;
    min-height: 46px;
    margin-top: 4px;
    padding: 0 18px;
    border: none !important;
    border-radius: var(--fleep-radius, 8px) !important;
    background: var(--fleep-red, #E5484D) !important;
    color: #fff !important;
    font-family: var(--fleep-font, Roboto, sans-serif);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: var(--fleep-shadow-btn, 0 4px 4px rgba(0, 0, 0, 0.15));
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

body.fleep-ui #authModal .fleep-reg-wizard__back {
    width: 100%;
    min-height: 44px;
    margin-top: 4px;
    padding: 0 18px;
    border: 1px solid var(--fleep-border-strong, rgba(255, 255, 255, 0.12)) !important;
    border-radius: var(--fleep-radius, 8px) !important;
    background: var(--fleep-panel-bg, #1C1E22) !important;
    color: var(--fleep-text-muted, #9AA0A6) !important;
    font-family: var(--fleep-font, Roboto, sans-serif);
    font-size: 13px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    box-shadow: none;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

body.fleep-ui #authModal .fleep-reg-wizard__back:hover {
    color: var(--fleep-text, #fff) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    background: rgba(255, 255, 255, 0.04) !important;
}

body.fleep-ui #authModal .auth-submit:hover:not(:disabled),
body.fleep-ui #authModal #btnLogin:hover:not(:disabled),
body.fleep-ui #authModal #btnRegister:hover:not(:disabled) {
    background: var(--fleep-red-light, #F3372B) !important;
}

body.fleep-ui #authModal .auth-submit:disabled,
body.fleep-ui #authModal .auth-submit.is-loading {
    opacity: 0.55;
    cursor: not-allowed;
}

body.fleep-ui #authModal .auth-forgot-row,
body.fleep-ui #authModal .auth-switch,
body.fleep-ui #authModal .auth-forgot-lead {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--fleep-text-muted, #9AA0A6);
    text-align: center;
}

body.fleep-ui #authModal .auth-forgot-lead {
    text-align: left;
    margin-bottom: 4px;
}

body.fleep-ui #authModal .auth-switch-link,
body.fleep-ui #authModal .auth-promo-link,
body.fleep-ui #authModal .auth-link {
    border: none;
    background: none;
    padding: 0;
    color: var(--fleep-red, #E5484D);
    font-weight: 600;
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    text-decoration: none;
}

body.fleep-ui #authModal .auth-switch-link:hover,
body.fleep-ui #authModal .auth-promo-link:hover,
body.fleep-ui #authModal .auth-link:hover {
    color: var(--fleep-red-light, #F3372B);
    text-decoration: underline;
}

body.fleep-ui #authModal .auth-checkbox-text .auth-link {
    color: #f5f7fa;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.fleep-ui #authModal .auth-checkbox-text .auth-link:hover {
    color: #fff;
}

body.fleep-ui #authModal .auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 8px 0 4px;
    font-size: 12px;
    color: var(--fleep-text-dim, #6B7178);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

body.fleep-ui #authModal .auth-divider::before,
body.fleep-ui #authModal .auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--fleep-border-strong, rgba(255, 255, 255, 0.1));
}

body.fleep-ui #authModal .auth-social-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

body.fleep-ui #authModal .auth-social-btn {
    min-height: 42px;
    padding: 0 12px;
    border-radius: var(--fleep-radius, 8px);
    border: 1px solid var(--fleep-border-strong, rgba(255, 255, 255, 0.1)) !important;
    background: var(--fleep-panel-bg, #1C1E22) !important;
    color: var(--fleep-text, #fff) !important;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

body.fleep-ui #authModal .auth-social-btn:hover {
    border-color: rgba(255, 255, 255, 0.16) !important;
    background: var(--fleep-panel-hover, #25282E) !important;
}

body.fleep-ui #authModal .error-msg {
    margin: 0;
    padding: 10px 12px;
    border-radius: var(--fleep-radius, 8px);
    background: rgba(229, 72, 77, 0.12);
    border: 1px solid rgba(229, 72, 77, 0.28);
    color: #F8B4B4;
    font-size: 13px;
    line-height: 1.45;
    text-align: left;
}

body.fleep-ui #authModal .error-msg:empty {
    display: none;
}

body.fleep-ui #authModal .auth-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 2px 0 0;
    font-size: 12px;
    line-height: 1.45;
    color: var(--fleep-text-muted, #9AA0A6);
}

body.fleep-ui #authModal .auth-checkbox input {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    accent-color: var(--fleep-red, #E5484D);
    flex-shrink: 0;
}

body.fleep-ui #authModal .password-strength-bar {
    height: 4px;
    margin-top: 8px;
    border-radius: 999px;
    background: var(--fleep-muted, #383C41);
    overflow: hidden;
}

body.fleep-ui #authModal .password-strength-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--fleep-red, #E5484D);
    transition: width 0.2s ease, background 0.2s ease;
}

body.fleep-ui #authModal .password-strength-text {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--fleep-text-muted, #83898E);
}

body.fleep-ui #authModal .password-requirements {
    margin: 8px 0 0;
    padding-left: 18px;
    font-size: 12px;
    line-height: 1.45;
    color: var(--fleep-text-muted, #83898E);
}

body.fleep-ui #authModal .auth-currency-select {
    position: relative;
}

body.fleep-ui #authModal .auth-currency-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    cursor: pointer;
}

body.fleep-ui #authModal .auth-currency-symbol {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(229, 72, 77, 0.16);
    color: var(--fleep-red-light, #FF6B70);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

body.fleep-ui #authModal .auth-currency-label {
    flex: 1;
    min-width: 0;
}

body.fleep-ui #authModal .auth-currency-chevron {
    color: var(--fleep-text-muted, #83898E);
    font-size: 10px;
}

body.fleep-ui #authModal .auth-currency-dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    z-index: 20;
    margin: 0;
    padding: 6px;
    list-style: none;
    border-radius: var(--fleep-radius, 8px);
    border: 1px solid var(--fleep-border, rgba(255, 255, 255, 0.06));
    background: var(--fleep-surface, #1D1E20);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

body.fleep-ui #authModal .auth-currency-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 6px;
    cursor: pointer;
    color: var(--fleep-text, #fff);
}

body.fleep-ui #authModal .auth-currency-option:hover,
body.fleep-ui #authModal .auth-currency-option.selected {
    background: var(--fleep-elevated, #262628);
}

body.fleep-ui #authModal .auth-keyboard-hints {
    display: none !important;
}

body.fleep-ui #authModal .auth-keyboard-hints kbd {
    display: inline-block;
    padding: 1px 5px;
    border-radius: 4px;
    border: 1px solid var(--fleep-border, rgba(255, 255, 255, 0.06));
    background: var(--fleep-elevated, #262628);
    font-size: 10px;
    font-family: inherit;
}

body.fleep-ui #authModal .auth-input:-webkit-autofill,
body.fleep-ui #authModal .auth-input:-webkit-autofill:hover,
body.fleep-ui #authModal .auth-input:-webkit-autofill:focus,
body.fleep-ui #authModal .auth-input:-webkit-autofill:active {
    -webkit-text-fill-color: var(--fleep-text, #fff) !important;
    caret-color: var(--fleep-text, #fff);
    border-color: var(--fleep-border-strong, rgba(255, 255, 255, 0.1)) !important;
    box-shadow: inset 0 0 0 1000px var(--fleep-panel-bg, #1C1E22) !important;
    transition: background-color 99999s ease-out;
}

/* Register wizard */
body.fleep-ui #authModal .fleep-reg-wizard {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

body.fleep-ui #authModal .fleep-reg-wizard__progress {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 2px;
}

body.fleep-ui #authModal .fleep-reg-wizard__step {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: var(--fleep-text-dim, #6B7178);
    font-size: 12px;
    font-weight: 600;
}

body.fleep-ui #authModal .fleep-reg-wizard__step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid var(--fleep-border, rgba(255, 255, 255, 0.06));
    background: var(--fleep-elevated, #262628);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

body.fleep-ui #authModal .fleep-reg-wizard__step--active {
    color: var(--fleep-text, #fff);
}

body.fleep-ui #authModal .fleep-reg-wizard__step--active .fleep-reg-wizard__step-num {
    background: var(--fleep-red, #E5484D);
    border-color: transparent;
    color: #fff;
}

body.fleep-ui #authModal .fleep-reg-wizard__step--done {
    color: var(--fleep-text-muted, #83898E);
}

body.fleep-ui #authModal .fleep-reg-wizard__step--done .fleep-reg-wizard__step-num {
    background: rgba(229, 72, 77, 0.18);
    border-color: rgba(229, 72, 77, 0.35);
    color: var(--fleep-red-light, #FF6B70);
}

body.fleep-ui #authModal .fleep-reg-wizard__line {
    flex: 1;
    height: 1px;
    background: var(--fleep-border, rgba(255, 255, 255, 0.06));
}

body.fleep-ui #authModal .fleep-reg-wizard__panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

body.fleep-ui #authModal .fleep-reg-wizard__panel.hidden {
    display: none !important;
}

body.fleep-ui #authModal.fleep-reg-step-1 #registerForm .auth-divider,
body.fleep-ui #authModal.fleep-reg-step-1 #registerForm .auth-social,
body.fleep-ui #authModal.fleep-reg-step-1 #registerForm .auth-social-row,
body.fleep-ui #authModal.fleep-reg-step-1 #registerForm .auth-telegram-wrap,
body.fleep-ui #authModal.fleep-reg-step-1 #registerForm .auth-google-wrap {
    display: none !important;
}

body.fleep-ui #authModal.fleep-reg-step-1 #registerForm .auth-switch {
    display: none !important;
}

body.fleep-ui #authModal.fleep-auth-v8.fleep-reg-step-1 #registerForm .auth-switch {
    display: block !important;
    margin-top: 8px;
}

/* Promo: сверху формы, не боковая колонка Dune */
body.fleep-ui #authModal .auth-modal-promo {
    order: -1;
    width: 100% !important;
    flex: 0 0 auto !important;
    min-height: 0 !important;
    align-self: stretch !important;
    display: flex !important;
    padding: 18px 22px !important;
    background: linear-gradient(180deg, var(--fleep-surface, #141518) 0%, var(--fleep-bg, #101217) 100%) !important;
    border-bottom: 1px solid var(--fleep-border-strong, rgba(255, 255, 255, 0.1)) !important;
    border-right: none !important;
}

body.fleep-ui #authModal .auth-modal-box--login .auth-modal-promo {
    display: none !important;
}

body.fleep-ui #authModal .auth-promo-idle-title,
body.fleep-ui #authModal .auth-promo-title {
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--fleep-red-light, #FF6B70);
}

body.fleep-ui #authModal .auth-promo-idle-text,
body.fleep-ui #authModal .auth-promo-desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--fleep-text-muted, #9AA0A6);
}

body.fleep-ui #authModal .auth-promo-preview-card {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

body.fleep-ui #authModal .auth-promo-hero {
    margin-bottom: 10px;
}

body.fleep-ui #authModal .auth-promo-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(229, 72, 77, 0.16);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

body.fleep-ui #authModal .auth-promo-amount {
    display: block;
    margin-top: 8px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--fleep-text, #fff);
    letter-spacing: -0.02em;
}

body.fleep-ui #authModal .auth-promo-meta,
body.fleep-ui #authModal .auth-promo-requirements {
    font-size: 12px;
    color: var(--fleep-text-muted, #83898E);
}

body.fleep-ui #authModal .reg-bonus-mobile-card {
    margin: 0 0 14px;
    padding: 12px 14px;
    border-radius: var(--fleep-radius, 8px);
    background: var(--fleep-elevated, #262628);
    border: 1px solid var(--fleep-border, rgba(255, 255, 255, 0.06));
}

body.fleep-ui #authModal .reg-bonus-mobile-card__eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--fleep-red-light, #FF6B70);
}

body.fleep-ui #authModal .reg-oneclick-success {
    padding: 14px;
    border-radius: var(--fleep-radius, 8px);
    background: var(--fleep-elevated, #262628);
    border: 1px solid var(--fleep-border, rgba(255, 255, 255, 0.06));
}

body.fleep-ui #authModal .reg-cred-row {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 8px;
    align-items: center;
    margin-top: 8px;
}

body.fleep-ui #authModal .reg-cred-value {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    color: var(--fleep-text, #fff);
    word-break: break-all;
}

body.fleep-ui #authModal .auth-close-btn,
body.fleep-ui #authModal #regFormClose {
    display: none !important;
}

body.fleep-ui #authModal .auth-telegram-wrap,
body.fleep-ui #authModal .auth-google-wrap {
    display: flex;
    justify-content: center;
}

@media (max-width: 767px) {
    /* Нижнее меню (#mobileTabBar) стоит на z-index 520 !important и перекрывает кнопку. */
    body.fleep-ui #authModal.modal {
        align-items: flex-end;
        justify-content: stretch;
        padding: 0;
        padding-bottom: var(--auth-kb-inset, 0px);
        z-index: 640 !important;
    }

    body.fleep-ui #authModal .modal-dialog.auth-modal-box,
    body.fleep-ui #authModal .fleep-auth-shell,
    body.fleep-ui #authModal.fleep-auth-v8 .modal-dialog.auth-modal-box--login,
    body.fleep-ui #authModal.fleep-auth-v8 .modal-dialog.auth-modal-box--register {
        width: 100% !important;
        max-width: none !important;
        max-height: min(92vh, 92dvh);
        border-radius: 16px 16px 0 0;
    }

    body.fleep-ui #authModal .auth-modal-form,
    body.fleep-ui #authModal.fleep-auth-v8 .auth-modal-box--login .auth-modal-form,
    body.fleep-ui #authModal.fleep-auth-v8 .auth-modal-box--register .auth-modal-form {
        padding: 16px 16px calc(18px + env(safe-area-inset-bottom, 0px)) !important;
    }

    body.fleep-ui #authModal .auth-modal-promo {
        padding: 12px 16px !important;
    }

    body.fleep-ui #authModal .auth-input,
    body.fleep-ui #authModal .auth-currency-trigger,
    body.fleep-ui #authModal .auth-gender-trigger {
        font-size: 16px;
        min-height: 48px;
    }

    body.fleep-ui #authModal .auth-form {
        flex: 0 0 auto;
        min-height: auto;
    }
}

html[data-theme="light"] body.fleep-ui #authModal .modal-dialog.auth-modal-box,
html[data-theme="light"] body.fleep-ui #authModal .fleep-auth-shell {
    background: #fff !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12) !important;
}

html[data-theme="light"] body.fleep-ui #authModal .auth-input,
html[data-theme="light"] body.fleep-ui #authModal .auth-currency-trigger,
html[data-theme="light"] body.fleep-ui #authModal .auth-gender-trigger {
    background: #F2F1EF !important;
    color: #1A1B1E !important;
}

/* --- Auth v8: split register dialog + single-screen signup (prototype-aligned) --- */
body.fleep-ui #authModal.fleep-auth-v8 .fleep-auth-header {
    display: none !important;
}

body.fleep-ui #authModal.fleep-auth-v8 .fleep-auth-close-promo {
    display: none !important;
}

body.fleep-ui #authModal.fleep-auth-v8 .auth-modal-box--register .fleep-auth-close-login {
    display: inline-flex !important;
}

body.fleep-ui #authModal.fleep-auth-v8 .auth-modal-box--register .fleep-auth-close-promo {
    display: none !important;
}

body.fleep-ui #authModal.fleep-auth-v8 .fleep-auth-panel-head {
    margin-bottom: 18px;
}

body.fleep-ui #authModal.fleep-auth-v8 .fleep-auth-brand__logo {
    width: 127px !important;
    height: 41px !important;
    max-width: 127px !important;
    margin: 0 0 20px;
    object-position: left center;
}

body.fleep-ui #authModal.fleep-auth-v8 .auth-tabs {
    display: flex;
    gap: 4px;
    padding: 4px;
    margin: 0;
    background: #171b22;
    border: 1px solid #2d333d;
    border-radius: 10px;
}

body.fleep-ui #authModal.fleep-auth-v8 .auth-tabs .tab {
    flex: 1;
    min-width: 0;
    padding: 10px 14px;
    border-radius: 8px;
    background: transparent;
    color: #9aa0a6;
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    box-shadow: none;
}

body.fleep-ui #authModal.fleep-auth-v8 .auth-tabs .tab.active {
    background: var(--fleep-red, #E5484D);
    color: #fff;
    box-shadow: var(--fleep-shadow-btn, 0 4px 4px rgba(0, 0, 0, 0.15));
}

body.fleep-ui #authModal.fleep-auth-v8 .auth-modal-box--login .auth-tabs .tab.active {
    background: var(--fleep-red, #E5484D);
    color: #fff;
}

body.fleep-ui #authModal.fleep-auth-v8 .fleep-auth-tabs-rule {
    position: relative;
    height: 3px;
    margin: 16px 0 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

body.fleep-ui #authModal.fleep-auth-v8 .fleep-auth-tabs-rule__fill {
    display: block;
    width: 50%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #ef3f49, #ff6e76);
    transition: transform 0.25s ease, width 0.25s ease;
}

body.fleep-ui #authModal.fleep-auth-v8 .auth-modal-box--login .fleep-auth-tabs-rule__fill {
    width: 50%;
    transform: translateX(0);
}

body.fleep-ui #authModal.fleep-auth-v8 .auth-modal-box--register .fleep-auth-tabs-rule__fill {
    width: 50%;
    transform: translateX(100%);
}

body.fleep-ui #authModal.fleep-auth-v8 .fleep-auth-register-head {
    display: none;
    margin: 0 0 18px;
}

body.fleep-ui #authModal.fleep-auth-v8 .auth-modal-box--register .fleep-auth-register-head {
    display: block;
}

body.fleep-ui #authModal.fleep-auth-v8 .fleep-auth-register-head__title {
    margin: 0 0 6px;
    font-size: clamp(1.45rem, 2.4vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--fleep-text, #fff);
    line-height: 1.12;
}

body.fleep-ui #authModal.fleep-auth-v8 .fleep-auth-register-head__subtitle {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: var(--fleep-text-muted, #9AA0A6);
}

body.fleep-ui #authModal.fleep-auth-v8 .fleep-reg-wizard__progress,
body.fleep-ui #authModal.fleep-auth-v8 #btnRegStepNext,
body.fleep-ui #authModal.fleep-auth-v8 #btnRegStepBack,
body.fleep-ui #authModal.fleep-auth-v8 .fleep-reg-wizard__panel[data-reg-step="2"] {
    display: none !important;
}

body.fleep-ui #authModal.fleep-auth-v8 .fleep-auth-fields-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 11px;
}

body.fleep-ui #authModal.fleep-auth-v8 .fleep-auth-field-label {
    display: block;
    margin: 0 0 7px;
    font-size: 13px;
    font-weight: 500;
    color: var(--fleep-text-muted, #9AA0A6);
}

body.fleep-ui #authModal.fleep-auth-v8 .reg-field-wrap--password-extra,
body.fleep-ui #authModal.fleep-auth-v8 .password-strength-wrap,
body.fleep-ui #authModal.fleep-auth-v8 .password-requirements,
body.fleep-ui #authModal.fleep-auth-v8 .reg-password-confirm {
    display: none !important;
}

body.fleep-ui #authModal.fleep-auth-v8 .reg-promo-block {
    display: block !important;
}

body.fleep-ui #authModal.fleep-auth-v8 .fleep-auth-promo-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 4px 0 2px;
}

body.fleep-ui #authModal.fleep-auth-v8 .fleep-auth-promo-row .auth-promo {
    margin: 0;
}

body.fleep-ui #authModal.fleep-auth-v8 .auth-promo-link {
    font-size: 11px;
    font-weight: 700;
    color: #b6c0cd;
}

body.fleep-ui #authModal.fleep-auth-v8 .auth-promo-link__plus {
    margin-right: 4px;
    color: var(--fleep-red, #E5484D);
    font-size: 16px;
    font-weight: 700;
}

body.fleep-ui #authModal.fleep-auth-v8 .fleep-auth-promo-optional {
    flex-shrink: 0;
    padding: 4px 7px;
    border-radius: 7px;
    background: #232832;
    border: none;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #788390;
}

body.fleep-ui #authModal.fleep-auth-v8 .fleep-auth-consents {
    padding: 12px 13px;
    border: 1px solid #272d37;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.018);
    gap: 0;
}

body.fleep-ui #authModal.fleep-auth-v8 #btnRegister,
body.fleep-ui #authModal.fleep-auth-v8 .auth-submit--register {
    text-transform: none;
    letter-spacing: 0;
    font-size: 15px;
    font-weight: 700;
    min-height: 48px;
}

body.fleep-ui #authModal.fleep-auth-v8 #btnRegister:disabled {
    opacity: 1;
    background: #5a2f34 !important;
    color: rgba(255, 255, 255, 0.45) !important;
    filter: none;
    cursor: not-allowed;
}

body.fleep-ui #authModal.fleep-auth-v8 .auth-modal-box--register .auth-modal-form {
    padding: 28px 34px 24px !important;
}

body.fleep-ui #authModal.fleep-auth-v8 .modal-dialog.auth-modal-box--register {
    width: min(520px, calc(100vw - 32px));
}

body.fleep-ui #authModal.fleep-auth-v8 .modal-dialog.auth-modal-box--login {
    width: min(520px, calc(100vw - 32px));
}

body.fleep-ui #authModal.fleep-auth-v8 .auth-modal-box--login .auth-modal-form {
    padding: 28px 34px 24px !important;
}

body.fleep-ui #authModal.fleep-auth-v8 #btnLogin,
body.fleep-ui #authModal.fleep-auth-v8 #btnForgotSend,
body.fleep-ui #authModal.fleep-auth-v8 #btnRecoverSubmit,
body.fleep-ui #authModal.fleep-auth-v8 .auth-submit:not(.auth-submit--register) {
    text-transform: none;
    letter-spacing: 0;
    font-size: 15px;
    min-height: 48px;
}

@media (min-width: 768px) {
    body.fleep-ui #authModal.fleep-auth-v8 .modal-dialog.auth-modal-box--register {
        max-height: min(88vh, 760px);
        width: min(520px, calc(100vw - 32px));
    }

    body.fleep-ui #authModal.fleep-auth-v8 .auth-modal-box--register .fleep-auth-body {
        display: flex;
        flex-direction: column;
    }

    body.fleep-ui #authModal.fleep-auth-v8 .auth-modal-box--register .auth-modal-form {
        border-right: none;
    }
}

body.fleep-ui #authModal.fleep-auth-v8 .fleep-welcome-banner {
    position: static;
    z-index: 1;
    display: block;
    min-height: 0;
    max-width: 100%;
}

body.fleep-ui #authModal.fleep-auth-v8 .fleep-welcome-banner__glow {
    position: absolute;
    z-index: 0;
    width: 180px;
    height: 180px;
    right: -48px;
    bottom: 72px;
    border: 1px solid rgba(88, 151, 255, 0.18);
    border-radius: 50%;
    box-shadow: 0 0 56px rgba(239, 63, 73, 0.22);
    pointer-events: none;
}

body.fleep-ui #authModal.fleep-auth-v8 .fleep-welcome-banner__eyebrow {
    margin: 0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #ff7d84;
}

body.fleep-ui #authModal.fleep-auth-v8 .fleep-welcome-banner__amount-line {
    margin: 16px 0 0;
    font-size: clamp(1.75rem, 4.2vw, 2.35rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #fff;
}

body.fleep-ui #authModal.fleep-auth-v8 .fleep-welcome-banner__amount-label {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    color: #929dab;
}

body.fleep-ui #authModal.fleep-auth-v8 .fleep-welcome-banner__amount {
    font-weight: 800;
}

body.fleep-ui #authModal.fleep-auth-v8 .fleep-welcome-banner__spins {
    margin: 7px 0 0;
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    font-weight: 700;
    line-height: 1.15;
    color: #ff6e77;
}

body.fleep-ui #authModal.fleep-auth-v8 .fleep-welcome-banner__desc {
    margin: 12px 0 0;
    max-width: 240px;
    font-size: 11px;
    line-height: 1.55;
    color: #a4aeba;
}

body.fleep-ui #authModal.fleep-auth-v8 .fleep-welcome-banner__benefits {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

body.fleep-ui #authModal.fleep-auth-v8 .fleep-welcome-banner__benefits li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    font-weight: 700;
    color: #dce2ea;
}

body.fleep-ui #authModal.fleep-auth-v8 .fleep-welcome-banner__check {
    color: #5fe293;
    font-weight: 700;
}

body.fleep-ui #authModal.fleep-auth-v8 .fleep-welcome-banner__art {
    position: absolute;
    z-index: 0;
    width: 300px;
    height: auto;
    max-width: none;
    aspect-ratio: 410 / 310;
    object-fit: contain;
    object-position: 70% center;
    mix-blend-mode: screen;
    opacity: 0.66;
    pointer-events: none;
}

body.fleep-ui #authModal.fleep-auth-v8 .auth-modal-box--register .fleep-welcome-banner__glow {
    right: -48px;
    bottom: 72px;
}

body.fleep-ui #authModal.fleep-auth-v8 .auth-modal-box--register .fleep-welcome-banner__art {
    right: -118px;
    bottom: 8px;
}

body.fleep-ui #authModal.fleep-auth-v8 .auth-modal-box--register .fleep-welcome-banner__legal {
    position: absolute;
    z-index: 2;
    left: 28px;
    right: 22px;
    bottom: 23px;
    margin: 0;
    padding: 0;
    font-size: 8px;
    line-height: 1.4;
    color: #626c79;
}

body.fleep-ui #authModal.fleep-auth-v8 .auth-modal-box--register .auth-modal-promo {
    order: 0 !important;
    align-self: stretch !important;
    border-bottom: none !important;
}

body.fleep-ui #authModal.fleep-auth-v8 .auth-modal-promo--hidden,
body.fleep-ui #authModal.fleep-auth-v8 .auth-modal-promo,
body.fleep-ui #authModal.fleep-auth-v8 .auth-modal-box--register .auth-modal-promo {
    display: none !important;
}

@media (max-width: 767px) {
    body.fleep-ui #authModal.fleep-auth-v8 .auth-modal-form,
    body.fleep-ui #authModal.fleep-auth-v8 .auth-modal-box--login .auth-modal-form,
    body.fleep-ui #authModal.fleep-auth-v8 .auth-modal-box--register .auth-modal-form {
        padding: 16px 16px calc(18px + env(safe-area-inset-bottom, 0px)) !important;
    }

    body.fleep-ui #authModal.fleep-auth-v8 .auth-modal-box--register .fleep-auth-body,
    body.fleep-ui #authModal.fleep-auth-v8 .auth-modal-box--login .fleep-auth-body {
        display: flex;
        flex-direction: column;
    }

    body.fleep-ui #authModal.fleep-auth-v8 .fleep-auth-panel-head {
        margin-bottom: 14px;
        padding-right: 40px;
    }

    body.fleep-ui #authModal.fleep-auth-v8 .fleep-auth-brand__logo {
        width: 112px !important;
        height: 36px !important;
        max-width: 112px !important;
        margin: 0 0 12px;
    }

    body.fleep-ui #authModal.fleep-auth-v8 .auth-tabs {
        margin: 0;
    }

    body.fleep-ui #authModal.fleep-auth-v8 .auth-tabs .tab {
        min-height: 44px;
        padding: 10px 12px;
    }

    body.fleep-ui #authModal.fleep-auth-v8 .fleep-auth-register-head {
        margin: 0 0 14px;
    }

    body.fleep-ui #authModal.fleep-auth-v8 .fleep-auth-register-head__title {
        font-size: 1.35rem;
    }

    body.fleep-ui #authModal.fleep-auth-v8 .fleep-auth-fields-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    body.fleep-ui #authModal.fleep-auth-v8 .auth-modal-promo,
    body.fleep-ui #authModal.fleep-auth-v8 .auth-modal-box--register .auth-modal-promo {
        display: none !important;
    }

    body.fleep-ui #authModal.fleep-auth-v8 .fleep-auth-close-login,
    body.fleep-ui #authModal.fleep-auth-v8 .auth-modal-box--register .fleep-auth-close-login {
        display: inline-flex !important;
        top: 12px;
        right: 12px;
    }

    body.fleep-ui #authModal.fleep-auth-v8 .auth-modal-box--register .fleep-auth-close-promo {
        display: none !important;
    }

    body.fleep-ui #authModal #loginDivider,
    body.fleep-ui #authModal #registerDivider,
    body.fleep-ui #authModal #loginTelegramWrap,
    body.fleep-ui #authModal #authTelegramWrap,
    body.fleep-ui #authModal #loginDividerGoogle,
    body.fleep-ui #authModal #registerDividerGoogle {
        display: none !important;
    }
}

/* Макет входа и регистрации: тёмный лист, пилюли, поля без рамки, белая кнопка. */
html body.fleep-ui #authModal.fleep-auth-v8 .modal-dialog.auth-modal-box,
html body.fleep-ui #authModal.fleep-auth-v8 .fleep-auth-shell {
    background: #12161e !important;
    border: 0 !important;
    border-radius: 24px !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45) !important;
}

html body.fleep-ui #authModal.fleep-auth-v8 .modal-dialog.auth-modal-box--login {
    width: min(440px, calc(100vw - 32px));
}

html body.fleep-ui #authModal.fleep-auth-v8 .modal-close {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #929aa8 !important;
}

html body.fleep-ui #authModal.fleep-auth-v8 .fleep-auth-tabs-rule {
    display: none !important;
}

html body.fleep-ui #authModal.fleep-auth-v8 .auth-tabs {
    display: flex;
    gap: 8px;
    width: auto;
    margin: 0 0 18px;
    padding: 0;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0;
}

html body.fleep-ui #authModal.fleep-auth-v8 .auth-tabs .tab {
    flex: 0 0 auto;
    min-height: 0;
    padding: 9px 14px;
    border: 0 !important;
    border-radius: 999px;
    background: #1c212b !important;
    color: #929aa8 !important;
    box-shadow: none !important;
    font-weight: 700;
}

html body.fleep-ui #authModal.fleep-auth-v8 .auth-tabs .tab.active,
html body.fleep-ui #authModal.fleep-auth-v8 .auth-modal-box--login .auth-tabs .tab.active {
    background: rgba(239, 63, 73, 0.16) !important;
    color: #fff !important;
    box-shadow: none !important;
}

html body.fleep-ui #authModal.fleep-auth-v8 .auth-modal-title,
html body.fleep-ui #authModal.fleep-auth-v8 .fleep-auth-register-head__title {
    display: block;
    margin: 0;
    font-family: var(--fleep-font-display, Manrope, Inter, sans-serif);
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    text-align: left;
    color: #f5f7fa !important;
}

html body.fleep-ui #authModal.fleep-auth-v8 .auth-modal-box--register .auth-modal-title {
    display: none;
}

html body.fleep-ui #authModal.fleep-auth-v8:has(#forgotPasswordForm:not(.hidden)) .fleep-auth-lead,
html body.fleep-ui #authModal.fleep-auth-v8:has(#resetPasswordForm:not(.hidden)) .fleep-auth-lead,
html body.fleep-ui #authModal.fleep-auth-v8 .auth-modal-box--register .fleep-auth-lead {
    display: none;
}

html body.fleep-ui #authModal.fleep-auth-v8 .fleep-auth-lead,
html body.fleep-ui #authModal.fleep-auth-v8 .fleep-auth-register-head__subtitle,
html body.fleep-ui #authModal.fleep-auth-v8 .auth-forgot-lead {
    margin: 8px 0 18px;
    color: #929aa8 !important;
    font-size: 14px;
    line-height: 1.45;
    text-align: left;
}

html body.fleep-ui #authModal.fleep-auth-v8 .fleep-auth-field-label {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 600;
    color: #929aa8;
}

html body.fleep-ui #authModal.fleep-auth-v8 .fleep-auth-fields-row {
    grid-template-columns: minmax(0, 1fr) !important;
}

html body.fleep-ui #authModal.fleep-auth-v8 .auth-input,
html body.fleep-ui #authModal.fleep-auth-v8 .auth-currency-trigger,
html body.fleep-ui #authModal.fleep-auth-v8 .auth-gender-trigger {
    min-height: 48px;
    border: 0 !important;
    border-radius: 14px !important;
    background: #1c212b !important;
    box-shadow: none !important;
}

html body.fleep-ui #authModal.fleep-auth-v8 .input-wrap:focus-within .auth-input,
html body.fleep-ui #authModal.fleep-auth-v8 .auth-currency-trigger:focus,
html body.fleep-ui #authModal.fleep-auth-v8 .auth-gender-trigger:focus,
html body.fleep-ui #authModal.fleep-auth-v8 .auth-input:-webkit-autofill,
html body.fleep-ui #authModal.fleep-auth-v8 .auth-input:-webkit-autofill:hover,
html body.fleep-ui #authModal.fleep-auth-v8 .auth-input:-webkit-autofill:focus {
    border: 0 !important;
    box-shadow: inset 0 0 0 1000px #1c212b !important;
}

html body.fleep-ui #authModal.fleep-auth-v8 .auth-forgot-row {
    text-align: right;
}

html body.fleep-ui #authModal.fleep-auth-v8 .auth-submit,
html body.fleep-ui #authModal.fleep-auth-v8 #btnLogin,
html body.fleep-ui #authModal.fleep-auth-v8 #btnForgotSend,
html body.fleep-ui #authModal.fleep-auth-v8 #btnRecoverSubmit,
html body.fleep-ui #authModal.fleep-auth-v8 #btnRegister,
html body.fleep-ui #authModal.fleep-auth-v8 #btnRegisterOneClick,
html body.fleep-ui #authModal.fleep-auth-v8 #btnRegStepNext,
html body.fleep-ui #authModal.fleep-auth-v8 #regCredContinue {
    background: #fff !important;
    color: #111 !important;
    border: 0 !important;
    border-radius: 14px !important;
    box-shadow: none !important;
    font-weight: 800;
    text-transform: none;
    letter-spacing: 0;
    min-height: 48px;
}

html body.fleep-ui #authModal.fleep-auth-v8 .auth-submit:hover:not(:disabled),
html body.fleep-ui #authModal.fleep-auth-v8 #btnLogin:hover:not(:disabled),
html body.fleep-ui #authModal.fleep-auth-v8 #btnRegister:hover:not(:disabled) {
    background: #f3f4f6 !important;
    color: #111 !important;
}

html body.fleep-ui #authModal.fleep-auth-v8 #btnRegister:disabled,
html body.fleep-ui #authModal.fleep-auth-v8 .auth-submit:disabled {
    background: #fff !important;
    color: #111 !important;
    opacity: 0.45;
}

html body.fleep-ui #authModal.fleep-auth-v8 .fleep-reg-wizard__back {
    background: #1c212b !important;
    color: #f5f7fa !important;
    border: 0 !important;
    border-radius: 14px !important;
}

html body.fleep-ui #authModal.fleep-auth-v8 .error-msg {
    padding: 0;
    background: transparent !important;
    border: 0 !important;
    color: #ff8b92 !important;
}

html body.fleep-ui #authModal.fleep-auth-v8 .auth-divider {
    color: #6f7886;
    text-transform: none;
    letter-spacing: 0;
}

html body.fleep-ui #authModal.fleep-auth-v8 .auth-divider::before,
html body.fleep-ui #authModal.fleep-auth-v8 .auth-divider::after {
    background: rgba(255, 255, 255, 0.06);
}

html body.fleep-ui #authModal.fleep-auth-v8 .auth-social-btn {
    min-height: 46px;
    border: 0 !important;
    border-radius: 14px;
    background: #1c212b !important;
    box-shadow: none !important;
}

html body.fleep-ui #authModal.fleep-auth-v8 .auth-social-btn:hover {
    background: #242a36 !important;
    border: 0 !important;
}

html body.fleep-ui #authModal.fleep-auth-v8 .fleep-auth-consents {
    padding: 0;
    border: 0;
    background: transparent;
}

html body.fleep-ui #authModal.fleep-auth-v8 .password-strength-wrap,
html body.fleep-ui #authModal.fleep-auth-v8 .password-requirements {
    display: block !important;
}

html body.fleep-ui #authModal.fleep-auth-v8 .password-strength-bar {
    height: 4px;
    background: #2a3140;
}

html body.fleep-ui #authModal.fleep-auth-v8 .password-requirements {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

html body.fleep-ui #authModal.fleep-auth-v8 .fleep-auth-promo-row {
    display: none !important;
}

html body.fleep-ui #authModal.fleep-auth-v8 #promoWrap {
    display: block !important;
}

html body.fleep-ui #authModal.fleep-auth-v8 .auth-currency-dropdown {
    border: 0;
    border-radius: 14px;
    background: #1c212b;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

@media (min-width: 900px) {
    html body.fleep-ui #authModal.fleep-auth-v8 .modal-dialog.auth-modal-box--register {
        width: min(920px, calc(100vw - 32px)) !important;
        max-height: min(90vh, 840px);
    }

    html body.fleep-ui #authModal.fleep-auth-v8 .auth-modal-box--register .fleep-auth-body {
        flex-direction: row !important;
        align-items: stretch;
    }

    html body.fleep-ui #authModal.fleep-auth-v8 .auth-modal-box--register .auth-modal-form {
        flex: 1 1 auto;
        border: 0 !important;
    }

    html body.fleep-ui #authModal.fleep-auth-v8 .auth-modal-box--register .auth-modal-promo:not(.auth-modal-promo--hidden) {
        display: flex !important;
        flex-direction: column;
        order: 1;
        flex: 0 0 320px;
        width: 320px !important;
        padding: 26px 22px !important;
        background: #141820 !important;
        border: 0 !important;
    }
}

html body.fleep-ui #authModal.fleep-auth-v8 .auth-promo-panel-idle,
html body.fleep-ui #authModal.fleep-auth-v8 .fleep-welcome-banner {
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    width: 100%;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: left;
}

html body.fleep-ui #authModal.fleep-auth-v8 .fleep-welcome-banner__art {
    display: none !important;
}

html body.fleep-ui #authModal.fleep-auth-v8 .fleep-welcome-banner__glow {
    border: 0 !important;
    box-shadow: none !important;
    background: radial-gradient(circle, rgba(239, 63, 73, 0.35), transparent 68%);
}

html body.fleep-ui #authModal.fleep-auth-v8 .fleep-welcome-banner__eyebrow {
    color: #ef3f49;
    font-size: 11px;
    letter-spacing: 0.18em;
}

html body.fleep-ui #authModal.fleep-auth-v8 .fleep-welcome-banner__amount-line {
    margin-top: 10px;
    font-family: var(--fleep-font-display, Manrope, Inter, sans-serif);
    font-size: 40px;
}

html body.fleep-ui #authModal.fleep-auth-v8 .fleep-welcome-banner__amount-label {
    font-size: 16px;
    color: #f5f7fa;
}

html body.fleep-ui #authModal.fleep-auth-v8 .fleep-welcome-banner__spins {
    margin-top: 8px;
    font-family: var(--fleep-font-display, Manrope, Inter, sans-serif);
    font-size: 22px;
    color: #ef3f49;
}

html body.fleep-ui #authModal.fleep-auth-v8 .fleep-welcome-banner__desc {
    max-width: none;
    margin-top: 12px;
    font-size: 14px;
    color: #929aa8;
}

html body.fleep-ui #authModal.fleep-auth-v8 .fleep-welcome-banner__benefits {
    gap: 8px;
    margin-top: 16px;
}

html body.fleep-ui #authModal.fleep-auth-v8 .fleep-welcome-banner__benefits li {
    font-size: 14px;
    font-weight: 500;
}

html body.fleep-ui #authModal.fleep-auth-v8 .fleep-welcome-banner__check {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #ef3f49;
    color: transparent;
    font-size: 0;
    overflow: hidden;
}

html body.fleep-ui #authModal.fleep-auth-v8 .auth-modal-box--register .fleep-welcome-banner__legal {
    position: static;
    margin-top: 24px;
    font-size: 12px;
    color: #6f7886;
}

body.fleep-ui #authModal .reg-field-wrap.is-invalid .auth-input,
body.fleep-ui #authModal .input-wrap.is-invalid .auth-input {
    border-color: #ef3f49 !important;
    box-shadow: 0 0 0 3px rgba(239, 63, 73, 0.18);
}

@media (max-width: 899px) {
    html body.fleep-ui #authModal.fleep-auth-v8 .auth-modal-promo,
    html body.fleep-ui #authModal.fleep-auth-v8 .auth-modal-box--register .auth-modal-promo {
        display: none !important;
    }
}
