﻿.auth-page {
    min-height: calc(100vh - 120px);
    padding: 120px 0 70px;
    display: flex;
    align-items: flex-start;
    background: radial-gradient(circle at center, rgba(255, 193, 7, 0.08), transparent 28%), linear-gradient(180deg, #08090c 0%, #121317 100%);
}

.auth-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.auth-card {
    width: 100%;
    max-width: 520px;
    background: rgba(18, 18, 22, 0.96);
    border: 1px solid rgba(255, 193, 7, 0.16);
    border-radius: 20px;
    padding: 34px 34px 30px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 28px;
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 14px 8px;
    text-decoration: none;
    color: rgba(255,255,255,0.58);
    font-weight: 700;
    letter-spacing: 0.06em;
    transition: color 0.2s ease, border-color 0.2s ease;
}

    .auth-tab.active {
        color: #f3c63f;
        border-bottom: 2px solid #f3c63f;
    }

.auth-logo {
    text-align: center;
    margin-bottom: 26px;
}

    .auth-logo img {
        width: 220px;
        max-width: 100%;
        height: auto;
    }

.auth-form .form-group {
    margin-bottom: 18px;
}

.auth-form label {
    display: block;
    margin-bottom: 8px;
    color: #f5f5f5;
    font-weight: 500;
}

.auth-input {
    height: 54px;
    border-radius: 12px;
    background: #090a0d;
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    padding: 12px 14px;
}

    .auth-input::placeholder {
        color: rgba(255,255,255,0.35);
    }

    .auth-input:focus {
        background: #090a0d;
        color: #fff;
        border-color: #f3c63f;
        box-shadow: 0 0 0 0.2rem rgba(243, 198, 63, 0.14);
    }

.auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 6px 0 14px;
}

.auth-check {
    color: rgba(255,255,255,0.8);
    margin: 0;
}

.auth-forgot {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.95rem;
}

    .auth-forgot:hover {
        color: #f3c63f;
    }

.auth-terms {
    margin-bottom: 18px;
    color: rgba(255,255,255,0.62);
    font-size: 0.95rem;
}

    .auth-terms a {
        color: #f3c63f;
        text-decoration: none;
        font-weight: 600;
    }

.auth-captcha {
    display: flex;
    justify-content: center;
    margin: 18px 0 22px;
}

.auth-submit {
    width: 100%;
    height: 56px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(180deg, #f3c63f 0%, #c99d1f 100%);
    color: #211700;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    box-shadow: 0 10px 24px rgba(243, 198, 63, 0.24);
    transition: transform 0.15s ease, filter 0.15s ease;
}

    .auth-submit:hover {
        transform: translateY(-1px);
        filter: brightness(1.03);
    }

.auth-error,
.field-error {
    color: #ff6b6b;
    font-size: 0.92rem;
}

    .validation-summary-errors ul,
    .auth-error ul {
        margin: 0 0 14px;
        padding-left: 18px;
    }

@media (max-width: 576px) {
    .auth-page {
        padding: 100px 0 50px;
    }

    .auth-card {
        padding: 24px 18px;
        border-radius: 16px;
    }

    .auth-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .auth-captcha {
        justify-content: flex-start;
        overflow-x: auto;
    }
}
