.auth-page {
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
}

.auth-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 640px;
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 2px 4px 10px rgb(0 0 0 / 25%);
    overflow: hidden;
}

.auth-card--login {
    max-width: 640px;
}

.auth-card--register {
    max-width: 610px;
}

.auth-tabs {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border-bottom: 1px solid #ececec;
    background: rgba(255, 255, 255, 0.45);
}

.auth-tab {
    font-family: "Cinzel", serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
    color: #222222;
    transition: 0.25s ease;
}

.auth-tab.active {
    color: #fb5d5d;
}

.auth-divider {
    font-size: 22px;
    color: #222222;
}

.auth-body {
    padding: 54px 44px 48px;
}

.auth-form {
    max-width: 480px;
    margin: 0 auto;
}

.auth-field {
    margin-bottom: 20px;
}

.auth-field input,
.auth-field select {
    width: 100%;
    height: 52px;
    border: 1px solid #e3e3e3;
    background: #fff;
    padding: 0 16px;
    font-size: 16px;
    color: #444;
    outline: none;
    transition: 0.25s ease;
}

.auth-field input::placeholder {
    color: #7a7a7a;
}

.auth-field input:focus,
.auth-field select:focus {
    border-color: #fb5d5d;
}

.auth-field--phone {
    display: flex;
    gap: 0;
}

.phone-box {
    width: 120px;
    min-width: 120px;
    height: 52px;
    border: 1px solid #e3e3e3;
    border-right: none;
    background: #fff;
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 8px;
}

.phone-box select {
    width: 42px;
    border: none;
    padding: 0;
    background: transparent;
    font-size: 18px;
    cursor: pointer;
}

.phone-box select:focus {
    border: none;
}

.phone-code {
    font-size: 16px;
    color: #444;
    white-space: nowrap;
}

.auth-field--phone input {
    border-left: none;
}

.auth-row {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.auth-row--start {
    justify-content: flex-start;
}

.auth-btn {
    min-width: 114px;
    height: 50px;
    border: none;
    padding: 0 26px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.auth-btn--login {
    background: #fb5d5d;
    color: #FFFFFF;
}

.auth-btn--login:hover {
    background: linear-gradient(-155deg, #fd3d6b 0, #fd7863 98%, #f3dfe0 100%);
    color: #FFFFFF;
}

.auth-btn--register {
    background: #fb5d5d;
    color: #FFFFFF;
}

.auth-btn--register:hover {
    background: linear-gradient(-155deg, #fd3d6b 0, #fd7863 98%, #f3dfe0 100%);
    color: #FFFFFF;
}

.forgot-link {
    font-size: 16px;
    color: #000;
}

.forgot-link:hover {
    color: #ff6464;
}

@media (max-width: 767px) {
    .auth-page {
        padding: 24px 14px;
    }

    .auth-card {
        max-width: 100%;
    }

    .auth-tabs {
        height: 68px;
        gap: 12px;
    }

    .auth-tab {
        font-size: 18px;
    }

    .auth-divider {
        font-size: 18px;
    }

    .auth-body {
        padding: 30px 20px 28px;
    }

    .auth-form {
        max-width: 100%;
    }

    .auth-field {
        margin-bottom: 16px;
    }

    .auth-field input,
    .auth-field select,
    .phone-box {
        height: 48px;
        font-size: 15px;
    }

    .phone-box {
        width: 100px;
        min-width: 100px;
    }

    .auth-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .auth-btn {
        min-width: 120px;
        height: 46px;
    }

    .forgot-link {
        font-size: 15px;
    }
}