/* BANDS DISCOVERY STYLES (integrated into BACKLINE) */
/* Discover and follow bands */

/* ========== BACKLINE BANDS SECTION ========== */
#backline-bands-section {
    padding: 0;
}

.bands-search-container {
    margin-bottom: 16px;
}

.bands-search-container .bands-search-input {
    width: 100%;
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(42, 52, 57, 0.9), rgba(26, 31, 36, 0.9));
    border: 2px solid var(--steel);
    border-radius: 12px;
    color: white;
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.bands-search-container .bands-search-input:focus {
    outline: none;
    border-color: var(--flame-red);
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.2);
}

.bands-search-container .bands-search-input::placeholder {
    color: var(--steel);
}

.bands-filter-row-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
}

.bands-filter-select-inline {
    padding: 10px 14px;
    background: linear-gradient(135deg, rgba(42, 52, 57, 0.9), rgba(26, 31, 36, 0.9));
    border: 2px solid var(--steel);
    border-radius: 8px;
    color: white;
    font-size: 0.85rem;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    min-width: 130px;
}

.bands-filter-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: linear-gradient(135deg, rgba(42, 52, 57, 0.9), rgba(26, 31, 36, 0.9));
    border: 2px solid var(--steel);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.8rem;
    color: var(--silver);
}

.bands-filter-checkbox:hover {
    border-color: var(--flame-red);
}

.bands-filter-checkbox input[type="checkbox"] {
    accent-color: var(--flame-red);
    width: 16px;
    height: 16px;
}

/* ========== BACKLINE BANDS LIST ========== */
.backline-bands-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.backline-band-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: linear-gradient(135deg, rgba(42, 52, 57, 0.8), rgba(26, 31, 36, 0.8));
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.backline-band-item:hover {
    background: linear-gradient(135deg, rgba(52, 62, 67, 0.9), rgba(36, 41, 46, 0.9));
    border-color: var(--steel);
    transform: translateX(4px);
}

.band-item-patch {
    width: 55px;
    height: 55px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--steel);
}

.band-item-patch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.band-item-patch .no-patch-icon {
    font-size: 1.3rem;
    opacity: 0.5;
}

.band-item-info {
    flex: 1;
    min-width: 0;
}

.band-item-name {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.band-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 4px;
}

.band-genre-tag {
    font-size: 0.7rem;
    color: var(--electric-blue);
    background: rgba(0, 217, 255, 0.15);
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.band-location {
    font-size: 0.75rem;
    color: var(--steel);
}

.band-item-stats {
    display: flex;
    gap: 12px;
    font-size: 0.75rem;
    color: var(--steel);
}

.band-item-stats .upcoming-shows {
    color: var(--success-green);
}

.band-follow-toggle {
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--flame-red), var(--hot-orange));
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.band-follow-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.4);
}

.band-follow-toggle.following {
    background: linear-gradient(135deg, var(--steel), #4a5568);
}

.band-follow-toggle.following:hover {
    box-shadow: none;
}

/* Loading and error messages */
.backline-bands-list .loading-message,
.backline-bands-list .error-message {
    text-align: center;
    padding: 40px 20px;
    color: var(--steel);
    font-size: 0.9rem;
}

/* ========== SECTION TITLES ========== */
.bands-view .section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    font-family: 'Rubik Mono One', monospace;
}

.section-icon {
    font-size: 1.5rem;
}

.band-count {
    font-size: 0.9rem;
    color: var(--steel);
    font-weight: 400;
}

/* ========== FEATURED BANDS SECTION ========== */
.featured-bands-section {
    margin-bottom: 40px;
}

.featured-bands-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 0 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.featured-bands-carousel::-webkit-scrollbar {
    height: 6px;
}

.featured-bands-carousel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.featured-bands-carousel::-webkit-scrollbar-thumb {
    background: var(--flame-red);
    border-radius: 3px;
}

.featured-band-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
    background: linear-gradient(135deg, rgba(42, 52, 57, 0.9), rgba(26, 31, 36, 0.9));
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.featured-band-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(255, 69, 0, 0.3);
}

.featured-band-banner {
    height: 150px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.featured-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #1a1a2e;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.featured-band-info {
    padding: 16px;
}

.featured-band-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.featured-band-desc {
    font-size: 0.85rem;
    color: var(--silver);
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-band-stats {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.featured-band-stats .stat {
    font-size: 0.8rem;
    color: var(--steel);
}

/* ========== SEARCH & FILTERS ========== */
.bands-filters-section {
    margin-bottom: 30px;
}

.bands-search-bar {
    position: relative;
    margin-bottom: 16px;
}

.bands-search-input {
    width: 100%;
    padding: 14px 20px;
    padding-right: 50px;
    background: linear-gradient(135deg, rgba(42, 52, 57, 0.9), rgba(26, 31, 36, 0.9));
    border: 2px solid transparent;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.bands-search-input:focus {
    outline: none;
    border-color: var(--flame-red);
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.2);
}

.bands-search-input::placeholder {
    color: var(--steel);
}

.search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    opacity: 0.6;
}

.bands-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.bands-filter-select {
    padding: 10px 16px;
    background: linear-gradient(135deg, rgba(42, 52, 57, 0.9), rgba(26, 31, 36, 0.9));
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    min-width: 150px;
}

.bands-filter-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: linear-gradient(135deg, rgba(42, 52, 57, 0.9), rgba(26, 31, 36, 0.9));
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bands-filter-toggle:hover {
    background: linear-gradient(135deg, rgba(52, 62, 67, 0.9), rgba(36, 41, 46, 0.9));
}

.bands-filter-toggle input[type="checkbox"] {
    accent-color: var(--flame-red);
    width: 18px;
    height: 18px;
}

.bands-filter-toggle span {
    font-size: 0.9rem;
    color: var(--silver);
}

/* ========== BANDS LIST ========== */
.all-bands-section {
    margin-bottom: 40px;
}

.bands-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.band-list-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(42, 52, 57, 0.8), rgba(26, 31, 36, 0.8));
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.band-list-item:hover {
    background: linear-gradient(135deg, rgba(52, 62, 67, 0.9), rgba(36, 41, 46, 0.9));
    transform: translateX(4px);
}

