/**
 * Foireann Club Filter Styles
 * 
 * @package FoireannWP
 * @version 6.0.17
 * 
 * ONLY for fixtures list (not tables):
 *   .fixtures__name - team names in fixtures
 */

/* Filter bar - light yellow */
#foireann-filter-bar {
    background: #FFF9C4 !important;
    color: #5D4037 !important;
    border: 1px solid #F9A825 !important;
}

/* Filter bar animations */
.foireann-filter-bar {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Filtered fixture animations */
.foireann-filtered-out {
    display: none !important;
}

.foireann-filtered-in {
    animation: foireann-fade-in 0.3s ease;
}

@keyframes foireann-fade-in {
    from {
        opacity: 0;
        background-color: rgba(0, 132, 61, 0.1);
    }
    to {
        opacity: 1;
        background-color: transparent;
    }
}

/* Clickable team names in fixtures */
.fixtures__name[data-filter-team] {
    cursor: pointer !important;
    transition: background-color 0.15s ease, padding 0.15s ease;
}

.fixtures__name[data-filter-team]:hover {
    background-color: rgba(0, 132, 61, 0.2) !important;
    border-radius: 3px;
}

/* Active filter highlight */
.fixtures__name.filter-active {
    background-color: rgba(0, 132, 61, 0.25) !important;
    border-radius: 3px;
}

/* Filter bar responsive */
@media (max-width: 600px) {
    #foireann-filter-bar {
        flex-direction: column;
        text-align: center;
    }
}

/* Print styles - show all fixtures when printing */
@media print {
    #foireann-filter-bar {
        display: none !important;
    }
    
    .foireann-filtered-out {
        display: block !important;
    }
}
