/* Luistervink Navigation Blocks - Bootstrap 5 Style */
.luistervink-nav-blocks {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    width: 100%;
    justify-content: flex-start;
    background-color: rgba(132, 237, 125, 0.3); /* --primary-color with 0.3 opacity */
    position: relative;
    /* Above the table header (table thead is z-index 50 within the same
       card stacking context) so the Games dropdown overlays the tables
       below it instead of being painted behind them. */
    z-index: 100;
    border: 2px solid var(--secondary-color);
    border-top: none;
    border-bottom: none;
}

.luistervink-nav-blocks .nav-link {
    padding: 0.75rem 1.25rem;
    color: var(--secondary-color, #FF6DC3); /* Pink text color */
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-bottom: 0;
    border-radius: 0.25rem 0.25rem 0 0;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: -1px;
    margin-right: 0.25rem;
    position: relative;
    transition: all 0.2s ease-in-out;
}

.luistervink-nav-blocks .nav-link:hover {
    background-color: #f8f9fa;
    color: var(--secondary-color, #FF6DC3);
    opacity: 0.9;
    z-index: 2;
}

.luistervink-nav-blocks .nav-link.active {
    color: var(--light-text, #ffffff); /* White text for active tab */
    background-color: var(--secondary-color, #FF6DC3); /* Pink background for active tab */
    border: 1px solid var(--secondary-color, #FF6DC3);
    border-bottom: 0;
    font-weight: 600;
    z-index: 3;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
}

.location-card {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .luistervink-nav-blocks .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 767.98px) {
    .luistervink-nav-blocks {
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: thin;
    }

    .luistervink-nav-blocks::-webkit-scrollbar {
        height: 6px;
    }

    .luistervink-nav-blocks::-webkit-scrollbar-thumb {
        background-color: rgba(255,109,195,0.3); /* Light pink scrollbar */
        border-radius: 3px;
    }

    .luistervink-nav-blocks .nav-link {
        white-space: nowrap;
        padding: 0.4rem 0.75rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .luistervink-nav-blocks .nav-link {
        padding: 0.3rem 0.6rem;
        font-size: 0.85rem;
    }
}