/* Theme "Oscuro": deep slate surfaces, teal accents. Overrides the palette
   through the CSS variables + the few hardcoded light colors in style.css.
   Active via body[data-theme="oscuro"] (set by the header theme switcher). */

body[data-theme="oscuro"] {
  --bg: #0b1120;
  --card: #141d30;
  --text: #e6edf7;
  --muted: #8b9bb4;
  --border: #26334d;
  --primary: #2dd4bf;
  --primary-hover: #14b8a6;
  --danger: #f87171;
  --success: #34d399;
  --border-strong: #3a4c6e;
  --primary-soft: rgba(45, 212, 191, .15);
  --row-hover: #1a2740;
  --amber: #fcd34d;
  --amber-soft: rgba(245, 158, 11, .12);
}

body[data-theme="oscuro"] .app-header {
  background: #070d1a;
  border-bottom: 1px solid var(--border);
}
body[data-theme="oscuro"] .card { box-shadow: none; }
body[data-theme="oscuro"] .card.summary { border-color: #2c3c5c; }

body[data-theme="oscuro"] .table th { background: #101a2c; }
body[data-theme="oscuro"] .table tr:hover td { background: #1a2740; }

body[data-theme="oscuro"] input[type="text"],
body[data-theme="oscuro"] input[type="password"],
body[data-theme="oscuro"] input[type="file"],
body[data-theme="oscuro"] select {
  background: #0f172a;
  color: var(--text);
  border-color: var(--border);
}

body[data-theme="oscuro"] .category-select[data-field="category"],
body[data-theme="oscuro"] .category-input {
  background: #0f1f38;
  color: #34d399;
  border-color: #31446b;
}
body[data-theme="oscuro"] .category-input::placeholder { color: #64748b; }

body[data-theme="oscuro"] .btn-ghost { color: #9fb0c8; border-color: #31446b; }
body[data-theme="oscuro"] .btn-ghost:hover { background: #1a2740; }
body[data-theme="oscuro"] .btn-primary { color: #04211d; }

body[data-theme="oscuro"] .pill-cuota { background: rgba(245, 158, 11, .15); color: #fcd34d; }
body[data-theme="oscuro"] .pill-pago { background: rgba(52, 211, 153, .15); color: #34d399; }
body[data-theme="oscuro"] .pill-no { background: #1e293b; color: #94a3b8; }

body[data-theme="oscuro"] .comment-chip { background: rgba(245, 158, 11, .12); color: #fcd34d; }
body[data-theme="oscuro"] .cuota-badge { background: #17375e; }
body[data-theme="oscuro"] .forecast-badge { background: #453a12; color: #fde68a; }
body[data-theme="oscuro"] .dupped-badge { background: #26334d; color: #9fb0c8; }

body[data-theme="oscuro"] .info-popover { background: #060b16; border: 1px solid #26334d; }
body[data-theme="oscuro"] .photo-modal { background: rgba(2, 6, 23, .75); }