.band-patch-thumb {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.band-patch-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.band-patch-thumb .no-patch {
    font-size: 1.5rem;
    opacity: 0.5;
}

.band-list-info {
    flex: 1;
    min-width: 0;
}

.band-list-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.band-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
}

.band-genre {
    font-size: 0.75rem;
    color: var(--electric-blue);
    background: rgba(0, 217, 255, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
}

.band-hometown {
    font-size: 0.75rem;
    color: var(--steel);
}

.band-list-stats {
    display: flex;
    gap: 12px;
}

.band-list-stats .stat {
    font-size: 0.8rem;
    color: var(--steel);
}

.band-list-stats .upcoming {
    color: var(--success-green);
}

/* ========== FOLLOW BUTTONS ========== */
.follow-btn,
.follow-btn-small {
    background: linear-gradient(135deg, var(--flame-red), var(--hot-orange));
    color: white;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.follow-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.follow-btn-small {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.follow-btn:hover,
.follow-btn-small:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.4);
}

.follow-btn.following,
.follow-btn-small.following {
    background: linear-gradient(135deg, var(--success-green), #45a049);
    box-shadow: 0 0 12px rgba(76, 175, 80, 0.4);
    border: 2px solid rgba(76, 175, 80, 0.6);
}

/* ========== BAND ACTION BUTTONS ========== */
.band-list-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.band-action-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.1);
}

.band-action-btn:hover {
    transform: scale(1.1);
}

.band-action-btn.profile-btn {
    background: rgba(0, 217, 255, 0.2);
}

.band-action-btn.profile-btn:hover {
    background: rgba(0, 217, 255, 0.4);
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.3);
}

.band-action-btn.patch-btn {
    background: rgba(255, 107, 53, 0.2);
}

.band-action-btn.patch-btn:hover {
    background: rgba(255, 107, 53, 0.4);
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
}

.band-action-btn.patch-btn.collected {
    background: rgba(76, 175, 80, 0.3);
}

.band-action-btn.follow-btn {
    background: rgba(181, 55, 242, 0.2);
}

.band-action-btn.follow-btn:hover {
    background: rgba(181, 55, 242, 0.4);
    box-shadow: 0 0 10px rgba(181, 55, 242, 0.3);
}

.band-action-btn.follow-btn.following {
    background: linear-gradient(135deg, rgba(181, 55, 242, 0.6), rgba(138, 43, 226, 0.7));
    box-shadow: 0 0 12px rgba(181, 55, 242, 0.4);
    border: 2px solid rgba(181, 55, 242, 0.7);
}

/* ========== BACKLINE BAND ITEM ACTIONS ========== */
.band-item-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    align-items: center;
}

/* ========== EMPTY STATE ========== */
.no-bands-message {
    text-align: center;
    padding: 60px 20px;
    color: var(--steel);
}

.no-bands-message .empty-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-bands-message h3 {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 10px;
}

/* ========== MAP FILTER DROPDOWN ========== */
.map-filter-dropdown {
    position: fixed;
    bottom: 280px;
    right: 16px;
    z-index: 1100;
}

.map-filter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(42, 52, 57, 0.95), rgba(26, 31, 36, 0.95));
    border: 2px solid var(--steel);
    border-radius: 12px;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.map-filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    border-color: var(--flame-red);
}

.map-filter-menu {
    position: absolute;
    bottom: calc(100% + 8px);
    right: 0;
    background: linear-gradient(135deg, var(--gunmetal), var(--dark-gunmetal));
    border: 2px solid var(--steel);
    border-radius: 12px;
    padding: 6px;
    min-width: 140px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.map-filter-menu.hidden {
    display: none;
}

.map-filter-option {
    display: block;
    width: 100%;
    padding: 10px 14px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--silver);
    font-size: 0.7rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.map-filter-option:hover {
    background: rgba(255, 107, 53, 0.15);
    color: white;
}

.map-filter-option.active {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.25), rgba(255, 69, 0, 0.25));
    color: var(--flame-red);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    #bands-view {
        padding: 15px;
        padding-top: 100px;
    }

    .featured-band-card {
        flex: 0 0 260px;
    }

    .bands-filter-row {
        flex-direction: column;
        align-items: stretch;
    }

    .bands-filter-select,
    .bands-filter-toggle {
        width: 100%;
        justify-content: center;
    }

    .band-list-item {
        padding: 12px;
    }

    .band-patch-thumb {
        width: 50px;
        height: 50px;
    }

    .band-list-name {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .featured-band-card {
        flex: 0 0 240px;
    }

    .featured-band-banner {
        height: 120px;
    }

    .section-title {
        font-size: 1.1rem;
    }

    .map-filter-dropdown {
        bottom: 220px;
        right: 10px;
    }

    .map-filter-btn {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
}
