/* ===================================================
   MODERN & UNIQUE FILTER BOX DESIGN
   =================================================== */

/* 1. HIDE PRICE & RATING SECTIONS */
/* Indha code price matrum rating filter-ai purthiyaaga maraikkum */
.filter_type:has(h6:contains("Price")), 
.filter_type:has(h6:contains("Ratings")),
.filter_type:has(h6:contains("price")),
.filter_type:has(h6:contains("ratings")),
.filter_type:nth-child(4), /* Price section position */
.filter_type:nth-child(8)  /* Ratings section position */ {
    display: none !important;
}

/* Specific fix: HR lines remove panna */
.filter_type + hr {
    display: none !important;
}

/* 2. FILTER CARD STYLE */
.filter-area .card {
    border: none !important;
    border-radius: 15px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    overflow: hidden !important;
    background: #ffffff !important;
}

/* Filter Header (The "Filter" title bar) */
.filter-card-header {
    background-color: #f8f9fa !important;
    border-bottom: 1px solid #eee !important;
    padding: 15px 20px !important;
}

.filter-card-header h6 {
    font-weight: 700 !important;
    color: #333 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px !important;
}

/* 3. FILTER TYPE SECTIONS (Categories, Level, etc.) */
.filter_type {
    padding: 15px 5px !important;
}

.filter_type h6 {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin-bottom: 15px !important;
    position: relative;
    padding-left: 10px;
}

/* Side Red Line for Titles */
.filter_type h6::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: #ff4d4d; /* Theme Color */
}

/* 4. LIST ITEMS & RADIO BUTTONS */
.filter_type ul {
    list-style: none !important;
    padding-left: 5px !important;
}

.filter_type ul li {
    margin-bottom: 10px !important;
    transition: all 0.3s ease;
}

/* Radio/Checkbox Style */
.custom-radio {
    width: 18px !important;
    height: 18px !important;
    cursor: pointer !important;
    accent-color: #ff4d4d !important; /* Changes radio color to red */
    vertical-align: middle;
}

.filter_type label {
    font-size: 14px !important;
    color: #555 !important;
    cursor: pointer !important;
    margin-left: 8px !important;
    vertical-align: middle;
    font-weight: 500 !important;
    transition: color 0.2s;
}

.filter_type label:hover {
    color: #051730 !important;
}

/* 5. SHOW MORE BUTTON */
#city-toggle-btn {
    color: #ff4d4d !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    padding-left: 10px;
}

#city-toggle-btn:hover {
    text-decoration: underline !important;
}

/* Hide the last HR if visible */
.filter-area hr:last-of-type {
    display: none !important;
}