/**
 * /public/assets/css/auth.css
 * Стили страниц авторизации.
 */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('/assets/images/bg-login.jpg') center/cover no-repeat;
    position: relative;
}

.auth-page::before {
    content: '';
    position: absolute;
    inset: 0;
    /*background: rgba(10, 10, 30, 0.75);*/
}

.auth-form {
    position: relative;
    z-index: 1;
    background: rgba(20, 20, 50, 0.9);
    border: 1px solid #3a3a6a;
    border-radius: 12px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 0 40px rgba(100, 80, 200, 0.3);
}

.auth-form h2 {
    text-align: center;
    color: #ffd700;
    margin-bottom: 24px;
    font-size: 1.6em;
}

.auth-form .input-group {
    margin-bottom: 16px;
}

.auth-form label {
    display: block;
    color: #aaa;
    margin-bottom: 4px;
    font-size: 0.85em;
}

.auth-form input {
    width: 100%;
    padding: 10px 14px;
    background: #1a1a33;
    border: 1px solid #3a3a6a;
    border-radius: 6px;
    color: #fff;
    font-size: 1em;
}

.auth-form input:focus {
    border-color: #ffd700;
    outline: none;
}

.auth-form .btn-primary {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #b8860b, #ffd700);
    border: none;
    border-radius: 6px;
    color: #0a0a1a;
    font-weight: bold;
    font-size: 1em;
    cursor: pointer;
    margin-top: 8px;
}

.auth-form .btn-primary:hover {
    background: linear-gradient(135deg, #ffd700, #ffed4a);
}

.auth-form .remember-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.auth-form .remember-row input[type="checkbox"] {
    width: auto;
}

.auth-form .links {
    text-align: center;
    margin-top: 16px;
    font-size: 0.9em;
}

.auth-form .links a {
    color: #aaa;
    text-decoration: none;
}

.auth-form .links a:hover {
    color: #ffd700;
}

.auth-message {
    text-align: center;
    margin-top: 12px;
    font-size: 0.9em;
    color: #ff6b6b;
    min-height: 20px;
}