/* Reset básico */
* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-color: #000;   /* negro Spotify */
  color: #fff;              /* texto claro */
}

/* Menú superior */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #181818;
  color: #fff;
  padding: 0.75rem 1.5rem;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  height: 32px;
}

.app-name {
  font-weight: bold;
  font-size: 18px;
}

.topbar-center .messages {
  color: #1db954; /* verde Spotify */
  font-size: 14px;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Botón de logout (general) */
.logout-btn {
  background: #1db954;
  color: #000;
  padding: 6px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  border: none;
  cursor: pointer;
}
.logout-btn:hover {
  filter: brightness(1.1);
}

/* Contenido genérico */
.content {
  padding: 2rem;
}

/* Banner inferior */
.banner {
  position: fixed;
  bottom: 0;
  right: 0;
  background: transparent;
  padding: 0.5rem;
}

.banner-img {
  max-width: 200px;
  height: auto;
  border-radius: 8px 0 0 0;
}

/* Títulos de página */
.page-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 2rem;
  font-weight: bold;
}

/* Botones genéricos */
.nav-btn,
.action-btn {
  background: #282828;
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  border: none;
  cursor: pointer;
}
.nav-btn:hover,
.action-btn:hover {
  background: #1db954;
  color: #000;
}

.action-btn.primary {
  background: #1db954;
  color: #000;
}
.action-btn.primary:disabled {
  background: #555;
  color: #aaa;
  cursor: not-allowed;
}
.action-btn:disabled {
  background: #555;   /* gris oscuro */
  color: #aaa;        /* texto apagado */
  cursor: not-allowed;
  opacity: 0.6;       /* más tenue */
}


/* Mensajes globales */
.messages p {
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 4px;
  font-weight: bold;
}
.messages p.error {
  background-color: #f8d7da;
  color: #721c24;
}
.messages p.success {
  background-color: #d4edda;
  color: #155724;
}