:root {
    --primary-color: #e91e63;
    --primary-dark: #c2185b;
    --primary-light: #f8bbd9;
    --secondary-color: #7c4dff;
    --accent-color: #ff6f00;
    --bg-light: #fdf2f8;
    --text-dark: #2d3748;
    --text-muted: #718096;
    --border-color: #e2e8f0;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --hover-shadow: 0 8px 30px rgba(233, 30, 99, 0.2);
}

.filter-container-section {
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 50%, #fbcfe8 100%);
    min-height: 100vh;
}

/* Filter Sidebar */
.filter-sidebar {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    padding: 25px;
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.filter-sidebar::-webkit-scrollbar {
    width: 6px;
}

.filter-sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.filter-sidebar::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 10px;
}

.filter-sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bg-light);
}

.filter-header h4 {
    color: var(--text-dark);
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-header h4 i {
    color: var(--primary-color);
}

.btn-reset {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 13px;
    padding: 5px 15px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.btn-reset:hover {
    background: var(--primary-color);
    color: #fff;
}

.filter-section {
    margin-bottom: 25px;
}

.filter-section-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--primary-light), transparent);
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: block;
}

.form-select,
.form-control {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 10px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

.form-select:focus,
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
    background-color: #fff;
}

/* Custom Range Slider */
.range-slider-container {
    padding: 10px 0;
}

.range-values {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.range-value-box {
    background: var(--bg-light);
    padding: 5px 15px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-color);
}

.dual-range {
    position: relative;
    height: 30px;
}

.dual-range input[type="range"] {
    position: absolute;
    width: 100%;
    height: 6px;
    background: transparent;
    -webkit-appearance: none;
    pointer-events: none;
}

.dual-range input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 2px 10px rgba(233, 30, 99, 0.4);
    border: 3px solid #fff;
}

.slider-track {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 6px;
    background: var(--border-color);
    border-radius: 10px;
}

.slider-range {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
}

/* Gender Switch */
.gender-switch {
    display: flex;
    background: var(--bg-light);
    border-radius: 12px;
    padding: 5px;
    position: relative;
}

.gender-switch input {
    display: none;
}

.gender-switch label {
    flex: 1;
    text-align: center;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.3s ease;
    border-radius: 10px;
    z-index: 1;
    margin: 0;
}

.gender-switch label i {
    margin-right: 5px;
}

.gender-switch input:checked+label {
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.gender-switch .male-option:checked+label {
    background: linear-gradient(135deg, #2196f3, #1976d2);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

/* Apply Button */
.btn-apply {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    color: #fff;
    padding: 14px 30px;
    border-radius: 12px;
    font-weight: 600;
    width: 100%;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(233, 30, 99, 0.3);
}

.btn-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(233, 30, 99, 0.4);
    color: #fff;
}

.btn-apply i {
    margin-right: 8px;
}

/* Advanced Filter Toggle */
.advanced-filter-toggle {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.advanced-filter-toggle:hover {
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
}

.advanced-filter-toggle span {
    font-weight: 500;
    color: var(--text-dark);
}

.advanced-filter-toggle i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.advanced-filter-toggle.collapsed i {
    transform: rotate(-180deg);
}

/* Results Section */
.results-section {
    padding-left: 15px;
}

.results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.results-count {
    font-size: 18px;
    color: var(--text-dark);
}

.results-count span {
    color: var(--primary-color);
    font-weight: 700;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-options label {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

.sort-options .form-select {
    width: auto;
    padding: 8px 35px 8px 15px;
}

/* User Cards */
.user-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.4s ease;
    margin-bottom: 25px;
    border: 2px solid transparent;
}

.user-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
    border-color: var(--primary-light);
}

.user-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.user-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.user-card:hover .user-card-image img {
    transform: scale(1.05);
}

.user-status {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-online {
    background: rgba(76, 175, 80, 0.9);
    color: #fff;
}

.status-verified {
    background: rgba(33, 150, 243, 0.9);
    color: #fff;
}

.user-card-body {
    padding: 20px;
}

.user-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-name i {
    color: #2196f3;
    font-size: 16px;
}

.user-age {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 15px;
}

.user-info-list {
    margin: 15px 0;
    padding: 0;
    list-style: none;
}

.user-info-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-muted);
}

.user-info-list li:last-child {
    border-bottom: none;
}

.user-info-list li i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.user-info-list li strong {
    color: var(--text-dark);
    font-weight: 500;
}

.user-card-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-action {
    flex: 1;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.3s ease;
    border: none;
}

.btn-interest {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
}

.btn-interest:hover {
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
    color: #fff;
}

.btn-shortlist {
    background: var(--bg-light);
    color: var(--primary-color);
    border: 2px solid var(--primary-light);
}

.btn-shortlist:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* Pagination */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.pagination .page-link {
    border: none;
    padding: 10px 18px;
    margin: 0 3px;
    border-radius: 10px;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

/* Premium Badge */
.premium-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #ffd700, #ffb300);
    color: #000;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Active Filters Tags */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.filter-tag {
    background: #fff;
    border: 2px solid var(--primary-light);
    padding: 6px 15px;
    border-radius: 25px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
}

.filter-tag i {
    cursor: pointer;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.filter-tag i:hover {
    color: var(--primary-dark);
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 991px) {
    .filter-sidebar {
        position: relative;
        top: 0;
        max-height: none;
        margin-bottom: 30px;
    }

    .results-section {
        padding-left: 0;
    }
}

@media (max-width: 767px) {
    .user-card-image {
        height: 180px;
    }

    .results-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Collapsible Animation */
.collapse-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.collapse-content.show {
    max-height: 1000px;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
}

.no-results i {
    font-size: 60px;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.no-results h5 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

.no-results p {
    color: var(--text-muted);
}