* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background: #f5f1eb;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all 0.3s ease;
}

body.dark-theme {
    background: #121212;
    color: #e8e4de;
}

.auth-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    padding: 50px;
    text-align: center;
    max-width: 400px;
    width: 100%;
    transition: all 0.3s ease;
}

body.dark-theme .auth-container {
    background: #666666;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.auth-header {
    margin-bottom: 40px;
}

.auth-header h1 {
    color: #333;
    font-size: 2.5em;
    margin-bottom: 10px;
}

body.dark-theme .auth-header h1 {
    color: #e8e4de;
}

.auth-header p {
    color: #e8e4de;
    font-size: 1.1em;
}

.auth-form {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

body.dark-theme .form-group label {
    color: #e8e4de;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #d4a574;
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

body.dark-theme .form-group input {
    background: #555555;
    border-color: #777777;
    color: #e8e4de;
}

body.dark-theme .form-group input:focus {
    border-color: #8b6914;
    box-shadow: 0 0 0 3px rgba(139, 105, 20, 0.1);
}

.btn-login {
    width: 100%;
    padding: 15px;
    background: #d4a574;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

body.dark-theme .btn-login {
    background: #8b6914;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.3);
}

body.dark-theme .btn-login:hover {
    box-shadow: 0 8px 25px rgba(139, 105, 20, 0.3);
}

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

.lock-icon {
    font-size: 4em;
    color: #d4a574;
    margin-bottom: 20px;
}

body.dark-theme .lock-icon {
    color: #8b6914;
}

.info-text {
    color: #666;
    font-size: 0.9em;
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}