/* static/css/auth.css */
body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #1f1c2c, #928dab); /* 优雅渐变 */
    font-family: "Segoe UI", sans-serif;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-size: cover;
    background-position: center;
}

.auth-container {
    background: rgba(28, 31, 38, 0.85); /* 半透明玻璃效果 */
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    text-align: center;
    width: 90%;
    max-width: 400px;
}

.auth-container h2 {
    margin-bottom: 20px;
    font-weight: normal;
    font-size: 24px;
}

.auth-container input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: none;
    outline: none;
    background: #2b2f3a;
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.auth-container input[type="submit"] {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    background: #4e9af1;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.auth-container input[type="submit"]:hover {
    background: #3880d9;
}

.auth-container .error {
    color: #ff6b6b;
    margin-bottom: 15px;
    font-size: 14px;
}
