        .auth-container {
            max-width: 400px;
            margin: 100px auto;
            padding: 30px;
            background: #fff;
            border-radius: 16px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        .auth-container h1 {
            text-align: center;
            margin-bottom: 30px;
            color: #2c3e50;
        }
        .auth-container input {
            width: 100%;
            padding: 12px;
            margin-bottom: 15px;
            border: 1px solid #dee2e6;
            border-radius: 8px;
            font-size: 1rem;
        }
        .auth-container button {
            width: 100%;
            padding: 12px;
            background: #e74c3c;
            color: #fff;
            border: none;
            border-radius: 8px;
            font-size: 1rem;
            cursor: pointer;
        }
        .auth-container button:hover {
            background: #c0392b;
        }
        .auth-container .error {
            background: #f8d7da;
            color: #721c24;
            padding: 10px;
            border-radius: 8px;
            margin-bottom: 20px;
            text-align: center;
        }
        .auth-container .links {
            text-align: center;
            margin-top: 20px;
        }
        .auth-container .links a {
            color: #3498db;
            text-decoration: none;
        }
        body.dark-theme .auth-container {
            background: #16213e;
        }
        body.dark-theme .auth-container h1 {
            color: #fff;
        }

/* Alert messages */
.alert-success {
    background: #d4edda;
    color: #155724;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
    text-align: center;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
    text-align: center;
}

/* Тёмная тема */
body.dark-theme .alert-success {
    background: #1a3a1a;
    color: #90ee90;
    border-color: #2e7d32;
}

body.dark-theme .alert-error {
    background: #3a1a1a;
    color: #ff9999;
    border-color: #c62828;
}
