/* ============================
   Carga IPS y REPS
   ============================ */
.ips-reps-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.upload-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.upload-card {
  padding: 20px;
}

.upload-card h2 {
  margin: 0 0 6px;
  font-size: 1.4rem;
}

.subtitle {
  margin: 0 0 16px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-row label {
  font-weight: 600;
  font-size: 0.9rem;
}

.form-row input[type="file"] {
  font-size: 0.9rem;
}

.file-name {
  font-size: 0.85rem;
  color: var(--color-text-main);
}

.form-row.acciones {
  margin-top: 8px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.summary-item {
  background: var(--color-cup-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.summary-label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.summary-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.error-list {
  margin-top: 16px;
}

.error-list h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.error-table {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  max-height: 220px;
  overflow: auto;
}
