/* ═══════════════════════════════════════════════════════════════════
   FenixRadio – Estilos adicionales
   Complementa style.css sin romper el diseño original
═══════════════════════════════════════════════════════════════════ */

/* ── Navbar brand ─────────────────────────────────────────────────── */
.fenix-brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-title);
  letter-spacing: -0.02em;
}

/* ── Login desactivado (DJ activo) ────────────────────────────────── */
.disabled-login {
  display: flex;
  align-items: center;
  font-weight: 500;
  color: #999;
  cursor: not-allowed;
  opacity: 0.7;
  padding: 0 8px;
}
.disabled-login .icon {
  background-color: #f0f0f0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 12px;
}
.disabled-login svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.5px;
  color: #bbb;
}

/* ── Radio bar: responsive ────────────────────────────────────────── */
.radiostats {
  flex-wrap: wrap;
  gap: 8px 16px;
}

/* En móvil: apilar los elementos */
@media (max-width: 767px) {
  .radiostats {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    padding: 12px 0 !important;
  }
  .radiostats > div:nth-child(1) { grid-column: 1; grid-row: 1; }
  .radiostats > div:nth-child(2) { grid-column: 2; grid-row: 1; }
  .radiostats > div:nth-child(3) { grid-column: 1 / -1; grid-row: 2; }
  .radiostats > div:nth-child(4) { grid-column: 1; grid-row: 3; }
  .actions                        { grid-column: 1 / -1 !important; }
  .next                           { grid-column: 1 / -1 !important; }
  .program                        { grid-column: 1 / -1 !important; }
}

/* ── Song ticker (overflow animado) ──────────────────────────────── */
.song-ticker {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

/* ── DJ activo en radio bar ─────────────────────────────────────── */
#dj-name {
  font-weight: 600;
  color: #fff;
}

/* ── Listeners ──────────────────────────────────────────────────── */
.listeners {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
}

/* ── Radio bar actions: mostrar como flex ───────────────────────── */
.actions {
  display: flex !important;
  align-items: center;
  gap: 8px;
}
.actions .play,
.actions .pause {
  display: flex;
  cursor: pointer;
  color: #fff;
  transition: transform 0.15s;
}
.actions .play:hover,
.actions .pause:hover { transform: scale(1.1); }

/* Vol slider */
#vol-slider {
  -webkit-appearance: none;
  width: 80px;
  height: 3px;
  background: rgba(255,255,255,0.3);
  border-radius: 4px;
  outline: none;
  cursor: pointer;
}
#vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-primary);
  cursor: pointer;
}

/* ── Tablón de anuncios: responsive ──────────────────────────────── */
@media (max-width: 767px) {
  .message-board { margin-top: 16px; }
  .message-board ul li { flex-wrap: wrap; }
}

/* ── Cards responsivas ────────────────────────────────────────────── */
@media (max-width: 575px) {
  .card-news .card-thumb img { max-height: 160px; object-fit: cover; width: 100%; }
  .cta-join img { display: none; }
  .cta-join .content { padding: 20px; }
}

/* ── Jumbotron hero responsive ────────────────────────────────────── */
@media (max-width: 767px) {
  .jumbotron {
    padding-top: 24px;
  }
  .jumbotron .col-md-6 {
    padding-top: 16px;
  }
}

/* ── Sidebar bg fix ───────────────────────────────────────────────── */
.sidebar-bg {
  display: none;
}
@media (min-width: 768px) {
  .sidebar-bg {
    display: block;
    position: absolute;
    left: -24px;
    top: -100px;
    bottom: 0;
    width: 1px;
    background: #EDEDED;
  }
}

/* ── Alert de error en login ──────────────────────────────────────── */
.alert-danger {
  background-color: #fff0f0;
  border: 1px solid #ffcccc;
  border-radius: 6px;
  color: #c00;
}

/* ── Navbar link de widget ────────────────────────────────────────── */
.navbar-nav .nav-link svg {
  width: 14px;
  height: 14px;
  vertical-align: middle;
  margin-right: 4px;
}

/* ── Responsive: navbar toggler gap ──────────────────────────────── */
@media (max-width: 991px) {
  .navbar .dropdown { margin-top: 8px; }
}

/* ── Print: ocultar controles ────────────────────────────────────── */
@media print {
  .radio, .actions, .cta-join, footer { display: none !important; }
}
