/* ============================================
   IO一体化平台 - 全局样式
   ============================================ */

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

body {
  font-family: 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #f0f2f5;
  color: #333;
  font-size: 14px;
  line-height: 1.6;
}

/* ============================================
   登录页面样式
   ============================================ */
.login-body {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-container {
  display: flex;
  width: 100%;
  max-width: 960px;
  min-height: 560px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.login-left {
  flex: 1;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 50px 40px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.login-brand {
  text-align: center;
}

.brand-logo {
  font-size: 64px;
  margin-bottom: 16px;
}

.login-brand h1 {
  font-size: 28px;
  margin-bottom: 8px;
  font-weight: 600;
}

.login-brand p {
  font-size: 14px;
  opacity: 0.8;
}

.login-features {
  margin-top: 40px;
}

.feature-item {
  display: flex;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-item:last-child {
  border-bottom: none;
}

.feature-icon {
  font-size: 28px;
  margin-right: 16px;
}

.feature-item h4 {
  font-size: 15px;
  margin-bottom: 2px;
  font-weight: 500;
}

.feature-item p {
  font-size: 12px;
  opacity: 0.7;
}

.login-right {
  flex: 1;
  padding: 50px 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-form-wrapper h2 {
  font-size: 24px;
  color: #333;
  margin-bottom: 8px;
  font-weight: 600;
}

.login-subtitle {
  color: #999;
  margin-bottom: 32px;
}

.login-form .form-group {
  margin-bottom: 20px;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #666;
  font-size: 13px;
}

.checkbox-label input {
  margin-right: 6px;
}

.login-footer {
  margin-top: 24px;
  text-align: center;
  color: #999;
  font-size: 12px;
}

.login-footer strong {
  color: #667eea;
}

/* ============================================
   表单通用样式
   ============================================ */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  color: #555;
  font-weight: 500;
}

.required {
  color: #f5222d;
}

.form-group input,
.form-group select,
.form-group textarea,
.form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.3s;
  background: #fff;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.form-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input::placeholder,
.form-input::placeholder {
  color: #bfbfbf;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-row .form-group {
  flex: 1;
}

/* ============================================
   按钮样式
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-default {
  background: #f5f5f5;
  color: #666;
  border: 1px solid #d9d9d9;
}

.btn-default:hover {
  background: #e8e8e8;
}

.btn-danger {
  background: #ff4d4f;
  color: #fff;
}

.btn-danger:hover {
  background: #ff7875;
}

.btn-success {
  background: #52c41a;
  color: #fff;
}

.btn-block {
  width: 100%;
  padding: 12px;
  font-size: 16px;
}

.btn-icon {
  padding: 6px 10px;
  background: transparent;
  color: #666;
}

.btn-icon:hover {
  background: #f0f0f0;
}

.btn-sm {
  padding: 4px 12px;
  font-size: 12px;
}

/* ============================================
   管理后台布局
   ============================================ */
.admin-layout {
  display: flex;
  min-height: 100vh;
}

/* 侧边栏 */
.sidebar {
  width: 240px;
  background: linear-gradient(180deg, #001529 0%, #002140 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  transition: transform 0.3s;
}

/* 移动端侧边栏遮罩层 */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
  opacity: 0;
  transition: opacity 0.3s;
}

.sidebar-overlay.show {
  opacity: 1;
}

.sidebar-header {
  padding: 20px 16px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-logo {
  font-size: 32px;
  margin-right: 12px;
}

.sidebar-title h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

.sidebar-title p {
  font-size: 11px;
  opacity: 0.6;
}

.sidebar-nav {
  flex: 1;
  padding: 12px 0;
  overflow-y: auto;
}

.sidebar-nav ul {
  list-style: none;
}

.nav-item {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s;
  border-left: 3px solid transparent;
}

.nav-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.nav-item.active {
  color: #fff;
  background: rgba(102, 126, 234, 0.2);
  border-left-color: #667eea;
}

.nav-section-title {
  padding: 16px 20px 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.nav-icon {
  font-size: 18px;
  margin-right: 12px;
  width: 20px;
  text-align: center;
}

.nav-text {
  font-size: 14px;
}

/* 主内容区 */
.main-content {
  flex: 1;
  margin-left: 240px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.top-header {
  background: #fff;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-left {
  display: flex;
  align-items: center;
}

.menu-toggle {
  display: none;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  margin-right: 12px;
  color: #475569;
  width: 40px;
  height: 40px;
  padding: 0;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  touch-action: manipulation;
}

.menu-toggle:active {
  background: #e2e8f0;
  transform: scale(0.95);
}

.page-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-info {
  display: flex;
  align-items: center;
  padding: 4px 12px 4px 4px;
  border-radius: 20px;
  background: #f5f7fa;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-right: 10px;
}

.user-detail {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.user-name {
  font-size: 13px;
  font-weight: 500;
  color: #333;
}

.user-role {
  font-size: 11px;
  color: #999;
}

.header-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 150px;
  padding: 6px 0;
  display: none;
  z-index: 100;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  color: #333;
  text-decoration: none;
  font-size: 13px;
  transition: background 0.2s;
}

.dropdown-menu a:hover {
  background: #f5f7fa;
}

.content-wrapper {
  flex: 1;
  padding: 24px;
}

/* ============================================
   页面区域
   ============================================ */
.page-section {
  display: none;
}

.page-section.active {
  display: block;
}

/* ============================================
   数据概览
   ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.stat-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-right: 16px;
}

.stat-icon-blue {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-icon-green {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.stat-icon-orange {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.stat-icon-purple {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.stat-info h3 {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 4px;
}

.stat-info p {
  font-size: 13px;
  color: #999;
}

.charts-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.chart-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.chart-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}

.role-distribution {
  padding: 0 20px;
}

.role-bar {
  display: flex;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}

.role-bar-item {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  transition: width 0.8s ease;
}

.role-admin {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.role-staff {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.role-normal {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.role-legend {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.role-legend span {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #666;
}

.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
}

.legend-admin {
  background: #667eea;
}

.legend-staff {
  background: #11998e;
}

.legend-normal {
  background: #f093fb;
}

/* ============================================
   表格工具栏
   ============================================ */
.page-toolbar {
  background: #fff;
  padding: 16px 20px;
  border-radius: 10px 10px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.toolbar-left,
.toolbar-right {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.toolbar-left .form-input {
  width: 240px;
}

/* ============================================
   数据表格
   ============================================ */
.table-container {
  background: #fff;
  overflow-x: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.data-table thead {
  background: #fafafa;
}

.data-table th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: #333;
  border-bottom: 2px solid #f0f0f0;
  white-space: nowrap;
}

.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
  color: #555;
}

.data-table tbody tr:hover {
  background: #fafbfc;
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

/* 状态标签 */
.status-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
}

.status-tag.enabled {
  background: #f6ffed;
  color: #52c41a;
  border: 1px solid #b7eb8f;
}

.status-tag.disabled {
  background: #fff1f0;
  color: #ff4d4f;
  border: 1px solid #ffa39e;
}

/* 角色标签 */
.role-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
}

.role-tag.admin {
  background: #f9f0ff;
  color: #722ed1;
  border: 1px solid #d3adf7;
}

.role-tag.staff {
  background: #e6fffb;
  color: #13c2c2;
  border: 1px solid #87e8de;
}

.role-tag.normal {
  background: #e6f7ff;
  color: #1890ff;
  border: 1px solid #91d5ff;
}

/* 操作按钮 */
.action-btns {
  display: flex;
  gap: 6px;
}

.action-btn {
  padding: 4px 10px;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.action-btn.edit {
  background: #e6f7ff;
  color: #1890ff;
}

.action-btn.edit:hover {
  background: #bae7ff;
}

.action-btn.delete {
  background: #fff1f0;
  color: #ff4d4f;
}

.action-btn.delete:hover {
  background: #ffccc7;
}

.action-btn.reset-pwd {
  background: #fff7e6;
  color: #fa8c16;
}

.action-btn.reset-pwd:hover {
  background: #ffe7ba;
}

/* 空数据 */
.empty-state {
  padding: 60px 20px;
  text-align: center;
  color: #999;
}

.empty-state-icon {
  font-size: 48px;
  margin-bottom: 12px;
  opacity: 0.5;
}

/* ============================================
   分页
   ============================================ */
.pagination {
  background: #fff;
  padding: 14px 20px;
  border-radius: 0 0 10px 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  flex-wrap: wrap;
}

.pagination .page-info {
  color: #64748b;
  font-size: 15px;
  font-weight: 500;
}

.pagination .page-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
  color: #555;
  transition: all 0.2s;
  font-weight: 500;
}

.pagination .page-btn:hover:not(:disabled) {
  border-color: #667eea;
  color: #667eea;
}

.pagination .page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pagination .page-btn.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-color: transparent;
  color: #fff;
}

.pagination .page-ellipsis {
  color: #94a3b8;
  font-size: 15px;
  padding: 0 6px;
}

.pagination .page-jump {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 12px;
  color: #64748b;
  font-size: 14px;
  font-weight: 500;
}

.pagination .page-jump input {
  width: 50px;
  height: 34px;
  padding: 0 8px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 15px;
  text-align: center;
  color: #333;
  outline: none;
  transition: border-color 0.2s;
}

.pagination .page-jump input:focus {
  border-color: #667eea;
}

.pagination .page-jump input::-webkit-outer-spin-button,
.pagination .page-jump input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pagination .page-jump input[type=number] {
  -moz-appearance: textfield;
}

/* ============================================
   功能模块详情页
   ============================================ */
.module-detail {
  padding: 0;
}

.module-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  padding: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.module-hero-icon {
  font-size: 64px;
  margin-right: 24px;
  background: rgba(255, 255, 255, 0.2);
  width: 100px;
  height: 100px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.module-hero-info h2 {
  font-size: 28px;
  margin-bottom: 4px;
}

.module-empty {
  background: #fff;
  border-radius: 12px;
  padding: 60px 40px;
  text-align: center;
  border: 1px dashed #cbd5e1;
}

.module-empty h3 {
  font-size: 20px;
  color: #334155;
  margin-bottom: 8px;
}

/* ============================================
   弹窗样式
   ============================================ */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal.show {
  display: flex;
}

.modal-content {
  background: #fff;
  border-radius: 12px;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  animation: modalSlideIn 0.3s ease;
}

.modal-sm {
  max-width: 420px;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  padding: 22px 28px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 17px;
  font-weight: 600;
  color: #333;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
  transition: color 0.2s;
}

.modal-close:hover {
  color: #333;
}

.modal-body {
  padding: 28px;
  overflow-y: auto;
  flex: 1;
}

.modal-footer {
  padding: 18px 28px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* ============================================
   Toast 消息提示
   ============================================ */
.toast {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  padding: 12px 24px;
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  z-index: 2000;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast.success {
  background: #52c41a;
}

.toast.error {
  background: #ff4d4f;
}

.toast.warning {
  background: #faad14;
}

.toast.info {
  background: #1890ff;
}

/* ============================================
   加载动画
   ============================================ */
.loading {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================
   响应式设计
   ============================================ */
@media (max-width: 900px) {
  .login-container {
    flex-direction: column;
    max-width: 480px;
  }
  
  .login-left {
    padding: 30px;
  }
  
  .login-right {
    padding: 30px;
  }
  
  .login-features {
    display: none;
  }
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }
  
  .sidebar.show {
    transform: translateX(0);
  }
  
  .sidebar-overlay {
    display: block;
    pointer-events: none;
  }
  
  .sidebar-overlay.show {
    pointer-events: auto;
  }
  
  .main-content {
    margin-left: 0;
  }
  
  .menu-toggle {
    display: inline-flex;
  }
  
  .content-wrapper {
    padding: 16px;
  }
  
  .page-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  
  .toolbar-left,
  .toolbar-right {
    justify-content: space-between;
  }
  
  .toolbar-left .form-input {
    width: 100%;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stat-info h3 {
    font-size: 22px;
  }
  
  .role-legend {
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .user-detail {
    display: none;
  }
  
  .pagination-info,
  .pagination .page-info {
    display: none;
  }
}

/* ============================================
   阳光分班功能样式
   ============================================ */
.sunshine-wrap {
  padding: 0;
}

/* 步骤导航 */
.sc-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 24px 32px;
  border-radius: 12px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  flex-wrap: wrap;
  gap: 8px;
}

.sc-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  flex: 1;
  min-width: 80px;
}

.sc-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 8px;
  transition: all 0.3s;
}

.sc-step-label {
  font-size: 13px;
  color: #64748b;
  text-align: center;
}

.sc-step.active .sc-step-num {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
}

.sc-step.active .sc-step-label {
  color: #334155;
  font-weight: 600;
}

.sc-step.done .sc-step-num {
  background: #10b981;
  color: #fff;
}

.sc-step-line {
  flex: 0.3;
  height: 2px;
  background: #e2e8f0;
  min-width: 20px;
}

/* 步骤面板 */
.sc-step-panel {
  display: none;
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.sc-step-panel.active {
  display: block;
}

.sc-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.sc-panel-header h3 {
  font-size: 18px;
  color: #1e293b;
}

.sc-panel-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.sc-form-box {
  background: #f8fafc;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.btn-lg {
  padding: 12px 28px;
  font-size: 15px;
}

/* 分班动画 */
.sc-anim-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f0f4ff;
  border-radius: 12px;
}

.sc-anim-student {
  padding: 16px 28px;
  background: #fff;
  border-radius: 12px;
  font-weight: bold;
  font-size: 28px;
  min-width: 160px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  animation: scPulseIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scPulseIn {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  60% {
    transform: scale(1.25);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.sc-anim-student.boy {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: #1d4ed8;
}

.sc-anim-student.girl {
  background: linear-gradient(135deg, #fce7f3, #fbcfe8);
  color: #be185d;
}

.sc-anim-arrow {
  font-size: 24px;
  color: #667eea;
  font-weight: bold;
}

.sc-anim-classes {
  display: flex;
  gap: 12px;
  flex: 1;
  flex-wrap: wrap;
}

.sc-class-card {
  flex: 1;
  min-width: 140px;
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px;
  min-height: 100px;
}

.sc-class-title {
  text-align: center;
  font-weight: bold;
  padding: 6px;
  background: #667eea;
  color: #fff;
  border-radius: 4px;
  margin-bottom: 8px;
}

.sc-class-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.sc-student-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  background: #f1f5f9;
}

.sc-student-tag.boy {
  background: #dbeafe;
  color: #1d4ed8;
}

.sc-student-tag.girl {
  background: #fce7f3;
  color: #be185d;
}

@keyframes scFlyIn {
  0% {
    transform: scale(2.5) translateY(-30px);
    opacity: 0;
  }
  40% {
    transform: scale(1.8) translateY(-10px);
    opacity: 0.9;
  }
  70% {
    transform: scale(1.2) translateY(0);
    opacity: 1;
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

/* 分班结果卡片 */
.sc-result-card {
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
}

.sc-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 2px solid #667eea;
  margin-bottom: 12px;
}

.sc-result-header strong {
  font-size: 16px;
  color: #1e293b;
}

.sc-result-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* ============================================
   信息报送详情页样式
   ============================================ */
.detail-title {
  font-size: 20px;
  font-weight: bold;
  color: #1e293b;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e2e8f0;
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
  margin-bottom: 24px;
  padding: 16px;
  background: #f8fafc;
  border-radius: 8px;
}

.detail-row {
  display: flex;
  align-items: flex-start;
  font-size: 14px;
  color: #475569;
}

.detail-label {
  font-weight: 600;
  color: #64748b;
  min-width: 90px;
  flex-shrink: 0;
}

.detail-content {
  margin-bottom: 16px;
}

.detail-content-label {
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
  font-size: 14px;
}

.detail-content-body {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 16px;
  line-height: 1.8;
  min-height: 100px;
  font-size: 14px;
  color: #1e293b;
}

.detail-content-body img {
  max-width: 100%;
  height: auto;
}

.detail-content-body p {
  margin-bottom: 8px;
}
