* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 100vh; padding: 20px; display: flex; justify-content: center; align-items: center; } .container { width: 100%; max-width: 600px; background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15); } /* 头部卡片 */ .header-card { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 40px 20px; text-align: center; position: relative; } .avatar-container { margin-bottom: 20px; } .avatar { width: 80px; height: 80px; background: rgba(255, 255, 255, 0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto; font-size: 32px; color: white; border: 3px solid rgba(255, 255, 255, 0.4); } .company-name { font-size: 24px; font-weight: 600; margin-bottom: 8px; letter-spacing: 0.5px; } .company-info { font-size: 14px; opacity: 0.9; font-weight: 500; } /* 主要内容 */ .main-content { padding: 30px 20px; } .form-group { margin-bottom: 25px; } .form-label { display: block; font-size: 14px; color: #333; margin-bottom: 10px; font-weight: 500; } .form-input { width: 100%; padding: 12px 15px; font-size: 14px; border: 1px solid #e5e5e5; border-radius: 8px; outline: none; transition: all 0.3s ease; background-color: #f8f9fa; } .form-input:focus { border-color: #667eea; background-color: white; box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1); } .form-input::placeholder { color: #999; } /* 验证码部分 */ .code-section { background: #f8f9fa; padding: 20px; border-radius: 12px; margin-bottom: 30px; } .code-prompt { display: block; font-size: 13px; color: #ff8c42; margin-bottom: 15px; font-weight: 500; } #code-count { font-weight: 700; color: #ff8c42; } .btn-primary { width: 100%; padding: 14px; font-size: 16px; font-weight: 600; color: white; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border: none; border-radius: 8px; cursor: pointer; transition: all 0.3s ease; margin-bottom: 12px; box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3); } .btn-primary:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4); } .btn-primary:active:not(:disabled) { transform: translateY(0); } .btn-primary:disabled { opacity: 0.6; cursor: not-allowed; } .code-tips { font-size: 12px; color: #999; line-height: 1.6; margin: 0; } /* 历史记录部分 */ .history-section { margin-top: 30px; } .history-title { font-size: 16px; font-weight: 600; color: #333; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid #f0f0f0; } .history-table-container { overflow-x: auto; border-radius: 8px; background: #f8f9fa; } .history-table { width: 100%; border-collapse: collapse; font-size: 13px; } .history-table thead { background: #f0f0f0; } .history-table th { padding: 12px 10px; text-align: left; font-weight: 600; color: #333; border-bottom: 1px solid #e5e5e5; } .history-table td { padding: 12px 10px; border-bottom: 1px solid #e5e5e5; color: #666; } .history-table tbody tr:last-child td { border-bottom: none; } .history-table tbody tr:hover { background: #f5f5f5; } .empty-row { text-align: center; color: #999; } .empty-row td { padding: 40px 10px; font-size: 14px; } /* 操作按钮 */ .btn-action { background: none; border: none; color: #667eea; cursor: pointer; font-size: 12px; font-weight: 600; padding: 4px 8px; border-radius: 4px; transition: all 0.2s ease; } .btn-action:hover { background: rgba(102, 126, 234, 0.1); color: #764ba2; } /* 响应式设计 */ @media (max-width: 480px) { .container { margin: 0; border-radius: 12px; } .header-card { padding: 30px 15px; } .company-name { font-size: 20px; } .main-content { padding: 20px 15px; } .history-table { font-size: 12px; } .history-table th, .history-table td { padding: 10px 8px; } } /* 禁用状态 */ .form-input:disabled { background-color: #f0f0f0; cursor: not-allowed; } /* 加载状态动画 */ @keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.6; } 100% { opacity: 1; } } .loading { animation: pulse 1.5s ease-in-out infinite; }