/* TEMAS DE LA APLICACIÓN */

/* TEMA DÍA */
[data-theme="day"] {
  --navy: #f8f8f8;
  --navy2: #f0f0f0;
  --teal: #0071e3;
  --teal-light: #0077ed;
  --gold: #cc9944;
  --white: #333333;
  --gray: #666666;
  --border: rgba(0,0,0,0.06);
  --card: rgba(0,0,0,0.01);
}

/* TEMA DALTÓNICO */
[data-theme="colorblind"] {
  --navy: #0a0e27;
  --navy2: #141829;
  --teal: #2563eb;
  --teal-light: #60a5fa;
  --gold: #fbbf24;
  --white: #f3f4f685;
  --gray: #d1d5db;
  --border: rgba(255,255,255,0.2);
  --card: rgba(255,255,255,0.08);
}

/* Tipografía y botones del panel (posición la maneja el script inline) */
.theme-label {
  font-size: 10.8px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  padding: 0 6px 0 0;
  display: block;
  white-space: nowrap;
  align-self: center;
}

.theme-buttons {
  display: flex;
  gap: 5px;
  align-items: center;
  flex-wrap: nowrap;
}

.theme-selector .theme-btn {
  box-sizing: border-box;
  width: auto;
  min-width: 0;
  height: auto;
  padding: 5px 12px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 7px;
  color: var(--gray);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-align: center;
  font-family: var(--rol-font-ui, "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif);
  line-height: 1.3;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.theme-selector .theme-btn:hover {
  background: rgba(255,255,255,0.14);
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}

.theme-selector .theme-btn.active {
  background: var(--teal);
  border-color: var(--teal-light);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,113,227,0.25);
}

.theme-selector .theme-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
