:root {
    --auth-bg: #f1eee7;
    --auth-card: #ffffff;
    --auth-text: #11141b;
    --auth-muted: #6b7486;
    --auth-border: #c7d0df;
    --auth-border-dark: #aeb8c8;
    --auth-soft: #f4f4f4;
    --auth-black: #1b1b1e;
    --auth-lime: #dfff2e;
    --auth-pink: #f04bd3;
    --auth-radius: 10px;
    --auth-transition: 220ms ease;
}

body {
    margin: 0;
    font-family: "Inter Tight", Arial, sans-serif;
    color: var(--auth-text);
    background: var(--auth-bg);
    line-height: 1.32;
}

a {
    color: inherit;
    text-decoration: none;
}

.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--auth-bg);
}

.auth-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 74px 16px 58px;
}

.auth-card {
    width: 100%;
    max-width: 492px;
    background: var(--auth-card);
    border-radius: 11px;
    padding: 44px 27px 28px;
    box-shadow: 0 1px 0 rgba(17, 20, 27, .02);
}

.auth-logo {
    width: 105px;
    height: 38px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #17171b;
    font-size: 39px;
    font-weight: 900;
    letter-spacing: -3px;
    line-height: 1;
    position: relative;
}

.auth-logo img {
    width: 150px;
    height: 80px;
    object-fit: contain;
}


.auth-heading {
    margin: -6px 0 6px;
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.2px;
}

.auth-heading.is-hidden {
    display: none;
}

.auth-subtitle {
    margin: 0 0 22px;
    text-align: center;
    color: #11141b;
    font-size: 17px;
    font-weight: 500;
}

.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 56px;
    margin-bottom: 18px;
    padding: 4px;
    background: #f3f3f3;
    border-radius: 9px;
}

.auth-tab-btn {
    border: 0;
    background: transparent;
    border-radius: 8px;
    color: #606060;
    font-size: 18px;
    font-weight: 800;
    transition: background-color var(--auth-transition), color var(--auth-transition), box-shadow var(--auth-transition);
}

.auth-tab-btn.active {
    background: #ffffff;
    color: #11141b;
    box-shadow: 0 1px 4px rgba(17, 20, 27, .04);
}

.auth-tab-bonus {
    display: block;
    width: max-content;
    margin: 5px auto 0;
    padding: 2px 8px;
    border-radius: 3px;
    background: var(--auth-lime);
    color: #202329;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.1;
}

.auth-tab-bonus i {
    margin-right: 4px;
    color: #17191f;
}

.auth-pane {
    display: none;
}

.auth-pane.active {
    display: block;
}

.register-coupon {
    min-height: 34px;
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px;
    padding: 0 12px;
    border-radius: 4px;
    background: var(--auth-lime);
    color: #202329;
    font-size: 13px;
    font-weight: 600;
}

