/* Shared components - test-design branch */

/* List item pattern mapped to existing classes */
.list-item,
.song-alphabetically {
  display: flex;
  align-items: center;
  gap: var(--space-2, 8px);
  min-height: 56px;
  width: 90vw;
  padding: 0 var(--space-2, 8px) var(--space-2, 8px) 0;
  border-bottom: 1px solid var(--color-divider, rgba(196,174,92,0.35));
}
.list-item:last-child,
.song-alphabetically:last-child {
  border-bottom: none;
}

.list-item__thumb,
.song-alphabetically .small-flag {
  max-width: 25%;
  margin: var(--space-1, 4px);
  padding: var(--space-1, 4px);
  border-radius: var(--radius-2, 10px);
  flex: 0 0 auto;
}
.list-item__thumb img,
.song-alphabetically .small-flag img {
  max-height: 35px;
  width: auto;
}

.list-item__content,
.song-alphabetically .song-title {
  flex: 1 1 auto;
  margin: 0;
  padding: var(--space-1, 4px);
  color: var(--color-text-on-surface, #C4AE5C);
  font-size: 1.5em;
  line-height: var(--line-height-tight, 1.2);
}

.list-item__chevron,
.song-alphabetically .song-arrow {
  margin-left: auto;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  margin-right: 10px;
}

/* Card grid pattern for future use (countries/themes) */
.card {
  background: var(--color-surface, rgba(12,71,123,0.9));
  border-radius: var(--radius-3, 12px);
  box-shadow: var(--shadow-1, 0 1px 2px rgba(0,0,0,0.15));
  overflow: hidden;
}
.card__media {
  aspect-ratio: 3 / 2;
  width: 100%;
  object-fit: cover;
  display: block;
}
.card__title {
  padding: var(--space-2, 8px);
  font-size: var(--font-size-body, 16px);
  color: var(--color-text-on-surface, #C4AE5C);
}

/* Bottom nav active hint (non-invasive) */
.bottom-menu-grid-item.active,
.bottom-menu-grid-item:focus-visible {
  text-decoration: underline;
  text-underline-offset: 6px;
  background: rgba(39, 125, 168, 0.22);
  border-radius: 8px;
}


