/* ==========================================================================
   CSS: LOGO DROPDOWN / TOP BAR DETAILS
   ========================================================================== */

.logo-wrapper {
  position: relative;
  display: inline-block;
  background: transparent;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
  transition: border-radius 0.3s ease;
  z-index: 1000;
  overflow: visible;
}

.logo-wrapper > * {
  position: relative;
  z-index: 1;
}

.logo-wrapper:hover {
  border-radius: 8px 8px 0 0;
}
    
    .logo-wrapper::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  border-radius: 8px;
  background-color: rgba(53, 53, 60, 0.4);
  background-image: var(--grain-bg);
  background-size: 20px 20px;
  background-blend-mode: overlay;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  pointer-events: none;
  z-index: 0;
  transition:
    border-radius 0.3s ease,
    bottom 0.3s ease,
    background-color 0.3s ease;
}

.logo-wrapper:hover::before {
  bottom: -230px;
  border-radius: 8px;
  background-color: rgba(53, 53, 60, 0.55);
}

.logo-row {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 35px;
}

.logo-row img {
  height: 35px;
  width: auto;
  display: block;
}

.logo-row a {
  position: relative;
  overflow: hidden;
  display: flex;
  font-size: 14px;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #f3f3f3;
}

.logo-row a:hover {
  text-decoration: none;
}

.vertical-sep {
  width: 1px;
  height: 31px;
  background: #555;
}

#app-logo {
  background-image: var(--nuam-logo-url);
  background-repeat: no-repeat;
  background-size: contain;
}

.logo-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  background: transparent;
  border-radius: 0 0 8px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition:
    max-height 0.3s ease,
    opacity 0.3s ease,
    transform 0.3s ease;
  z-index: 100;
  padding: 0 10px 10px;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background-image: none;
}

.logo-wrapper:hover .logo-dropdown {
  max-height: 260px;
  opacity: 1;
  transform: translateY(0);
}


.logo-row a img {
  position: relative;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.logo-row a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  background: linear-gradient(135deg, #84aafb, #90ee90);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: left center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: left center;
}

.logo-row a:hover::after {
  opacity: 1;
}

.logo-row:first-child a::after {
  mask-image: var(--mask-logo-main);
  -webkit-mask-image: var(--mask-logo-main);
  background: linear-gradient(1deg, #cdd28d, #89bfd0);
}

.logo-dropdown .logo-row:nth-child(1) a::after {
  mask-image: var(--mask-logo-1);
  -webkit-mask-image: var(--mask-logo-1);
  background: linear-gradient(1deg, #cdd28d, #89bfd0);
}

.logo-dropdown .logo-row:nth-child(2) a::after {
  mask-image: var(--mask-logo-2);
  -webkit-mask-image: var(--mask-logo-2);
  background: linear-gradient(1deg, #cdd28d, #89bfd0);
}

.logo-dropdown .logo-row:nth-child(3) a::after {
  mask-image: var(--mask-logo-3);
  -webkit-mask-image: var(--mask-logo-3);
  background: linear-gradient(1deg, #cdd28d, #89bfd0);
}

.logo-dropdown .logo-row:nth-child(4) a::after {
  mask-image: var(--mask-logo-4);
  -webkit-mask-image: var(--mask-logo-4);
  background: linear-gradient(1deg, #cdd28d, #89bfd0);
}

.logo-row a:hover img {
  opacity: 0;
}

.ld-sep {
  display: block;
  height: 1px;
  background: #555;
  border: 0;
  margin-left: -10px;
  margin-right: -10px;
  width: calc(100% + 20px);
  box-sizing: content-box;
}

.ld-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
}

.ld-btn {
  display: flex !important;
  width: 100%;
  height: 30px;
  color: #f3f3f3;
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--app-font-family);
  cursor: pointer;
  transition: border-color 0.3s ease;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 0;
  border: 1px solid rgba(132, 170, 251, 0);
  background-color: rgba(132, 170, 251, 0.2);
  text-decoration: none;
  line-height: 1;
}

.ld-btn:hover {
  border-color: rgba(132, 170, 251, 1);
  text-decoration: none;
}

.ld-btn__icon {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  margin-left: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  font-size: 14px;
  color: #f3f3f3;
}

.section-title {
  font-size: 16px;
  line-height: 1.3;
  margin-bottom: 8px;
  color: #f3f3f3;
}

.section-subtitle {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
  margin-bottom: 10px;
}

#playlist-summary {
  display: none;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}

#playlist-summary.show {
  display: block;
}

#search-no-results,
#playlist-no-results {
  display: none;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  margin-top: 10px;
}

#search-no-results.show,
#playlist-no-results.show {
  display: block;
}

#search-results {
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#playlist-list {
  display: block;
}

.playlist-list-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: start;
}

    #playlist-list,
.curator-playlist-list,
.playlist-list-columns,
.tab-pane-section {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}
    
.playlist-list-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

@media (min-width: 1280px) {
  .playlist-list-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

