﻿/**
 * ANT1 TV Shows Filter Styles
 */

/* Active state for category filters in carousel */
.filter a.is-selected {
    color: #fff !important;
    font-weight: bold;
}

/* Ensure smooth transitions for item visibility */
.item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}



/* Optional: Add hover effects to filters */
.letters a:hover,
.filter a:hover {
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

/* Make sure links are clickable and styled properly */
.letters a,
.filter a {
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Highlight effect for active letter filters */
.letters a.active::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #e30613;
}

/* No results message styling */
#no-results-message {
    text-align: center;
    margin: 40px 0;
}

#no-results-message p {
    font-size: 20px;
    color: #666;
    font-weight: 300;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .letters a.active {
        padding: 6px 10px;
        font-size: 14px;
    }
    
    .filter a.is-selected {
        border-bottom-width: 2px;
    }
}

/* Ensure proper spacing in filter carousel */
.filter.carousel .carousel-cell {
    margin-right: 15px;
}

/* Style for disabled/inactive filters */
.letters a:not(.active),
.filter a:not(.is-selected) {
    opacity: 0.7;
}

.letters a:not(.active):hover,
.filter a:not(.is-selected):hover {
    opacity: 1;
}

/* Loading state (optional) */
.directory-shows.loading .item {
    opacity: 0.5;
    pointer-events: none;
}

/* Animation for items appearing */
@keyframes fadeInUp {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.item {
    animation: fadeInUp 0.4s ease-out;
}

/* Improve focus states for accessibility */
.letters a:focus,
.filter a:focus {
    outline: 2px solid #e30613;
    outline-offset: 2px;
}