.register-coupon i {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    background: #1e2027;
    color: #ffffff;
    font-size: 10px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-field {
    position: relative;
}

.auth-input {
    width: 100%;
    height: 53px;
    border: 1px solid var(--auth-border);
    border-radius: 6px;
    padding: 18px 14px 7px;
    color: #11141b;
    background: #ffffff;
    font-size: 18px;
    font-weight: 500;
    outline: none;
    transition: border-color var(--auth-transition), box-shadow var(--auth-transition);
}

.auth-input::placeholder {
    color: transparent;
}

.auth-label {
    position: absolute;
    top: 8px;
    left: 14px;
    color: #7b88a0;
    font-size: 12px;
    font-weight: 500;
    pointer-events: none;
    transition: all var(--auth-transition);
}

.auth-input:placeholder-shown {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 16px;
}

.auth-input:placeholder-shown + .auth-label {
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
}

.auth-input:focus {
    border-color: #7185a8;
    box-shadow: 0 0 0 3px rgba(71, 94, 135, .08);
}

.auth-input:focus + .auth-label,
.auth-input:not(:placeholder-shown) + .auth-label {
    top: 8px;
    transform: none;
    font-size: 12px;
}

.password-field .auth-input {
    padding-right: 48px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 13px;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: #61718d;
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color var(--auth-transition), transform var(--auth-transition);
}

.password-toggle:hover {
    color: #17191f;
    transform: translateY(-50%) scale(1.04);
}

.register-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.phone-grid {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 12px;
}

.password-rules {
    margin: -3px 0 3px;
    padding-left: 3px;
    color: #777f8f;
    font-size: 12px;
    line-height: 1.65;
}

.password-rules div::before {
    content: "";
    width: 5px;
    height: 5px;
    display: inline-block;
    margin-right: 6px;
    border-radius: 50%;
    background: #b9bec8;
    transform: translateY(-1px);
}

.gender-title {
    margin: 4px 0 -2px;
    font-size: 14px;
    font-weight: 700;
    color: #11141b;
}

.gender-title span {
    font-weight: 500;
    color: #6f7786;
}

.gender-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.gender-option input {
    display: none;
}

.gender-option span {
    height: 43px;
    border: 1px solid #c7cbd3;
    border-radius: 5px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #17191f;
    font-size: 15px;
    font-weight: 500;
    transition: border-color var(--auth-transition), color var(--auth-transition), background-color var(--auth-transition);
    cursor: pointer;
}

.gender-option input:checked + span {
    border-color: #17191f;
    background: #f7f7f8;
    font-weight: 800;
}

.auth-checks {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin-top: 8px;
}

.auth-check {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    color: #2b313d;
    font-size: 13px;
    line-height: 1.28;
}

.auth-check input {
    width: 18px;
    height: 18px;
    margin: 0;
    border: 1px solid #aeb5c1;
    border-radius: 3px;
    box-shadow: none;
}

.auth-check a,
.auth-kvkk a {
    text-decoration: underline;
    color: #2b313d;
}

.auth-check a:hover,
.auth-kvkk a:hover {
    color: var(--auth-pink);
}

.auth-kvkk {
    margin: 2px 0 8px;
    color: #2b313d;
    font-size: 12.5px;
    line-height: 1.35;
}

.auth-submit {
    width: 100%;
    height: 55px;
    border: 0;
    border-radius: 5px;
    background: var(--auth-black);
    color: #ffffff;
    font-size: 19px;
    font-weight: 800;
    transition: background-color var(--auth-transition), transform var(--auth-transition), box-shadow var(--auth-transition);
}

.auth-submit:hover {
    background: #000;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(17, 20, 27, .13);
}

.auth-divider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
    margin: 19px 0 14px;
    color: #42506a;
    font-size: 13px;
    font-weight: 500;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    height: 1px;
    background: #d8dde7;
}

.auth-social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.auth-social {
    height: 53px;
    border: 1px solid #cfcfcf;
    border-radius: 6px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    transition: border-color var(--auth-transition), transform var(--auth-transition), box-shadow var(--auth-transition);
}

.auth-social:hover {
    border-color: #aeb5c1;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(17, 20, 27, .06);
}

.auth-social.google {
    color: #4285f4;
}

.auth-social.facebook {
    color: #1877f2;
}

.auth-help {
    margin-top: 28px;
    min-height: 78px;
    padding: 13px 18px;
    border-radius: 5px;
    background: #fbfbfc;
    color: #34415a;
    text-align: center;
    font-size: 14px;
    line-height: 1.35;
}

.auth-help strong {
    display: block;
    margin-bottom: 7px;
    font-weight: 800;
}



@media (max-width: 767.98px) {
    .auth-main {
        align-items: flex-start;
        padding: 28px 12px 36px;
    }

    .auth-card {
        max-width: 100%;
        padding: 28px 16px 20px;
        border-radius: 10px;
    }

    .auth-logo {
        margin-bottom: 18px;
    }

    .auth-heading {
        font-size: 20px;
    }

    .auth-subtitle {
        font-size: 15px;
        margin-bottom: 18px;
    }

    .auth-tabs {
        height: 52px;
    }

    .auth-tab-btn {
        font-size: 16px;
    }

    .auth-tab-bonus {
        font-size: 9.5px;
        padding: 2px 6px;
    }

    .auth-input {
        height: 50px;
        font-size: 16px;
    }

    .register-grid-2,
    .phone-grid {
        grid-template-columns: 1fr;
    }

    .auth-submit {
        height: 52px;
        font-size: 17px;
    }

    .auth-footer {
        padding: 22px 0;
    }

    .auth-footer-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .footer-payments {
        width: 100%;
        gap: 18px;
        flex-wrap: wrap;
    }
}
