/* assets/css/auth.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 登录表单特定样式 */
.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form .form-group label {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.auth-form .form-group input {
    padding: 0.85rem;
    transition: all 0.3s;
}

.auth-form .form-group input:focus {
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* 响应式优化 */
@media (max-width: 480px) {
    .auth-container {
        max-width: 100%;
    }
    
    .auth-form {
        padding: 1.5rem;
    }
    
    .auth-form h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .form-group input {
        padding: 0.75rem;
    }
    
    .btn {
        padding: 0.75rem;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #333;
}

.auth-container {
    width: 100%;
    max-width: 400px;
}

.auth-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.auth-form h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1rem;
}

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

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e1e5ee;
    border-radius: 5px;
    font-size: 1rem;
    transition: border 0.3s;
}

.form-group input:focus {
    border-color: #6a11cb;
    outline: none;
}

.btn {
    width: 100%;
    padding: 0.85rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1f6dad 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.btn-primary:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.alert {
    padding: 0.75rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    text-align: center;
}

.alert-error {
    background: #ffeaea;
    color: #dc3545;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background: #e8f5e8;
    color: #28a745;
    border: 1px solid #c3e6cb;
}

.auth-form p {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.auth-form p a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

.auth-form p a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.auth-form a {
    color: #6a11cb;
    text-decoration: none;
}

.auth-form a:hover {
    text-decoration: underline;
}