
.search-station-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.search-station-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.search-station-image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* Aspect ratio 1:1 */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.search-station-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-play-btn {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 150, 160, 0.95);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 10;
}

.search-play-btn:hover {
    background: white;
    transform: scale(1.1);
}

.search-play-btn i {
    font-size: 20px;
    color: #667eea;
    margin-left: 2px;
}

.search-station-info {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.search-station-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 36px;
}

.search-station-stats {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #666;
    margin-top: auto;
}

.search-stat {
    display: flex;
    align-items: center;
    gap: 4px;
}

.search-stat i {
    font-size: 13px;
}



.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1050;
    margin-top: 2px;
}

.search-suggestions-loading {
    padding: 15px;
    text-align: center;
    color: #666;
}

.search-suggestion-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background-color 0.2s;
}

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

.search-suggestion-item:hover {
    background-color: #f8f9fa;
}

.search-suggestion-img {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.search-suggestion-info {
    flex: 1;
    min-width: 0;
}

.search-suggestion-name {
    font-weight: 500;
    color: #333;
    margin: 0;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-suggestion-meta {
    color: #666;
    font-size: 12px;
    margin: 0;
}

.search-suggestions-footer {
    padding: 10px 15px;
    background: #f8f9fa;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

.search-suggestions-footer a {
    color: #007bff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.search-suggestions-footer a:hover {
    text-decoration: underline;
}



@media (max-width: 768px) {
    .search-station-name {
        font-size: 13px;
        min-height: 33px;
    }
    
    .search-play-btn {
        width: 36px;
        height: 36px;
    }
    
    .search-play-btn i {
        font-size: 18px;
    }
    
    .search-suggestions {
        max-height: 300px;
    }
    
    .search-suggestion-img {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 576px) {
    .search-station-card {
        border-radius: 8px;
    }
    
    .search-station-info {
        padding: 10px;
    }
    
    .search-play-btn {
        bottom: 6px;
        right: 6px;
    }
}
.search-station-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.1); transition: transform 0.2s, box-shadow 0.2s; height: 100%; display: flex; flex-direction: column; }
.search-station-card:hover { transform: translateY(-4px); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.search-station-image-wrapper { position: relative; width: 100%; padding-bottom: 100%; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); overflow: hidden; }
.search-station-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.search-station-info { padding: 12px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.search-station-name { font-size: 14px; font-weight: 600; color: #333; margin: 0; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 36px; }
.search-station-stats { display: flex; gap: 12px; font-size: 12px; color: #666; margin-top: auto; }
.search-stat { display: flex; align-items: center; gap: 4px; }
.search-stat i { font-size: 13px; }

.station-list-card {
  min-height: 286px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.station-list-card:hover {
  transform: translateY(-5px);
  border-color: rgba(94, 53, 177, 0.22);
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.12);
}

.station-list-art {
  min-height: 132px;
  padding: 1rem;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 24% 20%, rgba(126, 87, 194, 0.18), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(3, 169, 244, 0.12), transparent 32%),
    linear-gradient(145deg, #f4f6ff, #ffffff);
}

.station-list-art::after {
  content: '';
  position: absolute;
  inset: auto 16px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(94, 53, 177, 0.16), transparent);
}

.station-list-img {
  position: relative;
  top: auto;
  left: auto;
  width: 86px;
  height: 86px;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 18px;
  padding: 0.55rem;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
  z-index: 2;
}

.station-list-card:hover .station-list-img {
  transform: translateY(-2px) scale(1.04);
}

.station-list-glow {
  position: absolute;
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background: rgba(126, 87, 194, 0.16);
  filter: blur(18px);
  z-index: 1;
}

.station-list-play {
  right: 12px;
  bottom: 12px;
  width: 46px;
  height: 46px;
  background: #5e35b1;
  box-shadow: 0 14px 26px rgba(94, 53, 177, 0.28);
  z-index: 4;
}

.station-list-play i {
  color: #ffffff;
}

.station-list-play:hover {
  background: #ffffff;
}

.station-list-play:hover i {
  color: #5e35b1;
}

.station-list-info {
  flex: 1;
  padding: 0.9rem 0.95rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.station-list-kicker {
  margin: 0;
  color: #6d5bd0;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.station-list-name {
  min-height: 2.4rem;
  margin: 0;
  color: #172033;
  font-size: 0.98rem;
  line-height: 1.22;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.station-list-tags {
  min-height: 1.65rem;
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  overflow: hidden;
}

.station-list-tag {
  max-width: 100%;
  min-height: 1.45rem;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: #f1effb;
  color: #5e35b1;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.station-list-tag:hover {
  background: #5e35b1;
  color: #ffffff;
}

.station-list-stats {
  margin-top: auto;
  margin-bottom: 0;
  justify-content: space-between;
  gap: 0.5rem;
}

.station-list-stats .search-stat {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
}

.station-list-stats .search-stat i {
  color: #6d5bd0;
}

.station-list-card .btn-add-to-favorites {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #6d5bd0;
  border: 1px solid rgba(94, 53, 177, 0.12);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.station-list-card .btn-add-to-favorites.active {
  background: #fff1f5;
  color: #e11d48;
}

@media (max-width: 576px) {
  .station-list-card {
    min-height: 258px;
    border-radius: 12px;
  }

  .station-list-art {
    min-height: 112px;
    padding: 0.75rem;
  }

  .station-list-img {
    width: 72px;
    height: 72px;
    border-radius: 15px;
  }

  .station-list-play {
    width: 40px;
    height: 40px;
    right: 9px;
    bottom: 9px;
  }

  .station-list-name {
    font-size: 0.9rem;
  }
}
@media (max-width: 768px) {
  .search-station-name { font-size: 13px; min-height: 33px; }
  .search-play-btn { width: 36px; height: 36px; }
  .search-play-btn i { font-size: 18px; }
  .search-suggestions { max-height: 300px; }
  .search-suggestion-img { width: 36px; height: 36px; }
}

@media (max-width: 576px) {
  .search-station-card { border-radius: 8px; }
  .search-station-info { padding: 10px; }
  .search-play-btn { bottom: 6px; right: 6px; }
}
