/**
 * Casino Archive Filter - Sidebar filters (checkboxes)
 * Modern card design, custom checkboxes
 *
 * @package jGambling
 */


.casino_filter.slot-search {
    padding: 24px;
    margin-bottom: 24px;
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}


.casino_filter .field {
    position: relative;
    margin-bottom: 24px;
}

.casino_filter .field input[type="text"] {
    width: 100%;
    height: 44px;
    padding: 0 44px 0 16px;
    border: 1px solid #e8ecf0;
    border-radius: 10px;
    font-size: 14px;
    color: #1a1d29;
    background: #f8fafc;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.casino_filter .field input[type="text"]::placeholder {
    color: #64748b;
}

.casino_filter .field input[type="text"]:focus {
    outline: none;
    border-color: #2396f7;
    background: #fff;
}

.casino_filter .field button {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    padding: 0;
    border: none;
    background: url('../../../assets/img/svg/search.svg') no-repeat center;
    background-size: contain;
    cursor: pointer;
    opacity: 0.5;
}

.casino_filter .field button:hover {
    opacity: 0.8;
}


.casino_filter .casino_archive_filter_block {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.casino_filter .casino_filter_tax {
    margin-bottom: 0;
    padding-bottom: 16px;
    border-bottom: 1px solid #e8ecf0;
}

.casino_filter .casino_filter_tax:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.casino_filter .casino_filter_tax > p {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin: 0 0 12px 0;
    padding: 0;
}


.casino_filter .filter_list_items {
    max-height: 160px;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.casino_filter .filter_list_items::-webkit-scrollbar {
    width: 6px;
}

.casino_filter .filter_list_items::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.casino_filter .filter_list_items::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.casino_filter .filter_list_items::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}


.casino_filter .filter-item {
    display: flex;
    align-items: center;

}


.casino_filter .sort1 .checkbox {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.casino_filter .sort1 .checkbox + label {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
    padding: 8px 0;
    margin: 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    color: #1a1d29;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
}

.casino_filter .sort1 .checkbox + label:hover {
    background: #f1f5f9;
}

.casino_filter .sort1 .checkbox + label::before {
    content: '';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    
    
    background: #fff;
    box-shadow: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.casino_filter .sort1 .checkbox:focus-visible + label::before {
    box-shadow: 0 0 0 3px rgba(35, 150, 247, 0.25);
}

.casino_filter .sort1 .checkbox:checked + label::before {
    border-color: #2396f7;
    background: #2396f7;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    box-shadow: none;
}

.casino_filter .sort1 .checkbox:checked + label {
    color: #2396f7;
    font-weight: 500;
}


.casino_filter .sort1 .checkbox + label .filter-count {
    margin-left: auto;
    margin-right: 10px;
    font-size: 12px;
    color: #64748b;
    font-weight: 400;
}

.casino_filter .sort1 .checkbox:checked + label .filter-count {
    color: #2396f7;
}
