/* YABOX V3455 CodSpot Migration Center */
.codspot-page {
  display: grid;
  gap: 16px;
  color: #0f172a;
}
.codspot-hero,
.codspot-panel {
  background: #fff;
  border: 1px solid #dbe3f0;
  border-radius: 8px;
  padding: 18px;
}
.codspot-hero p {
  margin: 0 0 6px;
  color: #743E8F;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
}
.codspot-hero h2,
.codspot-panel h3 {
  margin: 0 0 8px;
  letter-spacing: 0;
}
.codspot-hero span,
.codspot-status,
.codspot-health {
  color: #64748b;
}
.codspot-health,
.codspot-form,
.codspot-actions,
.codspot-rebuild {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.codspot-form {
  margin: 14px 0;
}
.codspot-form label {
  display: grid;
  gap: 6px;
  flex: 1 1 260px;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.codspot-form select,
.codspot-form input {
  min-height: 42px;
  border: 1px solid #dbe3f0;
  border-radius: 8px;
  padding: 8px 12px;
  background: #f8fafc;
  color: #0f172a;
  font-size: 14px;
  text-transform: none;
}
.codspot-actions button {
  border: 1px solid #743E8F;
  background: #743E8F;
  color: #fff;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 900;
  cursor: pointer;
}
.codspot-actions button.danger {
  background: #fff7ed;
  border-color: #f97316;
  color: #9a3412;
}
.codspot-status {
  margin-top: 14px;
  border-radius: 8px;
  padding: 10px 12px;
  background: #eff6ff;
}
.codspot-success { background: #ecfdf5; color: #047857; }
.codspot-danger { background: #fef2f2; color: #dc2626; }
.codspot-info { background: #eff6ff; color: #1d4ed8; }
.codspot-kpis {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.codspot-kpi {
  border: 1px solid #e5edf7;
  background: #f8fafc;
  border-radius: 8px;
  padding: 12px;
}
.codspot-kpi span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}
.codspot-kpi strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
}
.codspot-table-wrap {
  overflow-x: auto;
}
.codspot-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}
.codspot-table th,
.codspot-table td {
  border-top: 1px solid #eef2f7;
  padding: 11px;
  text-align: left;
}
.codspot-table th {
  color: #64748b;
  font-size: 12px;
  text-transform: uppercase;
}
.codspot-rebuild span {
  border: 1px solid #dbe3f0;
  border-radius: 999px;
  padding: 8px 12px;
  background: #f8fafc;
  font-weight: 800;
}
@media (max-width: 900px) {
  .codspot-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .codspot-actions button { width: 100%; }
}
