

// ================= 主容器样式 =================
.tabs-demo {
  padding: 24px;
}

// ================= 配置面板样式 =================
.config-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.config-label {
  font-size: 14px;
  white-space: nowrap;
}

// ================= 标签页表单样式 =================
.c-form-tabs,
.single-panel,
.tabs-container,
.form-tabs,
.tab-form-items {
  width: 100%;
}

.tab-icon {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tab-header {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--n-border-color);
}

.tab-description {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.8;
}

.tab-empty {
  padding: 40px 0;
}

.tabs-actions {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--n-border-color);
}

// ================= 响应式设计 =================
@media (max-width: 768px) {
  .tabs-demo {
    padding: 16px;
  }

  .config-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .tabs-actions {
    margin-top: 12px;
    padding-top: 8px;

    :deep(.n-space) {
      flex-wrap: wrap;
    }
  }
}