/* ZozoDeal Seller Central Enterprise Theme & Styles */
.seller-central-container {
  margin-top: 24px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.seller-central-header {
  background: #232f3e;
  color: #ffffff;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.seller-central-badge {
  background: #ff9900;
  color: #111827;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.seller-central-tabs {
  display: flex;
  background: #131921;
  border-bottom: 2px solid #ff9900;
  overflow-x: auto;
}

.seller-central-tab {
  background: transparent;
  color: #cbd5e1;
  border: none;
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.seller-central-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.seller-central-tab.active {
  color: #ff9900;
  background: #1e293b;
  border-bottom: 3px solid #ff9900;
}

.seller-central-body {
  padding: 24px;
  background: #f8fafc;
}

.seller-panel {
  display: none;
}

.seller-panel.active {
  display: block;
}

.seller-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.seller-kpi-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.seller-kpi-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 6px;
}

.seller-kpi-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0f172a;
}

.seller-kpi-target {
  font-size: 0.75rem;
  color: #10b981;
  margin-top: 4px;
  display: block;
}

.seller-card-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 20px;
}

.seller-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.seller-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
}

.seller-table th {
  background: #f1f5f9;
  color: #475569;
  font-weight: 600;
  padding: 10px 14px;
  border-bottom: 1px solid #cbd5e1;
}

.seller-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: middle;
}

.seller-table tr:hover {
  background: #f8fafc;
}

.badge-status {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-success { background: #dcfce7; color: #166534; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-danger { background: #fee2e2; color: #991b1b; }
.badge-info { background: #e0f2fe; color: #075985; }

.seller-btn-sm {
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid transparent;
  font-weight: 600;
  transition: all 0.15s;
}

.seller-btn-primary {
  background: #ff9900;
  color: #111827;
}

.seller-btn-primary:hover {
  background: #e88b00;
}

.seller-btn-outline {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #334155;
}

.seller-btn-outline:hover {
  background: #f1f5f9;
}

.pim-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.pim-form-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  min-width: 0;
}

.pim-form-grid input,
.pim-form-grid select,
.pim-form-grid textarea {
  padding: 10px 12px;
  min-height: 44px;
  min-width: 0;
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 0.95rem;
}

.dynamic-attrs-box {
  background: #f1f5f9;
  border: 1px dashed #cbd5e1;
  border-radius: 6px;
  padding: 16px;
  margin-top: 12px;
  margin-bottom: 16px;
}

.seller-table-scroll,
.seller-panel > .seller-card-section {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
  .seller-central-header {
    padding: 14px 16px;
  }
  .seller-central-body {
    padding: 14px;
  }
  .seller-card-section {
    padding: 14px;
  }
  .seller-card-title {
    flex-wrap: wrap;
    gap: 8px;
  }
  .seller-central-tab,
  .seller-btn-sm {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

