/* 登录页面样式 */ body { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 100vh; display: flex; align-items: center; justify-content: center; } .login-container { width: 100%; max-width: 450px; padding: 20px; } .login-box { background: #fff; border-radius: 12px; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3); overflow: hidden; } .login-header { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; padding: 30px 20px; text-align: center; } .login-header h1 { font-size: 24px; margin-bottom: 8px; font-weight: 600; } .login-header p { font-size: 12px; opacity: 0.9; font-weight: 300; } .login-form { padding: 30px; } .login-form .form-group { margin-bottom: 20px; } .login-form .form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: #333; } .login-form input, .login-form select { width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 6px; font-size: 14px; transition: all 0.3s; } .login-form input:focus, .login-form select:focus { outline: none; border-color: #667eea; box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1); } .btn-login { width: 100%; padding: 12px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; border: none; border-radius: 6px; font-size: 16px; font-weight: 600; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; margin-top: 10px; } .btn-login:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3); } .btn-login:active { transform: translateY(0); } .login-footer { margin-top: 20px; text-align: center; display: flex; justify-content: space-between; } .login-footer a { color: #667eea; text-decoration: none; font-size: 13px; transition: color 0.3s; } .login-footer a:hover { color: #764ba2; text-decoration: underline; } .demo-accounts { background: #f8f9fa; padding: 15px 30px; border-top: 1px solid #e9ecef; } .demo-accounts p { font-size: 12px; color: #666; margin-bottom: 8px; font-weight: 600; } .demo-accounts ul { list-style: none; } .demo-accounts li { font-size: 11px; color: #888; padding: 3px 0; } /* 响应式设计 */ @media (max-width: 480px) { .login-container { padding: 10px; } .login-header h1 { font-size: 20px; } .login-form { padding: 20px; } }