/* Стили авторизации и регистрации */

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 40px 20px;
}

.auth-box {
    background: rgba(10, 14, 20, 0.75);
    border-radius: 22px;
    padding: 40px 36px;
    max-width: 420px;
    width: 100%;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1.5px solid rgba(99, 230, 255, 0.13);
    box-shadow: 0 8px 32px rgba(0, 180, 255, 0.10);
}

.auth-box h2 {
    text-align: center;
    color: #63e6ff;
    font-family: 'Russo One', 'Impact', sans-serif;
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 28px;
}

.auth-errors {
    background: rgba(255, 50, 50, 0.15);
    border: 1px solid rgba(255, 50, 50, 0.4);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 20px;
}

.auth-errors p {
    color: #ff6b6b;
    margin: 4px 0;
    font-size: 0.95em;
}

.auth-field {
    margin-bottom: 20px;
}

.auth-field label {
    display: block;
    color: #b0c4de;
    font-size: 0.9em;
    margin-bottom: 6px;
    font-weight: 600;
}

.auth-field input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(99, 230, 255, 0.25);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 1em;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

.auth-field input:focus {
    border-color: #00aaff;
    box-shadow: 0 0 12px rgba(0, 170, 255, 0.25);
}

.auth-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: rgba(0, 120, 255, 0.25);
    border: 1px solid rgba(0, 170, 255, 0.4);
    color: #fff;
    font-size: 1.05em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.auth-btn:hover {
    background: rgba(0, 140, 255, 0.4);
    box-shadow: 0 0 20px rgba(0, 170, 255, 0.3);
    transform: translateY(-2px);
}

.auth-divider {
    text-align: center;
    margin: 24px 0;
    position: relative;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: rgba(99, 230, 255, 0.2);
}

.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }

.auth-divider span {
    color: #7aa;
    font-size: 0.9em;
    padding: 0 12px;
    background: rgba(10, 14, 20, 0.75);
}

.discord-btn {
    display: block;
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    background: #5865F2;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 1.05em;
    font-weight: 700;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.discord-btn:hover {
    background: #4752C4;
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
    transform: translateY(-2px);
}

.auth-links {
    text-align: center;
    margin-top: 20px;
}

.auth-links a {
    color: #63e6ff;
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.2s;
}

.auth-links a:hover {
    color: #fff;
}

/* Password requirements */
.password-requirements {
    margin-top: 10px;
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.06);
}
.pwd-req {
    font-size: 0.82em;
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}
.pwd-icon {
    font-weight: bold;
    font-size: 1em;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}
.pwd-fail {
    color: #ff6b6b;
}
.pwd-fail .pwd-icon {
    color: #ff4444;
}
.pwd-ok {
    color: #51cf66;
}
.pwd-ok .pwd-icon {
    color: #40c057;
}
.auth-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    filter: grayscale(0.5);
}

@media (max-width: 500px) {
    .auth-box {
        padding: 28px 18px;
    }
}
