/* ==========================================================================
   CSS GLOBAL - ESTILO KARALUX ONLINE COM BARRA INTEGRADA E AUTO-HIDE
   ========================================================================== */

:root {
  --bg-dark: #12151b;
  --bg-darker: #090c10;
  --card-bg: #161b26;
  --card-border: #283347;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --accent-blue: #0284c7;
  --accent-pink: #ec4899;
  --accent-green: #22c55e;
  --accent-red: #ef4444;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Arial, sans-serif;
  background: #11141a radial-gradient(circle at 50% 0%, #1e2638 0%, #0c0f14 100%);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: #38bdf8;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #7dd3fc;
}

/* Barra de Topo (Sempre Visível / Sticky Top) */
.top-header {
  background: rgba(24, 29, 38, 0.98);
  border-bottom: 1px solid #28303f;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  position: sticky;
  top: 0;
  z-index: 10000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.search-wrapper {
  position: relative;
  width: 380px;
}

.search-container {
  display: flex;
  align-items: center;
  width: 100%;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  height: 38px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.search-input-field {
  flex: 1;
  border: none;
  padding: 8px 12px;
  font-size: 0.95rem;
  font-weight: 600;
  outline: none;
  color: #111;
}

.mic-btn {
  background: transparent;
  border: none;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 1.1rem;
}

.search-submit-btn {
  background: #8ec321;
  border: none;
  width: 44px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  font-size: 1.1rem;
}

.search-submit-btn:hover {
  background: #7bb017;
}

.logo-center {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.logo-center:hover {
  opacity: 0.92;
  transform: scale(1.02);
  color: #fff;
}

.top-nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.top-nav-sync-btn {
  color: #38bdf8;
  font-weight: bold;
  padding: 5px 10px;
  background: rgba(56, 189, 248, 0.12);
  border-radius: 4px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  font-size: 0.85rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.15s ease;
}

.top-nav-sync-btn:hover {
  background: rgba(56, 189, 248, 0.22);
  color: #7dd3fc;
}

.top-nav-demo-badge {
  background: rgba(234, 179, 8, 0.22);
  border: 1px solid #eab308;
  color: #fde047;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.top-nav-demo-badge:hover {
  background: rgba(234, 179, 8, 0.38);
  color: #ffffff;
  border-color: #facc15;
  transform: translateY(-1px);
  box-shadow: 0 2px 10px rgba(234, 179, 8, 0.3);
}

.top-nav-login-link {
  color: #38bdf8;
  font-weight: 700;
  text-decoration: none;
}

.top-nav-login-link:hover {
  text-decoration: underline;
  color: #7dd3fc;
}

.top-nav-register-btn {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff !important;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  font-size: 0.85rem;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
  display: inline-flex;
  align-items: center;
  transition: all 0.15s ease;
}

.top-nav-register-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.sub-status-pill-active {
  color: #4ade80;
  font-size: 0.85rem;
  font-weight: bold;
  background: rgba(74, 222, 128, 0.12);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(74, 222, 128, 0.25);
}

/* ==========================================================================
   PAINEL PRINCIPAL KARALUX ONLINE
   ========================================================================== */

.cde-master-box {
  max-width: 1300px;
  width: 96%;
  margin: 18px auto 30px auto;
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.7);
  display: flex;
  gap: 12px;
  padding: 12px;
  color: #222;
  min-height: 580px;
}

/* Bloco Esquerdo (Media Area + Barra de Controlo) */
.cde-left-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #d9d9d9;
}

.cde-media-area {
  flex: 1;
  position: relative;
  min-height: 500px;
  background: #fff;
  display: flex;
}

/* As 3 Colunas de Músicas */
.three-columns-grid {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  padding: 8px;
  background: #fff;
}

.cde-column {
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 485px;
  background: #fafafa;
}

.col-header {
  padding: 9px;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.col-header.blue { background: #0056b3; }
.col-header.red { background: #c0392b; }
.col-header.green { background: #1e824c; }

.song-list-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 4px 6px;
  background: #fff;
}

.cde-song-item {
  display: flex;
  align-items: center;
  padding: 7px 6px;
  border-bottom: 1px solid #eee;
  gap: 8px;
}

.cde-song-item:hover {
  background: #f4f6f9;
}

.cde-thumb {
  width: 44px;
  height: 36px;
  border-radius: 3px;
  background: #2a313d;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
  overflow: hidden;
}

.cde-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cde-song-meta {
  flex: 1;
  min-width: 0;
}

.cde-title {
  font-weight: 700;
  font-size: 0.85rem;
  color: #111;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cde-artist {
  font-size: 0.75rem;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cde-item-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-cde-heart {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-cde-play {
  background: #f0f0f0;
  border: 1px solid #ccc;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.95rem;
  color: #333;
  transition: all 0.15s;
}

.btn-cde-play:hover {
  background: #007bff;
  color: #fff;
  border-color: #007bff;
  transform: scale(1.05);
}

/* ==========================================================================
   O LEITOR DE VÍDEO NO LUGAR DAS 3 COLUNAS
   ========================================================================== */

.cde-video-stage {
  width: 100%;
  height: 100%;
  background: #000;
  position: absolute;
  inset: 0;
  display: none; /* Ativado via JS */
  align-items: center;
  justify-content: center;
}

video#screenVideo {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
}

.stage-top-controls {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 8px;
  z-index: 10;
  transition: opacity 0.3s ease;
}

.btn-stage-action {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-stage-action:hover {
  background: #007bff;
  border-color: #007bff;
}

/* ==========================================================================
   A BARRA DO PLAYER EXATA (COMO NA FOTO DO UTILIZADOR)
   ========================================================================== */

.cde-player-bar {
  height: 52px;
  background: linear-gradient(180deg, #3a414f 0%, #1e222a 100%);
  border-top: 1px solid #485366;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 10px;
  position: relative;
  z-index: 20;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Auto-hide apenas dos controlos do topo do vídeo quando o rato fica parado */
.cde-left-wrapper.mouse-idle .stage-top-controls,
.cde-left-wrapper.mouse-idle .active-song-pill {
  opacity: 0;
  pointer-events: none;
}

/* Botão de Som */
.cde-btn-sound {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cde-vol-slider {
  width: 65px;
  cursor: pointer;
  accent-color: #fff;
}

/* Botão Play/Pausa */
.cde-btn-play-main {
  background: #ffffff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  color: #111;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  transition: transform 0.15s, background 0.15s;
}

.cde-btn-play-main:hover {
  transform: scale(1.05);
  background: #f1f5f9;
}

/* Botão Stop Vermelho */
.cde-btn-stop-main {
  background: #dc2626;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  color: #ffffff;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  transition: transform 0.15s, background 0.15s;
}

.cde-btn-stop-main:hover {
  transform: scale(1.05);
  background: #ef4444;
}

/* Barra de Progresso Embutida */
.cde-progress-box {
  flex: 1;
  height: 12px;
  background: #11141a;
  border-radius: 3px;
  border: 1px solid #283142;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
}

.cde-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  position: relative;
}

/* Tempo 0:00 / 0:30 */
.cde-time-text {
  color: #e2e8f0;
  font-size: 0.8rem;
  font-family: monospace;
  white-space: nowrap;
}

/* Seletor de Tonalidade (Pill como na foto) */
.cde-tonalidade-pill {
  background: #252a36;
  border: 1px solid #4a5568;
  color: #f1f5f9;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

/* Ícones de Ações (Fila, Coração Vermelho, Loja Verde, Info Azul, Monitor TV) */
.cde-icon-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  font-size: 1.25rem;
  transition: transform 0.15s;
}

.cde-icon-btn:hover {
  transform: scale(1.15);
}

.icon-heart { color: #ef4444; }
.icon-cart { color: #22c55e; }
.icon-info { color: #38bdf8; }
.icon-queue { color: #cbd5e1; }

.cde-btn-tv-monitor {
  background: #1e293b;
  border: 1px solid #475569;
  border-radius: 4px;
  padding: 4px 8px;
  color: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
}

.cde-btn-tv-monitor:hover {
  background: #0284c7;
  border-color: #0284c7;
}

.cde-btn-tv-monitor.active {
  background: #16a34a;
  border-color: #16a34a;
}

/* ==========================================================================
   COLUNA LATERAL DIREITA: IDIOMAS OU PLAYLIST DE CANTORES
   ========================================================================== */

.category-sidebar {
  width: 320px;
  border: 1px solid #28303f;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 555px;
  background: #0f172a;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.sidebar-tabs-bar {
  display: flex;
  background: #111827;
  border-bottom: 2px solid #1f2937;
}

.sidebar-tab-btn {
  flex: 1;
  padding: 10px 4px;
  background: #111827;
  border: none;
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.sidebar-tab-btn:hover {
  background: #1f2937;
  color: #f8fafc;
}

.sidebar-tab-btn.active {
  background: #1e3a8a;
  color: #ffffff;
  border-bottom: 3px solid #38bdf8;
  box-shadow: inset 0 -3px 0 #38bdf8;
}

.tab-badge {
  background: #eab308;
  color: #0f172a;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 10px;
}

.tab-badge.fav {
  background: #ef4444;
  color: #ffffff;
}

.sidebar-tab-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: calc(100% - 41px);
}

.playlist-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #0f172a;
  color: #f1f5f9;
}

.playlist-top-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: #1e293b;
  border-bottom: 1px solid #334155;
}

.playlist-header-label {
  font-size: 0.86rem;
  font-weight: 800;
  color: #38bdf8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.playlist-action-btns {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-playlist-add {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  border: none;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.80rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
  transition: transform 0.1s, filter 0.1s;
}

.btn-playlist-add:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-playlist-clear {
  background: #334155;
  border: 1px solid #475569;
  color: #f87171;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-playlist-clear:hover {
  background: #475569;
  color: #fca5a5;
}

.playlist-scroll-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.playlist-item {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 6px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.15s, border-color 0.15s;
}

.playlist-item:hover {
  border-color: #38bdf8;
}

.playlist-item.now-playing {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(30, 41, 59, 0.95));
  border-color: #10b981;
}

.playlist-item-order {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #334155;
  color: #94a3b8;
  font-size: 0.70rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.playlist-item.now-playing .playlist-item-order {
  background: #10b981;
  color: #ffffff;
}

.playlist-item-content {
  flex: 1;
  min-width: 0;
}

.playlist-singer-tag {
  font-size: 0.82rem;
  font-weight: 800;
  color: #fde047;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.playlist-song-info {
  font-size: 0.76rem;
  color: #cbd5e1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.playlist-song-pitch {
  font-size: 0.68rem;
  color: #38bdf8;
  font-weight: 700;
  margin-left: 4px;
}

.playlist-item-actions {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}

.btn-pl-play {
  background: #10b981;
  border: none;
  color: #ffffff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 0.70rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.1s, background 0.1s;
}

.btn-pl-play:hover {
  transform: scale(1.12);
  background: #059669;
}

.btn-pl-action {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 0.80rem;
  cursor: pointer;
  padding: 3px 4px;
  border-radius: 3px;
}

.btn-pl-action:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.btn-pl-action.delete:hover {
  color: #f87171;
  background: rgba(239, 68, 68, 0.15);
}

.playlist-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: 30px 16px;
  color: #94a3b8;
}

.playlist-empty-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
  opacity: 0.85;
}

.playlist-empty-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.playlist-empty-text {
  font-size: 0.80rem;
  line-height: 1.4;
  margin-bottom: 14px;
  color: #64748b;
}

.playlist-footer-bar {
  padding: 8px 12px;
  background: #1e293b;
  border-top: 1px solid #334155;
  font-size: 0.75rem;
}

.playlist-now-next {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#playlistNowPlayingNotice {
  color: #4ade80;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#playlistNextSingerNotice {
  color: #fde047;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Botão de Adicionar à Playlist em cada Música */
.btn-cde-queue {
  background: #4f46e5;
  color: #ffffff;
  border: none;
  width: 26px;
  height: 26px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.1s, background 0.1s;
}

.btn-cde-queue:hover {
  background: #4338ca;
  transform: scale(1.1);
}

.cde-item-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Badge no botão 📋 da barra do player */
.queue-mini-badge {
  background: #eab308;
  color: #0f172a;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 10px;
  margin-left: 2px;
  vertical-align: middle;
}

/* Modal de Marcação do Cantor */
.singer-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.singer-modal-box {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 10px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
  overflow: hidden;
  color: #f8fafc;
  animation: singerModalIn 0.2s ease-out;
}

@keyframes singerModalIn {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

.singer-modal-header {
  background: #1e293b;
  border-bottom: 1px solid #334155;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.singer-modal-header h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.singer-modal-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
}

.singer-modal-close:hover {
  color: #ffffff;
}

.singer-form-content {
  padding: 20px 22px;
}

.singer-form-group {
  margin-bottom: 16px;
  position: relative;
}

.singer-form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.singer-input {
  width: 100%;
  background: #1e293b;
  border: 1px solid #475569;
  border-radius: 6px;
  padding: 10px 12px;
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.singer-input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.input-with-icon {
  position: relative;
}

.singer-input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
}

.singer-input.with-icon {
  padding-left: 40px;
}

.singer-help-text {
  display: block;
  margin-top: 4px;
  font-size: 0.75rem;
  color: #94a3b8;
}

.singer-song-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #1e293b;
  border: 1px solid #475569;
  border-radius: 6px;
  max-height: 180px;
  overflow-y: auto;
  z-index: 100;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.singer-song-item {
  padding: 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid #334155;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.15s;
}

.singer-song-item:hover {
  background: #334155;
  color: #38bdf8;
}

.singer-song-thumb {
  width: 38px;
  height: 38px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.singer-song-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.singer-song-thumb-fallback {
  font-size: 1.1rem;
}

.singer-song-info {
  flex: 1;
  min-width: 0;
}

.singer-song-name {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.singer-song-author {
  display: block;
  font-size: 0.76rem;
  color: #94a3b8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.singer-selected-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1e3a8a;
  border: 1px solid #2563eb;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.88rem;
  color: #ffffff;
  margin-top: 6px;
}

.singer-selected-thumb {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.singer-selected-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.singer-selected-fallback {
  font-size: 1.1rem;
}

.btn-clear-selected-song {
  background: transparent;
  border: none;
  color: #93c5fd;
  font-size: 0.80rem;
  cursor: pointer;
  text-decoration: underline;
}

.btn-clear-selected-song:hover {
  color: #ffffff;
}

.singer-modal-footer {
  background: #131c2e;
  border-top: 1px solid #334155;
  padding: 14px 20px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.btn-singer-cancel {
  background: #334155;
  border: 1px solid #475569;
  color: #e2e8f0;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-singer-cancel:hover {
  background: #475569;
}

.btn-singer-confirm {
  background: linear-gradient(135deg, #10b981, #059669);
  border: none;
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 0.90rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.35);
}

.btn-singer-confirm:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* Modal de Contacto e Envio de Email */
.contact-modal-box {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 12px;
  width: 95%;
  max-width: 520px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
  overflow: hidden;
  color: #f8fafc;
  animation: singerModalIn 0.2s ease-out;
}

.contact-textarea {
  min-height: 120px;
  max-height: 250px;
  resize: vertical;
  line-height: 1.5;
  font-family: inherit;
}

.contact-textarea:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.contact-alert {
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 0.88rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.4;
}

.contact-alert-success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  color: #a7f3d0;
}

.contact-alert-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #fca5a5;
}

.btn-contact-submit {
  background: linear-gradient(135deg, #0284c7, #2563eb);
  border: none;
  color: #ffffff;
  padding: 9px 20px;
  border-radius: 6px;
  font-size: 0.90rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-contact-submit:hover:not(:disabled) {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-contact-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Letreiro do Cantor no Ecrã (Stage e TV) */
.stage-singer-banner {
  position: absolute;
  top: 14px;
  left: 18px;
  right: 18px;
  background: rgba(15, 23, 42, 0.90);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 30;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.stage-singer-now {
  font-size: 0.92rem;
  color: #f8fafc;
}

.stage-singer-now strong {
  color: #4ade80;
  font-size: 1rem;
}

.stage-singer-next {
  font-size: 0.85rem;
  color: #cbd5e1;
  background: rgba(0, 0, 0, 0.35);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(250, 204, 21, 0.3);
}

.stage-singer-next span {
  color: #fde047;
  font-weight: 700;
}

.cat-tab-btn {
  flex: 1;
  padding: 10px 4px;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  background: #e9ecef;
  color: #495057;
  border: none;
  cursor: pointer;
}

.cat-tab-btn.active {
  background: #0056b3;
  color: #fff;
}

.cat-tiles-grid {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: #fff;
}

.cat-tile {
  color: #fff;
  height: 82px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: bold;
  padding: 4px;
  text-transform: uppercase;
  transition: transform 0.15s;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.4);
}

.cat-tile:hover {
  transform: scale(1.03);
}

.cat-tile .icon {
  font-size: 1.5rem;
  margin-bottom: 3px;
}

.cat-tile .country-code {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  line-height: 1;
  margin-bottom: 4px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.cat-tile .country-name {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.1;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.cat-tile.active {
  outline: 2px solid #ffffff;
  outline-offset: -2px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6), inset 0 0 12px rgba(0, 0, 0, 0.5);
}

.cde-footer {
  text-align: center;
  color: #718096;
  font-size: 0.8rem;
  padding: 10px 0 25px 0;
}

/* ==========================================================================
   MODO DEMONSTRAÇÃO (DEMOS) & MODAL DE FIM DE AMOSTRA
   ========================================================================== */

.cde-demo-badge-pill {
  position: absolute;
  top: 14px;
  left: 18px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid #eab308;
  color: #fef08a;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 25;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  pointer-events: auto;
}

.cde-demo-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: cdeFadeIn 0.25s ease;
}

.cde-demo-modal-box {
  background: linear-gradient(135deg, #1e2638 0%, #0f1420 100%);
  border: 1px solid #3b82f6;
  border-radius: 12px;
  max-width: 520px;
  width: 100%;
  padding: 28px 24px;
  color: #fff;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(59, 130, 246, 0.25);
}

.cde-demo-icon {
  font-size: 2.8rem;
  margin-bottom: 8px;
}

.cde-demo-modal-box h2 {
  font-size: 1.35rem;
  margin: 0 0 8px 0;
  color: #f8fafc;
}

.cde-demo-subtitle {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 18px;
  line-height: 1.45;
}

.cde-demo-benefits {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid #283548;
  border-radius: 8px;
  padding: 14px 18px;
  text-align: left;
  margin-bottom: 18px;
  font-size: 0.86rem;
  line-height: 1.6;
  color: #cbd5e1;
}

.cde-benefit-item {
  margin-bottom: 6px;
}

.cde-benefit-item:last-child {
  margin-bottom: 0;
}

.cde-demo-price-tag {
  color: #38bdf8;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.cde-demo-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-demo-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.98rem;
  transition: transform 0.15s, box-shadow 0.15s;
  display: block;
}

.btn-demo-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.btn-demo-secondary {
  background: #1e293b;
  border: 1px solid #475569;
  color: #93c5fd;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  display: block;
}

.btn-demo-secondary:hover {
  background: #334155;
  color: #fff;
}

.btn-demo-other {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 6px 12px;
  margin-top: 4px;
}

.btn-demo-other:hover {
  color: #fff;
  text-decoration: underline;
}

/* ==========================================================================
   DROPDOWN DE PESQUISA DIRETO NA OPÇÃO "PROCURAR AQUI"
   ========================================================================== */
.search-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 490px;
  max-width: 92vw;
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(0, 0, 0, 0.12);
  z-index: 99999;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: searchDropdownFadeIn 0.15s ease-out;
}

@keyframes searchDropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-dropdown-header {
  background: #1e3a8a;
  color: #ffffff;
  padding: 8px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #172554;
}

.search-dropdown-header span:first-child {
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.search-dropdown-close {
  cursor: pointer;
  color: #fca5a5;
  font-weight: 600;
  transition: color 0.12s;
}

.search-dropdown-close:hover {
  color: #ffffff;
}

.search-dropdown-list {
  max-height: 380px;
  overflow-y: auto;
  background: #ffffff;
}

.search-dropdown-item {
  display: flex;
  align-items: center;
  padding: 9px 12px;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  transition: background 0.12s;
  gap: 10px;
}

.search-dropdown-item:hover {
  background: #e0f2fe;
}

.search-dropdown-item:last-child {
  border-bottom: none;
}

.search-dropdown-thumb {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1e293b;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  border: 2px solid #e2e8f0;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.search-dropdown-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.search-dropdown-play-fallback {
  width: 100%;
  height: 100%;
  background: #10b981;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
}

.search-dropdown-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
}

.search-dropdown-item:hover .search-dropdown-thumb {
  transform: scale(1.08);
  border-color: #10b981;
}

.search-dropdown-item:hover .search-dropdown-play-overlay {
  opacity: 1;
}

.search-dropdown-play {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.12s, background 0.12s;
}

.search-dropdown-item:hover .search-dropdown-play {
  background: #059669;
  transform: scale(1.1);
}

.search-dropdown-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.search-dropdown-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-dropdown-artist {
  font-size: 0.78rem;
  color: #64748b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-dropdown-badge {
  font-size: 0.68rem;
  font-weight: 800;
  color: #ffffff;
  background: #0284c7;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.search-dropdown-badge.pt { background: #065f46; }
.search-dropdown-badge.br { background: #166534; }
.search-dropdown-badge.en { background: #1e40af; }
.search-dropdown-badge.fr { background: #1e293b; }
.search-dropdown-badge.es { background: #b45309; }
.search-dropdown-badge.de { background: #334155; }
.search-dropdown-badge.it { background: #047857; }
.search-dropdown-badge.lu { background: #0284c7; }
.search-dropdown-badge.or { background: #831843; }
.search-dropdown-badge.eu { background: #4f46e5; }
.search-dropdown-badge.af { background: #7c2d12; }
.search-dropdown-badge.la { background: #9a3412; }

.search-dropdown-empty {
  padding: 35px 15px;
  text-align: center;
  color: #64748b;
  font-size: 0.85rem;
}

/* ==========================================================================
   ABA DE FAVORITOS (LISTA DE FAVORITOS)
   ========================================================================== */
.favorites-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #0f172a;
  color: #f1f5f9;
}

.favorites-top-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: #1e293b;
  border-bottom: 1px solid #334155;
}

.favorites-header-label {
  font-size: 0.86rem;
  font-weight: 800;
  color: #f43f5e;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-fav-clear {
  background: #334155;
  border: 1px solid #475569;
  color: #f87171;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-fav-clear:hover {
  background: #475569;
  color: #fca5a5;
}

.favorites-search-bar-wrap {
  padding: 8px 12px;
  background: #172033;
  border-bottom: 1px solid #334155;
  position: relative;
}

.fav-search-input-box {
  position: relative;
  display: flex;
  align-items: center;
}

.fav-search-icon {
  position: absolute;
  left: 10px;
  font-size: 0.85rem;
  pointer-events: none;
  opacity: 0.7;
}

.fav-search-input {
  width: 100%;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 6px;
  padding: 7px 28px 7px 30px;
  color: #ffffff;
  font-size: 0.82rem;
  outline: none;
  transition: border-color 0.15s;
}

.fav-search-input:focus {
  border-color: #f43f5e;
}

.fav-search-clear {
  position: absolute;
  right: 8px;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 0.80rem;
  cursor: pointer;
}

.fav-search-dropdown {
  position: absolute;
  top: 100%;
  left: 12px;
  right: 12px;
  background: #1e293b;
  border: 1px solid #475569;
  border-radius: 6px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 100;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.fav-search-item {
  padding: 8px 10px;
  cursor: pointer;
  border-bottom: 1px solid #334155;
  font-size: 0.80rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.fav-search-item:hover {
  background: #334155;
  color: #f43f5e;
}

.fav-search-item-meta {
  flex: 1;
  min-width: 0;
}

.fav-search-item-meta strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fav-search-item-meta span {
  font-size: 0.72rem;
  color: #94a3b8;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fav-search-add-btn {
  background: #f43f5e;
  color: #ffffff;
  border: none;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.70rem;
  font-weight: 700;
  cursor: pointer;
}

/* Banner de música atual */
.fav-current-song-banner {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.15), rgba(30, 41, 59, 0.9));
  border-bottom: 1px solid rgba(244, 63, 94, 0.3);
  padding: 7px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.75rem;
}

.fav-current-song-info {
  flex: 1;
  min-width: 0;
}

.fav-current-label {
  display: block;
  font-size: 0.68rem;
  color: #fca5a5;
  text-transform: uppercase;
  font-weight: 700;
}

.fav-current-title {
  display: block;
  color: #ffffff;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-fav-add-current {
  background: #f43f5e;
  border: none;
  color: #ffffff;
  padding: 4px 9px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.1s, background 0.1s;
}

.btn-fav-add-current:hover {
  background: #e11d48;
  transform: scale(1.04);
}

.btn-fav-add-current.saved {
  background: #059669;
}

/* Lista de Favoritos */
.favorites-scroll-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fav-item {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 6px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.15s;
}

.fav-item:hover {
  border-color: #f43f5e;
}

.fav-item-thumb {
  width: 34px;
  height: 34px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fav-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fav-thumb-fallback {
  font-size: 1rem;
}

.fav-item-content {
  flex: 1;
  min-width: 0;
}

.fav-song-title {
  font-size: 0.80rem;
  font-weight: 700;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fav-song-artist {
  font-size: 0.72rem;
  color: #94a3b8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fav-item-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.btn-fav-play {
  background: #10b981;
  border: none;
  color: #ffffff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 0.70rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.1s, background 0.1s;
}

.btn-fav-play:hover {
  background: #059669;
  transform: scale(1.1);
}

.btn-fav-queue {
  background: #3b82f6;
  border: none;
  color: #ffffff;
  width: 26px;
  height: 26px;
  border-radius: 4px;
  font-size: 0.72rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.1s;
}

.btn-fav-queue:hover {
  background: #2563eb;
  transform: scale(1.1);
}

.btn-fav-delete {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 0.85rem;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 3px;
}

.btn-fav-delete:hover {
  color: #f87171;
  background: rgba(239, 68, 68, 0.15);
}

.favorites-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: 30px 16px;
  color: #94a3b8;
}

.favorites-empty-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
  opacity: 0.85;
}

.favorites-empty-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.favorites-empty-text {
  font-size: 0.80rem;
  line-height: 1.4;
  color: #64748b;
}

.favorites-footer-bar {
  padding: 8px 12px;
  background: #1e293b;
  border-top: 1px solid #334155;
  font-size: 0.75rem;
  color: #cbd5e1;
}

/* Banner de Métodos de Pagamento na Sidebar */
.sidebar-payments-banner {
  background: #ffffff;
  border-top: 2px solid #e2e8f0;
  padding: 10px 10px 12px 10px;
  text-align: center;
  flex-shrink: 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.04);
}

.payments-title {
  font-size: 0.74rem;
  font-weight: 700;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.payments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.payment-badge {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
  text-decoration: none;
}

.payment-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.16);
  border-color: #38bdf8;
}

.payment-badge svg {
  max-width: 100%;
  max-height: 100%;
  display: block;
}


