/* Стили для страницы авторизации */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.auth-box {
    background: #1e1e1e;
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    animation: fadeIn 0.5s ease-out;
    border: 1px solid #3d3d3d;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    font-size: 2.2em;
    color: #ffffff;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.auth-header p {
    color: #b0b0b0;
    font-size: 0.95em;
}

.auth-form {
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #c0c0c0;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.password-input {
    position: relative;
}

.password-input input {
    width: 95%;
    padding: 12px 2px 12px 15px;
    border: 2px solid #3d3d3d;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
    background: #2d2d2d;
    color: #e0e0e0;
}

.password-input input:focus {
    border-color: #10b981;
    outline: none;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #8a8a8a;
    cursor: pointer;
    font-size: 1.2em;
    padding: 5px;
}

.toggle-password:hover {
    color: #10b981;
}

/* Уведомления */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-error {
    background: rgba(212, 12, 12, 0.1);
    color: #ff6b6b;
    border-left: 4px solid #d40c0c;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-left: 4px solid #0d9668;
}

/* Футер авторизации */
.auth-footer {
    border-top: 1px solid #3d3d3d;
    padding-top: 20px;
}

.security-info, .attempts-warning {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #8a8a8a;
    font-size: 0.85em;
    margin-bottom: 10px;
}

.security-info i {
    color: #10b981;
}

.attempts-warning i {
    color: #d40c0c;
}