@charset "UTF-8";

/*****************************************************************
        ULTRA HORIZONTAL FILTERS FIX - MAXIMUM PRIORITY
        This CSS file forces horizontal filter layout
        Last Updated: 30 Oct 2025
*****************************************************************/

/* Hide bootstrap-select/btn-group duplicates (not needed for nice-select) */
body .filter-list-area .bootstrap-select,
body .filter-list-area .dropdown-toggle,
body .filter-list-area .btn-group {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
}

/* Keep native select hidden — nice-select handles the UI */
body .filter-list-area select {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* ── Nice-select: render it and style for dark theme ── */
body .filter-list-area .nice-select {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    float: none !important;
    width: 100% !important;
    min-width: 160px !important;
    height: 45px !important;
    line-height: 43px !important;
    background: rgba(30, 30, 30, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 5px !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding-left: 14px !important;
    padding-right: 32px !important;
    position: relative !important;
    box-sizing: border-box !important;
}
body .filter-list-area .nice-select:hover {
    border-color: rgba(255, 255, 255, 0.3) !important;
}
body .filter-list-area .nice-select:after {
    border-bottom: 2px solid #ccc !important;
    border-right: 2px solid #ccc !important;
}
/* Dropdown list — positioned directly below the button */
body .filter-list-area .nice-select .list {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: auto !important;
    margin-top: 4px !important;
    z-index: 99999 !important;
    background: #1c1c1c !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 6px !important;
    min-width: 100% !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.6) !important;
}
body .filter-list-area .nice-select .option {
    color: #ddd !important;
    line-height: 36px !important;
    min-height: 36px !important;
    padding: 0 14px !important;
}
body .filter-list-area .nice-select .option:hover,
body .filter-list-area .nice-select .option.focus {
    background: #e50914 !important;
    color: #fff !important;
}
body .filter-list-area .nice-select .option.selected {
    color: #fff !important;
    font-weight: 700 !important;
}

/* NUCLEAR OPTION - Override everything */
body .filter-list-area,
body .view-all-video-area .filter-list-area,
body .view-movie-list-item .filter-list-area {
    background: rgba(20, 20, 20, 0.5) !important;
    padding: 20px 15px !important;
    border-radius: 8px !important;
    margin-bottom: 30px !important;
}

/* Force row layout */
body .filter-list-area .row,
body .view-all-video-area .filter-list-area .row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
}

/* Force col to be flex row */
body .filter-list-area .col-lg-12,
body .filter-list-area .row .col-lg-12 {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    width: 100% !important;
}

/* Page title MUST be inline */
body .page-title-item,
body .filter-list-area .page-title-item {
    display: inline-block !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #fff !important;
    margin-right: 20px !important;
    margin-bottom: 10px !important;
    padding-right: 20px !important;
    border-right: 2px solid #e50914 !important;
    float: none !important;
    width: auto !important;
    clear: none !important;
    position: relative !important;
}

/* Force ALL filters to be inline */
body .custom_select_filter,
body .filter-list-area .custom_select_filter {
    display: inline-block !important;
    float: none !important;
    width: auto !important;
    max-width: 200px !important;
    margin-right: 15px !important;
    margin-bottom: 10px !important;
    margin-left: 0 !important;
    vertical-align: middle !important;
    clear: none !important;
    position: relative !important;
    overflow: visible !important;
}

/* Dropdown styling */
body .custom_select_filter select,
body .custom_select_filter .nice-select,
body .custom_select_filter .selectpicker,
body .custom_select_filter .bootstrap-select {
    min-width: 180px !important;
    max-width: 200px !important;
    height: 45px !important;
    background: rgba(30, 30, 30, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 5px !important;
    color: #fff !important;
    padding: 10px 15px !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    width: 100% !important;
}

/* Fix nice-select text vertical centering — line-height handles it, not padding */
body .custom_select_filter .nice-select {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 45px !important;
}

/* Hover effects */
body .custom_select_filter select:hover,
body .custom_select_filter .nice-select:hover {
    border-color: #e50914 !important;
    background: rgba(40, 40, 40, 0.9) !important;
}

/* Nice select specific fixes */
body .nice-select {
    background: rgba(30, 30, 30, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    height: 45px !important;
    line-height: 45px !important;
    padding: 0 15px !important;
    padding-right: 40px !important;
}

body .nice-select:after {
    border-bottom: 2px solid #fff !important;
    border-right: 2px solid #fff !important;
    right: 15px !important;
}

body .nice-select .list {
    background: #1a1a1a !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 5px !important;
    max-height: none !important;
    overflow: visible !important;
}

body .nice-select .option {
    color: #fff !important;
    padding: 10px 15px !important;
    transition: background 0.2s ease !important;
}

body .nice-select .option:hover,
body .nice-select .option.selected {
    background: #e50914 !important;
    color: #fff !important;
}

/* Bootstrap select fixes */
body .bootstrap-select .dropdown-toggle {
    background: rgba(30, 30, 30, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    height: 45px !important;
    padding: 10px 15px !important;
}

body .bootstrap-select .dropdown-menu {
    background: #1a1a1a !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 5px !important;
}

body .bootstrap-select .dropdown-menu li a {
    color: #fff !important;
    padding: 10px 15px !important;
}

body .bootstrap-select .dropdown-menu li a:hover,
body .bootstrap-select .dropdown-menu li.selected a {
    background: #e50914 !important;
    color: #fff !important;
}

/* Prevent any float or block display */
body .filter-list-area * {
    float: none !important;
}

/* Responsive - Desktop only */
@media (min-width: 992px) {
    body .filter-list-area .col-lg-12 {
        display: flex !important;
        flex-direction: row !important;
    }
    
    body .custom_select_filter {
        display: inline-block !important;
        width: auto !important;
    }
}

/* Tablet */
@media (max-width: 991px) and (min-width: 768px) {
    body .page-title-item {
        display: block !important;
        width: 100% !important;
        margin-bottom: 15px !important;
        border-right: none !important;
        border-bottom: 2px solid #e50914 !important;
        padding-bottom: 10px !important;
    }
    
    body .custom_select_filter {
        display: inline-block !important;
        margin-right: 10px !important;
        width: auto !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    body .filter-list-area {
        padding: 15px 10px !important;
    }
    
    body .filter-list-area .col-lg-12 {
        display: flex !important;
        flex-direction: column !important;
    }
    
    body .page-title-item {
        display: block !important;
        width: 100% !important;
        margin-bottom: 15px !important;
        border-right: none !important;
        border-bottom: 2px solid #e50914 !important;
        padding-bottom: 10px !important;
    }
    
    body .custom_select_filter {
        display: block !important;
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 10px !important;
    }
    
    body .custom_select_filter select,
    body .custom_select_filter .nice-select {
        width: 100% !important;
        max-width: 100% !important;
    }
}
