/* 导入页专用样式 */

/* 步骤条样式 */
.import-steps {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.import-steps .tab {
  flex: 1;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.04); /* 灰色背景 */
  color: #64748b; /* 灰色文字 */
  font-weight: 800;
  font-size: 14px;
  cursor: default;
  transition: all 0.2s ease;
  pointer-events: none;
}

.import-steps .tab.active {
  background: #fff;
  border-color: rgba(37, 99, 235, 0.3);
  color: #2563eb; /* 蓝色文字 */
  box-shadow: 
    0 10px 25px rgba(37, 99, 235, 0.12),
    0 2px 6px rgba(15, 23, 42, 0.04);
  transform: translateY(-1px);
}

/* 文件输入控件现代样式 */
.file-input-wrapper {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.file-input-wrapper input[type="file"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  overflow: hidden;
}

.file-input-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 16px;
  border: 1px solid rgba(37,99,235,.20);
  background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(248,250,252,.92));
  box-shadow: 
    0 4px 12px rgba(15,23,42,.08),
    0 1px 3px rgba(15,23,42,.04),
    inset 0 1px 0 rgba(255,255,255,.8);
  transition: all .2s ease;
  font-size: 13px;
  font-weight: 700;
  color: rgba(37,99,235,.85);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.file-input-label::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(37,99,235,.6), rgba(124,58,237,.5));
  opacity: 0;
  transition: opacity .2s ease;
}

.file-input-wrapper:hover .file-input-label {
  border-color: rgba(37,99,235,.35);
  box-shadow: 
    0 8px 20px rgba(37,99,235,.12),
    0 2px 6px rgba(15,23,42,.06),
    inset 0 1px 0 rgba(255,255,255,.9);
  transform: translateY(-1px);
}

.file-input-wrapper:hover .file-input-label::before {
  opacity: 1;
}

.file-input-wrapper:active .file-input-label {
  transform: translateY(0);
}

/* 导入策略选择框样式（已在全局filter-group中定义，这里无需额外样式） */

.cell-error{
  outline: 2px solid rgba(239,68,68,.75);
  background: rgba(239,68,68,.08);
}
.cell-warn{
  outline: 2px solid rgba(245,158,11,.55);
  background: rgba(245,158,11,.08);
}
.editable-table td{
  cursor:text;
}
.editable-table td[contenteditable="true"]:focus{
  border-bottom-color: rgba(37,99,235,.45);
  background: rgba(37,99,235,.06);
}

.sample-wrap{
  border-radius: 16px;
  overflow:hidden;
  border:1px solid rgba(15,23,42,.14);
  background: rgba(255,255,255,.70);
  box-shadow: 0 12px 30px rgba(15,23,42,.10);
}
.sample-badge{
  position:static;
  padding: 6px 10px;
  border-radius: 999px;
  border:1px solid rgba(37,99,235,.28);
  background: linear-gradient(135deg, rgba(37,99,235,.16), rgba(124,58,237,.12));
  color: rgba(37,99,235,.95);
  font-weight:900;
  font-size:12px;
  box-shadow: 0 12px 28px rgba(37,99,235,.12);
}
.sample-head{
  display:flex;
  justify-content:flex-end;
  padding: 10px 10px 8px;
  border-bottom:1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.75);
}
.sample-scroll{
  overflow:auto;
  max-height: 360px;
}
.sample-table thead th{
  background: linear-gradient(135deg, rgba(37,99,235,.10), rgba(124,58,237,.08));
}
.sample-table tbody tr{
  background: rgba(255,255,255,.72);
}
.sample-table tbody tr[data-sample="1"] td{
  position:relative;
}
.sample-table tbody tr[data-sample="1"] td:first-child::before{
  content:"示例";
  display:inline-block;
  margin-right:6px;
  padding: 2px 6px;
  border-radius: 999px;
  border:1px solid rgba(37,99,235,.22);
  background: rgba(37,99,235,.08);
  color: rgba(37,99,235,.9);
  font-weight:900;
  font-size:11px;
}


