/* Фон для авторизации */
body {
    margin: 0;
    font-family: Tahoma, sans-serif;
}
.auth-bg {
    position: fixed;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: url('/public/images/bg_auth.jpg') center/cover no-repeat;
    filter: brightness(40%);
    z-index: -1;
}

/* Контейнер */
.auth-container {
    width: 380px;
    margin: 120px auto;
    padding: 30px 35px;
    background: rgba(0,0,0,0.65);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    color: #fff;
}

/* Анимация */
.fade-in {
    animation: fade 0.7s ease;
}
@keyframes fade {
    from { opacity: 0; transform: translateY(15px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Заголовок */
.auth-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}
.auth-title span {
    color: #00e0ff;
}

/* Ошибки и успех */
.auth-error {
    background: rgba(255,60,60,0.8);
    padding: 8px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
    text-align: center;
}
.auth-success {
    background: rgba(80,255,80,0.8);
    padding: 8px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
    text-align: center;
}

/* Форма */
.auth-form label {
    font-size: 13px;
    margin-top: 10px;
    display: block;
    opacity: 0.85;
}

.auth-form input {
    width: 100%;
    padding: 10px;
    margin-top: 4px;
    border: none;
    border-radius: 6px;
    outline: none;
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 15px;
}

.auth-form input::placeholder {
    color: #b8c4c9;
}

/* Кнопка */
.auth-btn {
    width: 100%;
    margin-top: 18px;
    padding: 12px;
    background: linear-gradient(45deg, #00b7ff, #00e0ff);
    border: none;
    border-radius: 6px;
    color: #000;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
.auth-btn:hover {
    filter: brightness(1.15);
}

/* Ссылки */
.auth-bottom {
    margin-top: 15px;
    text-align: center;
    font-size: 13px;
    opacity: 0.9;
}
.auth-bottom a {
    color: #00e0ff;
    text-decoration: none;
}
.auth-bottom a:hover {
    text-decoration: underline;
}

/* Демо-инфо */
.auth-demo {
    margin-top: 10px;
    text-align: center;
    font-size: 12px;
    opacity: 0.9;
}
