.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: var(--white);
    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-card--account{
    max-width: 900px;
}

.auth-tabs {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.45);
}

.auth-tab {
    font-family: "Cinzel", serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
    color: var(--text);
    transition: 0.25s ease;
    text-align: center;
}

.auth-tab.active {
    color: var(--accent);
}

.auth-divider {
    font-size: 22px;
    color: var(--text);
}

.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 var(--border);
    background: var(--white);
    padding: 0 16px;
    font-size: 16px;
    color: var(--text-soft);
    outline: none;
    transition: 0.25s ease;
}

.auth-field input::placeholder {
    color: var(--text-soft);
}

.auth-field input:focus,
.auth-field select:focus {
    border-color: var(--accent);
}

.auth-field--phone {
    display: flex;
    gap: 0;
}

.phone-box {
    width: 120px;
    min-width: 120px;
    height: 52px;
    border: 1px solid var(--border);
    border-right: none;
    background: var(--bg);
    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: var(--text-soft);
    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;
    text-transform: uppercase;
}

.auth-btn--login {
    background: var(--accent);
    color: var(--white);
}

.auth-btn--login:hover {
    background: var(--accent-dark);
    color: var(--white);
}

.auth-btn--register {
    background: var(--accent);
    color: var(--white);
}

.auth-btn--register:hover {
    background: var(--accent-dark);
    color: var(--white);
}

.forgot-link {
    font-size: 16px;
    color: var(--text);
}

.forgot-link:hover {
    color: var(--accent-dark);
}

@media (max-width: 767px) {
    .auth-page {
        padding: 24px 14px;
    }

    .auth-card {
        max-width: 100%;
    }

    .auth-tabs {
        height: auto;
        gap: 12px;
        padding: 10px;
    }

    .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;
    }
}