/* Top 15 Page - Dumont */

/* Container principal - versão app */
.top15-container-app {
  padding: 0 !important;
  background: white !important;
  background-color: white !important;
  margin: 0;
  width: 100%;
  position: relative;
}

/* Fundo branco fixo para app */
body.app-layout .top15-container-app::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  z-index: -1;
}

/* Header da página (versão web) */
.top15-page-header {
  background: linear-gradient(135deg, #005096 0%, #0066cc 100%);
  padding: 20px 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 12px rgba(0, 80, 150, 0.3);
}

.top15-page-title-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top15-icon-large {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.top15-page-title {
  font-weight: 950;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  color: white;
}

/* Lista de músicas - versão web */
.top15-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #d0d0d0;
  padding: 30px;
  margin-bottom: 40px;
}

/* Lista de músicas - versão app */
.top15-list-app {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: white !important;
  background-color: white !important;
  padding: 0;
  margin: 0;
}

/* Item da lista */
.top15-list-item {
  display: flex;
  align-items: center;
  background: white !important;
  background-color: white !important;
  padding: 0;
  margin-bottom: 0;
  cursor: pointer;
  transition: background-color 0.2s ease;
  position: relative;
  border-bottom: 1px solid #f0f0f0;
}

.top15-list-item:last-child {
  border-bottom: none;
}

.top15-list-item:hover {
  background-color: #f8f8f8;
}

/* Imagem da música */
.top15-item-image {
  width: 133px;
  height: 100px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.top15-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Informações da música */
.top15-item-info {
  flex: 1;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

/* Posição no ranking */
.top15-item-position {
  font-size: 0.85rem;
  font-weight: 700;
  color: #b8b8b8;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

/* Artista */
.top15-item-artist {
  font-size: 0.85rem;
  font-weight: 700;
  color: #4dc4d4;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Nome da música */
.top15-item-song {
  font-size: 1rem;
  font-weight: 900;
  color: #030d4f;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Ícone de play/pause */
.top15-item-play {
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.top15-item-play .play-icon,
.top15-item-play .pause-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.top15-item-play .play-icon:hover,
.top15-item-play .pause-icon:hover {
  transform: scale(1.1);
}

.top15-item-play svg {
  width: 28px;
  height: 28px;
  fill: #4dc4d4;
  transition: fill 0.2s ease;
}

.top15-item-play .play-icon:hover svg,
.top15-item-play .pause-icon:hover svg {
  fill: #3a9fb0;
}

.hidden {
  display: none !important;
}

/* Estado vazio */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #666;
  font-size: 1.1rem;
}

.empty-state-app {
  padding: 40px 20px;
  font-size: 1rem;
}

/* Responsive - Web */
@media (max-width: 768px) {
  .top15-page-title {
    font-size: 1.5rem;
  }

  .top15-icon-large {
    width: 50px;
    height: 50px;
  }

  .top15-list {
    padding: 20px;
  }

  .top15-item-image {
    width: 100px;
    height: 75px;
  }

  .top15-item-info {
    padding: 10px 12px;
  }

  .top15-item-artist {
    font-size: 0.8rem;
  }

  .top15-item-song {
    font-size: 0.9rem;
  }
}

@media (max-width: 600px) {
  .top15-page-header {
    padding: 15px 20px;
  }

  .top15-icon-large {
    width: 40px;
    height: 40px;
  }

  .top15-page-title {
    font-size: 1.2rem;
  }

  .top15-list {
    padding: 0;
  }
}

/* Responsive - App específico */
@media (max-width: 480px) {
  .top15-item-image {
    width: 110px;
    height: 83px;
  }

  .top15-item-info {
    padding: 10px 12px;
    gap: 3px;
  }

  .top15-item-position {
    font-size: 0.8rem;
  }

  .top15-item-artist {
    font-size: 0.8rem;
  }

  .top15-item-song {
    font-size: 0.95rem;
  }
}