/* DFE Pharma Product Finder - Custom Styles */

/* Color Variables */
:root {
    --header-bg: #31A4A0;
    --header-text: #4C7189;
    --breadcrumb-border: #4C7189;
    --sub-header-border: #F04E37;
    --sub-header-text: #012F44;
    --filter-arrow: #DE5A43;
    --tab-selected-bg: #31576E;
    --tab-deselected-bg: #EFEDED;
    --tab-deselected-text: #707070;
    --direct-compression: #31A4A0;
    --dry-granulation: #9FD9DB;
    --sachet-filling: #F04E38;
    --capsule-filling: #FFBAB1;
    --wet-granulation: #012F44;
    --footer-bg: #012F44;
    --footer-text: #ffffff;
}

/* Global Styles */
body {
    font-family: "Arimo", sans-serif;
    margin: 0;
    padding: 0;
}

/* Apply Arimo font to all elements */
* {
    font-family: "Arimo", sans-serif;
}

.container-fluid {
    max-width: 1780px;
}

/* Header Section */
.custom-header {
    background-color: var(--header-bg);
}

.custom-top-bar {
    background-color: var(--header-bg);
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-top-nav {
    display: flex;
    gap: 20px;
    margin-right: 20px;
}

.custom-top-link {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

    .custom-top-link:hover {
        color: #f0f0f0;
    }

.custom-language-dropdown {
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.custom-language-btn {
    background: none;
    border: none;
    color: white;
    font-size: 14px;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .custom-language-btn:hover,
    .custom-language-btn:focus {
        background: none;
        border: none;
        color: white;
        box-shadow: none;
    }

    .custom-language-btn i {
        font-size: 12px;
    }

.custom-language-menu {
    background-color: white;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 120px;
}

    .custom-language-menu .dropdown-item {
        color: var(--header-text);
        font-size: 14px;
        padding: 8px 16px;
        transition: background-color 0.3s ease;
    }

        .custom-language-menu .dropdown-item:hover {
            background-color: #f8f9fa;
            color: var(--sub-header-text);
        }

.custom-main-nav {
    background-color: white;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.custom-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.custom-logo-icon {
    margin-right: 15px;
}

.custom-logo-square {
    width: 40px;
    height: 40px;
    background-color: var(--header-text);
    border-bottom: 4px solid #F04E37;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.custom-logo-text {
    display: flex;
    flex-direction: column;
}

.custom-logo-main {
    font-size: 24px;
    font-weight: bold;
    color: var(--header-text);
    line-height: 1;
}

.custom-logo-sub {
    font-size: 14px;
    color: #999;
    line-height: 1;
}

.custom-main-nav .navbar-nav .nav-link {
    color: var(--header-text);
    font-weight: 500;
    margin: 0 15px;
    transition: color 0.3s ease;
}

    .custom-main-nav .navbar-nav .nav-link:hover {
        color: var(--sub-header-text);
    }

.custom-search-icon {
    color: #F04E37 !important;
    font-size: 18px;
    border-left: 1px solid #ddd;
    padding-left: 20px !important;
}

.custom-breadcrumb {
    background-color: white;
    padding: 10px 0;
    border-bottom: 1px solid var(--breadcrumb-border);
}

    .custom-breadcrumb .breadcrumb {
        margin: 0;
        background: none;
        padding: 0;
    }

    .custom-breadcrumb .breadcrumb-item {
        color: var(--header-text);
        font-size: 14px;
    }

        .custom-breadcrumb .breadcrumb-item i {
            color: var(--header-text);
        }

/* Sub Header Section */
.custom-sub-header {
    background-color: white;
    padding: 20px 0;
}

.custom-sub-header-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 25px;
}

.custom-small-border {
    width: 40px;
    height: 4px;
    background-color: var(--sub-header-border);
    border-radius: 2px;
}

.custom-sub-header-title {
    color: var(--sub-header-text);
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.custom-filters-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--sub-header-text);
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    justify-content: flex-end;
    width: 100%;
}

.custom-filter-arrow-img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Filter Button Styling */
.custom-filter-btn {
    background: none;
    border: none;
    color: var(--sub-header-text);
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.filter-reset-rgt-flex {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.btn-filter-reset-go {
    background: #F04E38;
    color: #fff;
    padding: 10px 50px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-filter-reset-go:hover {
        background: #F04E38;
        border-color: #F04E38;
        color: #fff;
    }

/* .custom-filter-btn:hover {
    background-color: rgba(1, 47, 68, 0.05);
    color: var(--sub-header-text);
} */

.custom-filter-btn:focus {
    outline: 2px solid rgba(1, 47, 68, 0.2);
    outline-offset: 2px;
    box-shadow: none;
}

.custom-filter-btn[aria-expanded="true"] .custom-filter-arrow-img {
    transform: rotate(180deg);
}

/* Filter Section */
.filter-section {
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.filter-container {
    background-color: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.filter-section-row {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.filter-column {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Border for the 3 specific sections - separate borders */
.col-xl-3:nth-child(1) .filter-column,
.col-xl-3:nth-child(2) .filter-column {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    background-color: white;
}

.process-column {
    flex: 1;
}

.filter-title {
    color: #012F44;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: capitalize;
    text-align: left;
}

/* Checkbox Styling - Using Bootstrap form-check pattern consistently */
.checkbox-group {
    display: flex;
    text-align: left;
    flex-direction: column;
    gap: 8px;
}

    .checkbox-group .form-check {
        margin: 0;
        margin-bottom: 8px;
    }

    .checkbox-group .form-check-input {
        margin-right: 8px;
        margin-top: 0.2em;
    }

    .checkbox-group .form-check-label {
        color: #4C7189;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        user-select: none;
        transition: color 0.3s ease;
        line-height: 1.4;
        text-align: left;
    }

        .checkbox-group .form-check-label:hover {
            color: var(--header-bg);
        }

    .checkbox-group .form-check-input:checked + .form-check-label {
        font-weight: 700;
        color: #4C7189;
    }

/* Nested Options */
.nested-group {
    margin-left: 20px;
    margin-top: 8px;
    margin-bottom: 8px;
}

    .nested-group .form-check-label {
        font-size: 13px;
        color: #666;
    }

/* Range Slider Styling */
.range-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.range-item {
    display: flex;
    flex-direction: column;
}

.range-label {
    color: #333;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    text-align: left;
}

.range-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.range-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.range-input {
    width: 60px;
    height: 32px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 6px 8px;
    font-size: 12px;
    text-align: center;
    background-color: #f8f9fa;
    color: #333;
    -moz-appearance: textfield; /* Firefox */
    appearance: textfield;
}

    .range-input::-webkit-outer-spin-button,
    .range-input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    .range-input:focus {
        border-color: #94BDCF;
        outline: none;
        box-shadow: 0 0 0 0.2rem rgba(148, 189, 207, 0.25);
        background-color: white;
    }

    .range-input::placeholder {
        color: #999;
        font-size: 11px;
    }

.range-separator {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.range-label-left,
.range-label-right {
    font-size: 12px;
    color: #666;
    font-weight: 500;
    text-align: left;
}

.range-values {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
}

.range-value-left,
.range-value-right {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.range-slider-container {
    position: relative;
    height: 20px;
    background: #e9ecef;
    border-radius: 10px;
    margin: 10px 0;
}

.range-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    z-index: 1;
    pointer-events: auto;
    margin: 0;
    padding: 0;
    opacity: 0;
}

    .range-slider:last-child {
        z-index: 2;
    }

    .range-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 18px;
        height: 18px;
        background: white;
        border: 2px solid #94BDCF;
        border-radius: 50%;
        cursor: pointer;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        pointer-events: all;
        position: relative;
        z-index: 3;
    }

        .range-slider::-webkit-slider-thumb:hover {
            transform: scale(1.1);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        }

    .range-slider::-moz-range-thumb {
        width: 18px;
        height: 18px;
        background: white;
        border: 2px solid #94BDCF;
        border-radius: 50%;
        cursor: pointer;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        pointer-events: all;
        position: relative;
        z-index: 3;
    }

        .range-slider::-moz-range-thumb:hover {
            transform: scale(1.1);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        }

    .range-slider::-webkit-slider-track {
        background: transparent;
        height: 20px;
        border-radius: 10px;
    }

    .range-slider::-moz-range-track {
        background: transparent;
        height: 20px;
        border-radius: 10px;
        border: none;
    }

/* Track background */
.range-slider-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    transform: translateY(-50%);
    z-index: 0;
}

/* Active range highlight */
.range-slider-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: var(--range-start, 0%);
    width: var(--range-width, 100%);
    height: 8px;
    background: #94BDCF;
    border-radius: 4px;
    transform: translateY(-50%);
    /* z-index: 1;*/
}

/* Filter Actions */
.filter-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    padding: 20px 15px;
    margin-top: 20px;
}

.btn-cancel {
    background-color: #6c757d;
    color: white;
    border: 1px solid #6c757d;
    font-weight: 500;
    padding: 10px 24px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 14px;
    cursor: pointer;
}

    .btn-cancel:hover {
        background-color: #5a6268;
        border-color: #545b62;
    }

.btn-apply {
    background-color: #dc3545;
    color: white;
    border: 1px solid #dc3545;
    font-weight: 500;
    padding: 10px 24px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 14px;
    cursor: pointer;
}

    .btn-apply:hover {
        background-color: #c82333;
        border-color: #bd2130;
    }

    .btn-apply:focus {
        box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    }

/* Main Tabs Section */
.custom-tabs-section {
    background-color: white;
    padding: 0;
}

.border-btm-row {
    border-bottom: 4px solid #32566e;
}


/* Filter Section */
.custom-filter-section {
    background-color: white;
    padding: 25px 0;
}

    /* Remove all borders from filter elements */
    .custom-filter-section *,
    .custom-process-container *,
    .custom-process-icons *,
    .custom-process-item *,
    .custom-process-icon *,
    .custom-vertical-toggle *,
    .custom-vertical-switch *,
    .custom-vertical-handle * {
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
    }

    /* Ensure form elements have no borders */
    .custom-filter-section .form-control,
    .custom-filter-section .form-check-input,
    .custom-filter-section .btn,
    .custom-filter-section button:not(.filter-section.active) {
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
    }

/* Main Content Container */
.custom-content-container {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    padding-top: 0;
}

/* Filter Container */
.filter-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 2px;
    width: 100%;
}

/* Individual Filter Section */
.filter-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    padding: 0;
    position: relative;
    background-color: white;
    border-radius: 8px;
}

    .filter-section:hover {
        transform: translateY(-2px);
        opacity: 0.9;
    }

    .filter-section:focus {
        outline: 2px solid rgba(0, 0, 0, 0.2);
        outline-offset: 2px;
    }

/* Filter Icon */
.filter-icon {
    width: auto;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    background-color: transparent;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.filter-svg {
    width: auto;
    height: 58px;
    max-width: 100%;
    object-fit: contain;
}

/* Filter Heading */
.filter-heading {
    font-family: "Arimo", sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--header-text);
    text-align: center;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

/* Filter Color Bar */
.filter-color-bar {
    width: 100%;
    height: 15px;
    margin-top: auto;
}

/* First color bar - rounded left corners */
.filter-section:first-child .filter-color-bar {
    border-radius: 10px 0 0 10px;
}

/* Last color bar - rounded right corners */
.filter-section:last-child .filter-color-bar {
    border-radius: 0 10px 10px 0;
}

/* Middle color bars - no border radius */
.filter-section:not(:first-child):not(:last-child) .filter-color-bar {
    border-radius: 0;
}

/* Filter Section Background Colors */
.filter-section.direct-compression .filter-color-bar {
    background-color: var(--direct-compression);
}

.filter-section.dry-granulation .filter-color-bar {
    background-color: var(--dry-granulation);
}

.filter-section.sachet-filling .filter-color-bar {
    background-color: var(--sachet-filling);
}

.filter-section.capsule-filling .filter-color-bar {
    background-color: var(--capsule-filling);
}

.filter-section.wet-granulation .filter-color-bar {
    background-color: var(--wet-granulation);
}

/* New Dry Powder Inhalation Filter Colors */
.filter-section.blister-device .filter-color-bar {
    background-color: #31A4A0;
}

.filter-section.capsule .filter-color-bar {
    background-color: #9CBCDC;
}

.filter-section.reservoir-device .filter-color-bar {
    background-color: #012F44;
}

.filter-section.particle-engineering .filter-color-bar {
    background-color: #F04E38;
}

/* New Parenteral Filter Colors */
.filter-section.aqueous-solution .filter-color-bar {
    background-color: #31A4A0;
}

.filter-section.lyophilization .filter-color-bar {
    background-color: #012F44;
}

/* Gray out color bar when filter is deselected (icon is grayed out) */
.filter-section.deselected .filter-color-bar {
    background-color: #CBCBCB !important;
    /*opacity: 0.5;*/
    transition: background-color 0.3s ease, opacity 0.3s ease;
}

/* Active State - Must override the border:none rule above */
/*.custom-filter-section .filter-section.active,
.filter-section.active {
    transform: translateY(-4px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    background-color: #f0f8ff !important;
    border: 2px solid #31576E !important;
    border-radius: 8px !important;
    z-index: 10;
    position: relative;
    padding: 4px !important;
}*/
/*
.filter-section.active .filter-color-bar {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    height: 24px !important;
    border-radius: 0 0 6px 6px !important;
}*/

.filter-section.active .filter-heading {
    color: #31576E !important;
    font-weight: 700 !important;
}

.filter-section.active .filter-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}



/* Vertical Toggle */
.custom-vertical-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.custom-vertical-toggle-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.custom-vertical-label {
    font-size: 16px;
    font-weight: 600;
    color: #999;
    transition: color 0.3s ease;
}

    .custom-vertical-label.active {
        color: var(--sub-header-text);
    }

.custom-vertical-switch {
    width: 33px;
    height: 64px;
    background-color: transparent;
    border-radius: 15px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: 2px solid #e9ecef !important;
    outline: none !important;
    box-shadow: none !important;
}

    .custom-vertical-switch:hover {
        background-color: #dee2e6;
        border: 2px solid #e9ecef !important;
        outline: none !important;
        box-shadow: none !important;
    }

.custom-vertical-handle {
    width: 24px;
    height: 24px;
    background-color: var(--sub-header-text);
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.custom-vertical-switch.active .custom-vertical-handle {
    transform: translateY(30px);
}

/* Cards Section */
.custom-cards-section {
    padding: 10px 0;
}

.custom-cards-row {
    display: flex;
    flex-wrap: wrap;
}

.custom-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

    .custom-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    }

.custom-card-header {
    background-color: white;
    border-bottom: 1px solid #012F44;
    border-radius: 8px 8px 0 0;
    padding: 17px;
    flex-shrink: 0;
    margin: 0 15px;
}

    .custom-card-header .card-title {
        color: #012F44;
        font-size: 18px;
        font-weight: 700;
        margin: 0;
        text-align: center;
    }

.custom-card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.custom-card-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
}

    .custom-card-option:last-child {
        border-bottom: none;
    }

    .custom-card-option .form-check {
        margin: 0;
        flex: 1;
        cursor: pointer;
    }

    .custom-card-option .form-check-input {
        cursor: pointer;
        margin-right: 10px;
    }

    .custom-card-option .form-check-label {
        color: #52687B;
        font-size: 15px;
        font-weight: 500;
        cursor: pointer;
        user-select: none;
        transition: all 0.3s ease;
    }

        .custom-card-option .form-check-label:hover {
            color: var(--primary-color);
        }

    .custom-card-option .form-check-input:checked + .form-check-label {
        font-weight: 700;
        color: #52687B;
    }

.custom-process-dots {
    display: flex;
    gap: 8px;
    margin: 0 12px;
}

.custom-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

    .custom-dot.direct-compression {
        background-color: var(--direct-compression);
    }

    .custom-dot.dry-granulation {
        background-color: var(--dry-granulation);
    }

    .custom-dot.sachet-filling {
        background-color: var(--sachet-filling);
    }

    .custom-dot.capsule-filling {
        background-color: var(--capsule-filling);
    }

    .custom-dot.wet-granulation {
        background-color: var(--wet-granulation);
    }

    /* New Dry Powder Inhalation Process Dots */
    .custom-dot.blister-device {
        background-color: #31A4A0;
    }

    .custom-dot.capsule {
        background-color: #9cbcdc;
    }

    .custom-dot.reservoir-device {
        background-color: #012F44;
    }

    .custom-dot.particle-engineering {
        background-color: #F04E38;
    }

    /* New Parenteral Process Dots */
    .custom-dot.aqueous-solution {
        background-color: #31A4A0;
    }

    .custom-dot.lyophilization {
        background-color: #012F44;
    }

.custom-info-icon {
    color: #ccc;
    font-size: 16px;
    height: 18px;
}

/* Customization Card Styles - Unique class names to avoid conflicts */
.custom-customization-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 25px 20px;
    background-color: #4C7189;
    border-radius: 12px;
    color: white;
    position: relative;
    height: 100%;
    min-height: 177px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    gap: 25px;
}

.custom-customization-icon {
    font-size: 36px;
    color: white;
    opacity: 0.9;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.custom-customization-text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
    height: 100%;
    text-align: center;
}

.custom-customization-content .card-title {
    font-size: 25px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: white;
    text-align: center;
    line-height: 1.2;
}

.custom-customization-title {
    font-size: 18px;
    font-weight: 400;
    margin: 0;
    color: white;
    text-align: center;
}

.custom-customization-content .custom-info-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Add a subtle divider line under the title - centered */
.custom-customization-content .card-title::after {
    content: '';
    display: block;
    width: 85px;
    height: 4px;
    border-radius: 10px;
    background-color: white;
    margin: 6px auto 0;
}

.custom-customization-icon i {
    transform: rotate(-90deg);
}

/* Responsive design for customization card */
@media (max-width: 991.98px) {
    /* Customization card container - full width on tablet/mobile */
    .custom-cards-row > [data-customization-card],
    .custom-cards-row .col-lg-4:has([data-customization-card]) {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    /* Ensure the card itself fills the container */
    .cls-customer-pointer[data-customization-card] {
        width: 100%;
        height: auto !important;
    }
}

@media (max-width: 768px) {
    .custom-customization-content {
        padding: 20px 15px;
        gap: 15px;
        min-height: 80px;
    }

    .custom-customization-icon {
        font-size: 32px;
        margin-right: 8px;
    }

    .custom-customization-content .card-title {
        font-size: 20px;
    }

    .custom-customization-title {
        font-size: 13px;
    }

    .custom-customization-content .custom-info-icon {
        top: 12px;
        right: 12px;
        width: 20px;
        height: 20px;
        font-size: 14px;
    }
    
    /* Ensure customization card takes full width */
    .cls-customer-pointer[data-customization-card] {
        width: 100%;
        height: auto !important;
    }
}

@media (max-width: 576px) {
    .custom-customization-content {
        padding: 15px 12px;
        gap: 12px;
        min-height: 70px;
    }

    .custom-customization-icon {
        font-size: 24px;
        margin-right: 6px;
    }

    .custom-customization-content .card-title {
        font-size: 16px;
    }

    .custom-customization-title {
        font-size: 11px;
    }
    
    .custom-customization-content .card-title::after {
        width: 60px;
        height: 3px;
        margin: 4px auto 0;
    }
}

/* Footer Section */
.custom-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 40px 0 20px;
}

.custom-footer-breadcrumb {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 30px;
}

    .custom-footer-breadcrumb .breadcrumb {
        margin: 0;
        background: none;
        padding: 0;
    }

    .custom-footer-breadcrumb .breadcrumb-item {
        color: var(--footer-text);
        font-size: 14px;
    }

        .custom-footer-breadcrumb .breadcrumb-item i {
            color: var(--footer-text);
        }

.custom-footer-links h5 {
    color: var(--footer-text);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.custom-footer-links ul li {
    margin-bottom: 10px;
}

    .custom-footer-links ul li a {
        color: var(--footer-text);
        text-decoration: none;
        font-size: 14px;
        transition: color 0.3s ease;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .custom-footer-links ul li a:hover {
            color: #f0f0f0;
        }

        .custom-footer-links ul li a i {
            font-size: 12px;
        }

.custom-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    margin-top: 30px;
}

.custom-legal-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

    .custom-legal-links a {
        color: var(--footer-text);
        text-decoration: none;
        font-size: 12px;
        transition: color 0.3s ease;
    }

        .custom-legal-links a:hover {
            color: #f0f0f0;
        }

    .custom-legal-links span {
        color: var(--footer-text);
        font-size: 12px;
    }

.custom-social-icons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-bottom: 10px;
}

.custom-social-icon {
    width: 30px;
    height: 30px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--footer-bg);
    text-decoration: none;
    transition: transform 0.3s ease;
}

    .custom-social-icon:hover {
        transform: scale(1.1);
        color: var(--footer-bg);
    }

.custom-copyright {
    color: var(--footer-text);
    font-size: 12px;
    text-align: right;
}

/* Responsive Design */
@media (max-width: 768px) {
    .custom-top-nav {
        flex-direction: column;
        gap: 10px;
        margin-right: 0;
    }

    .custom-language-dropdown {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.3);
        padding-top: 10px;
        margin-top: 10px;
    }

    .custom-sub-header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .filter-container {
        flex-wrap: wrap;
        gap: 2px;
        justify-content: center;
    }

    .filter-section {
        flex: 0 0 calc(50% - 1px);
        max-width: 200px;
        min-height: 100px;
    }

    .custom-vertical-toggle {
        margin-top: 30px;
    }

    /* Filter Responsive */
    .filter-container {
        margin: 10px 5px;
        padding: 20px;
    }

    .filter-section-row {
        flex-direction: column;
        gap: 20px;
    }

    .filter-actions {
        flex-direction: column;
        gap: 10px;
    }

    .btn-cancel,
    .btn-apply {
        width: 100%;
        justify-content: center;
    }

    .range-inputs {
        flex-direction: column;
        gap: 5px;
        align-items: stretch;
    }

    .range-input {
        width: 100%;
    }

    .custom-footer-links {
        text-align: center;
    }

    .custom-legal-links {
        justify-content: center;
    }

    .custom-social-icons {
        justify-content: center;
    }

    .custom-copyright {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .custom-sub-header-title {
        font-size: 20px;
    }


    .custom-card-option {
        align-items: flex-start;
        gap: 10px;
    }

    .custom-process-dots {
        margin: 0;
    }

    /* Filter Mobile */
    .filter-section-row {
        flex-direction: column;
        gap: 15px;
    }

    .filter-container {
        margin: 5px;
        padding: 15px;
    }
}


/* Animation and Transitions */
.custom-card {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Controls Styling */
.form-check-input {
    width: 18px;
    height: 18px;
    margin-top: .18em;
}

    .form-check-input:checked {
        background-color: #31576E;
        border-color: #31576E;
    }

    .form-check-input:focus {
        border-color: #31576E;
        /*    box-shadow: 0 0 0 0.25rem rgba(49, 164, 160, 0.25);*/
    }

/* Bootstrap Tab UI Overrides - Only styling, no functionality */
.tab-content {
    background-color: white;
}

/* Custom tab styling - override Bootstrap defaults */
.nav-tabs {
    border-bottom: 1px solid transparent !important;
    display: flex;
    gap: 18px;
}

    .nav-tabs .nav-item {
        margin: 0;
        flex: 1;
        border: none !important;
    }

    .nav-tabs .nav-link {
        border: none !important;
        border-radius: 20px 20px 0 0;
        padding: 14px 15px 10px;
        font-family: "Arimo", sans-serif;
        font-weight: 700;
        font-size: 18px;
        transition: all 0.3s ease;
        position: relative;
        z-index: 2;
        width: 100%;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        outline: none !important;
        box-shadow: none !important;
        background-clip: padding-box;
        cursor: pointer;
    }

        .nav-tabs .nav-link:focus,
        .nav-tabs .nav-link:hover {
            border: none !important;
            outline: none !important;
            box-shadow: 0px -2px 10px #1a1a1a36 !important;
        }

        .nav-tabs .nav-link.active {
            background-color: var(--tab-selected-bg);
            color: white;
            box-shadow: 0px -2px 10px #1a1a1a36 !important;
        }

        .nav-tabs .nav-link:not(.active) {
            background-color: var(--tab-deselected-bg);
            color: var(--tab-deselected-text);
        }

/* Responsive design for Bootstrap tabs */
@media (max-width: 768px) {
    .nav-tabs .nav-link {
        font-size: 20px;
        padding: 15px 10px;
    }
}

@media (max-width: 576px) {
    .nav-tabs .nav-link {
        font-size: 18px;
        padding: 12px 8px;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    /*background: var(--header-bg);*/
    background: #fff;
    border-radius: 4px;
}

    ::-webkit-scrollbar-thumb:hover {
        /* background: var(--tab-selected-bg);*/
        background : #fff;
    }



/* Product Comparison Page Styles */
.custom-compare-page {
    background-color: white;
    min-height: 100vh;
}

.custom-comparison-section {
    background-color: white;
    padding: 30px 0;
}

/* Product Comparison Layout */
.custom-comparison-layout {
    display: flex;
    gap: 0;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Left Sticky Properties Column */
.custom-properties-column {
    flex: 0 0 350px; /* Increased width */
    background-color: white; /* Uniform white background */
    border-right: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    height: fit-content;
    z-index: 10;
    padding-top: 30px;
}

.custom-properties-header {
    background-color: white;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    /* Add blank space above Product name to match image area */
    padding-top: 60px;
    min-height: 120px;
    /* Ensure uniform white background */
    background-color: white;
}

    .custom-properties-header h4 {
        font-size: 15px;
        font-weight: 700;
        color: #4C7189;
        margin: 0;
        text-align: center;
        padding-top: 0;
        min-height: 203px;
        display: flex;
        align-items: flex-end;
        justify-content: flex-start;
        line-height: 1.2;
        height: 203px;
    }

.custom-properties-list {
    padding: 0;
}

.custom-property-item {
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    font-size: 15px;
    font-weight: 500;
    color: #495057;
    line-height: 1.4; /* Match the data item line height exactly */
    /*height: 58px;*/ /* Fixed height for perfect alignment */
    display: flex;
    align-items: center;
    /* Ensure perfect horizontal alignment */
    justify-content: flex-start;
    /* Uniform white background */
    background-color: white;
}

    /* Removed alternating background colors for uniform white background */

    .custom-property-item:last-child {
        border-bottom: none;
    }

/* Right Carousel Section */
.custom-carousel-section {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.custom-carousel-container {
    position: relative;
    width: 100%;
}

.custom-carousel-wrapper {
    overflow: hidden;
    width: 100%;
    /* Utilize full available space for 3 slides */
    position: relative;
}

.custom-carousel-track {
    display: flex;
    transition: transform 0.3s ease;
    width: 100%;
}

.custom-product-column {
    flex: 0 0 33.333%; /* Each column takes 1/3 of the available width */
    padding: 50px 0 20px; /* Reduced horizontal padding for better spacing */
    margin: 0; /* Add margin between slides */
    border-right: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    background-color: white;
    min-width: 0; /* Allow flex items to shrink below their content size */
    border-radius: 8px; /* Add rounded corners */
}

    .custom-product-column:last-child {
        border-right: none;
    }

/* Add subtle shadow to slides for better separation */
.custom-product-column {
    transition: box-shadow 0.3s ease;
}

.custom-product-image-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.custom-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid #ccc;
    padding: 10px;
}

.custom-remove-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: white;
    border: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

    .custom-remove-btn:hover {
        background-color: #f8f9fa;
        border-color: #adb5bd;
    }

    .custom-remove-btn i {
        color: #6c757d;
        font-size: 12px;
    }

.custom-product-name {
    font-size: 17px;
    font-weight: 700;
    color: #31A4A0;
    text-align: center;
    line-height: 1.2;
    margin-top: 22px;
    padding-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 21px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 0;
}

.custom-product-data {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.custom-data-item {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
    font-weight: 500;
    color: #212529;
    text-align: center;
    /*height: 58px;*/ /* Fixed height to match property item exactly */
    display: flex;
    align-items: center;
    justify-content: center;
    /* Ensure perfect horizontal alignment */
    line-height: 1.4;
    /* Uniform white background */
    background-color: white;
}

    /* Removed alternating background colors for uniform white background */

    .custom-data-item:last-child {
        border-bottom: none;
    }

.custom-flow-indicators {
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
}

.custom-flow-dot {
    width: 25px;
    height: 12px;
    border-radius: 35%;
    background-color: #e9ecef;
    transition: background-color 0.3s ease;
}

    .custom-flow-dot.active {
        background-color: #31A4A0;
    }

/* Carousel Navigation Arrows */
.custom-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 20;
}

    .custom-carousel-arrow:hover {
        background-color: #e9ecef;
        border-color: #adb5bd;
    }

.custom-carousel-prev {
    left: 10px;
}

.custom-carousel-next {
    right: 10px;
}

.custom-carousel-arrow i {
    color: #6c757d;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .custom-comparison-layout {
        flex-direction: row; /* Keep side-by-side on tablet */
    }

    .custom-properties-column {
        flex: 0 0 280px; /* Narrower left column on tablet */
        position: sticky;
    }

    .custom-carousel-section {
        flex: 1;
    }

    .custom-carousel-wrapper {
        max-width: 100%;
    }

    .custom-product-column {
        flex: 0 0 50%; /* 2 columns on tablet */
    }

    .custom-carousel-arrow {
        display: flex; /* Show arrows on tablet */
    }
}

@media (max-width: 768px) {
    .custom-comparison-layout {
        flex-direction: row; /* Keep side-by-side on mobile */
    }

    .custom-properties-column {
        flex: 0 0 180px; /* Narrower left column on mobile */
        position: sticky;
        padding-top: 20px;
    }

    .custom-carousel-section {
        flex: 1;
    }

    .custom-carousel-wrapper {
        max-width: 100%;
    }

    .custom-comparison-section {
        padding: 20px 0;
    }

    .custom-product-column {
        flex: 0 0 100%; /* 1 column on mobile - one product at a time */
        padding: 15px;
    }

    .custom-product-image-container {
        height: 150px;
        width: 150px;
    }

    .custom-product-name {
        font-size: 16px;
        min-height: 50px;
    }

    .custom-data-item {
        font-size: 13px;
        min-height: 50px;
        padding: 12px 0;
    }

    .custom-property-item {
        font-size: 13px;
        padding: 12px 10px;
        min-height: 50px;
        height: 50px;
    }

    .custom-properties-header {
        padding-top: 20px;
        min-height: 80px;
    }

        .custom-properties-header h4 {
            min-height: 150px;
            font-size: 14px;
            padding-left: 10px;
            padding-right: 10px;
        }

    .custom-carousel-arrow {
        display: flex; /* Show arrows on mobile */
        width: 35px;
        height: 35px;
    }

        .custom-carousel-arrow i {
            font-size: 12px;
        }

    .custom-carousel-prev {
        left: 5px;
    }

    .custom-carousel-next {
        right: 5px;
    }
}

@media (max-width: 480px) {
    .custom-comparison-layout {
        flex-direction: row; /* Keep side-by-side even on very small screens */
    }

    .custom-properties-column {
        flex: 0 0 140px; /* Even narrower left column on very small screens */
        position: sticky;
    }

    .custom-carousel-section {
        flex: 1;
    }

    .custom-properties-header {
        padding-top: 15px;
        min-height: 60px;
    }

        .custom-properties-header h4 {
            min-height: 120px;
            font-size: 12px;
            padding-left: 5px;
            padding-right: 5px;
        }

    .custom-property-item {
        font-size: 11px;
        padding: 10px 5px;
        min-height: 45px;
        height: 45px;
    }

    .custom-data-item {
        font-size: 11px;
        min-height: 45px;
        padding: 10px 0;
    }

    .custom-product-name {
        font-size: 14px;
        min-height: 45px;
    }

    .custom-product-image-container {
        height: 120px;
        width: 120px;
    }

    .custom-carousel-arrow {
        width: 30px;
        height: 30px;
    }

        .custom-carousel-arrow i {
            font-size: 10px;
        }
}

/* Comparison Tabs */
#comparisonTabs .nav-link {
    font-size: 18px;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 8px 8px 0 0;
    margin-right: 10px;
    transition: all 0.3s ease;
}

    #comparisonTabs .nav-link.active {
        background-color: var(--tab-selected-bg);
        color: white;
    }

    #comparisonTabs .nav-link:not(.active) {
        background-color: var(--tab-deselected-bg);
        color: var(--tab-deselected-text);
    }

/* Comparison Area Layout */
.compare-area {
    margin-top: 20px;
    min-height: 500px;
}

/* Sticky Left Column */
.compare-sticky-col {
    position: sticky;
    top: 20px;
    height: fit-content;
    z-index: 10;
}

.compare-sticky-content {
    background-color: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.compare-attribute-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.compare-attribute-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    min-height: 50px;
}

    .compare-attribute-item:last-child {
        border-bottom: none;
    }

.compare-attribute-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--header-text);
    line-height: 1.4;
}

.compare-scroll-indicator {
    color: #ccc;
    font-size: 12px;
    margin-left: 10px;
}

/* Carousel Container */
.compare-slider-wrap {
    position: relative;
}

.compare-carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.compare-carousel {
    display: flex;
    transition: transform 0.3s ease;
    gap: 0;
}

/* Product Cards */
.compare-product-card {
    flex: 0 0 33.333%;
    padding: 20px;
    border-right: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 400px;
    background-color: white;
}

    .compare-product-card:last-child {
        border-right: none;
    }

.compare-product-image {
    width: 100%;
    max-width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

    .compare-product-image:hover {
        transform: scale(1.05);
    }

.compare-product-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--header-text);
    margin-bottom: 15px;
    line-height: 1.3;
}

.compare-product-specs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    flex-grow: 1;
}

.compare-spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 13px;
}

    .compare-spec-item:last-child {
        border-bottom: none;
    }

.compare-spec-label {
    color: #666;
    font-weight: 500;
}

.compare-spec-value {
    color: var(--header-text);
    font-weight: 600;
}

.compare-spec-dots {
    display: flex;
    gap: 4px;
    align-items: center;
}

.compare-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

    .compare-dot.green {
        background-color: #28a745;
    }

    .compare-dot.blue {
        background-color: #007bff;
    }

    .compare-dot.red {
        background-color: #dc3545;
    }

/* Navigation Arrows */
.compare-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    border: 1px solid #e9ecef;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 20;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

    .compare-nav-btn:hover {
        background-color: var(--header-bg);
        color: white;
        transform: translateY(-50%) scale(1.1);
    }

    .compare-nav-btn:active {
        transform: translateY(-50%) scale(0.95);
    }

.compare-prev {
    left: -20px;
}

.compare-next {
    right: -20px;
}

.compare-nav-btn i {
    font-size: 14px;
}

/* Image Zoom Modal */
.image-zoom-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    max-height: 70vh;
}

#zoomImage {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.zoom-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

    .zoom-controls .btn {
        font-size: 12px;
        padding: 6px 12px;
    }

/* Responsive Design for Comparison */
@media (max-width: 1200px) {
    .compare-product-card {
        flex: 0 0 50%;
    }

    .compare-sticky-col {
        flex: 0 0 100%;
        margin-bottom: 20px;
    }

    .compare-slider-wrap {
        flex: 0 0 100%;
    }
}

@media (max-width: 768px) {
    .compare-area {
        flex-direction: column;
    }

    .compare-sticky-col {
        position: static;
        margin-bottom: 20px;
    }

    .compare-sticky-content {
        border-radius: 8px;
    }

    .compare-attribute-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    .compare-attribute-item {
        flex: 0 0 calc(50% - 5px);
        border-bottom: none;
        border-right: 1px solid #f0f0f0;
        padding: 8px;
        min-height: auto;
    }

        .compare-attribute-item:nth-child(even) {
            border-right: none;
        }

    .compare-product-card {
        flex: 0 0 100%;
        min-height: 300px;
    }

    .compare-nav-btn {
        width: 35px;
        height: 35px;
    }

    .compare-prev {
        left: -17px;
    }

    .compare-next {
        right: -17px;
    }
}

@media (max-width: 576px) {
    .compare-attribute-item {
        flex: 0 0 100%;
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
    }

        .compare-attribute-item:last-child {
            border-bottom: none;
        }

    .compare-product-card {
        padding: 15px;
        min-height: 250px;
    }

    .compare-product-image {
        height: 120px;
    }

    .compare-product-name {
        font-size: 14px;
    }

    .compare-spec-item {
        font-size: 12px;
    }

    .compare-nav-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .compare-prev {
        left: -15px;
    }

    .compare-next {
        right: -15px;
    }

    .custom-comparison-section {
        padding: 20px 0;
    }

    .compare-area {
        margin-top: 15px;
    }
}

/* Process Icons for Comparison Page */
.custom-process-container {
    display: flex;
    gap: 30px;
    align-items: center;
}

.custom-process-icons {
    display: flex;
    gap: 30px;
    align-items: center;
}

.custom-process-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 8px;
}

    .custom-process-item:hover {
        background-color: rgba(49, 164, 160, 0.1);
    }

    .custom-process-item.active {
        background-color: rgba(49, 164, 160, 0.15);
    }

.custom-process-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    transition: all 0.3s ease;
}

.custom-process-item.active .custom-process-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.custom-process-item span {
    font-size: 12px;
    font-weight: 500;
    color: var(--header-text);
    text-align: center;
    line-height: 1.2;
}

.custom-process-item.active span {
    color: var(--header-bg);
    font-weight: 600;
}

/* Responsive Process Icons */
@media (max-width: 768px) {
    .custom-process-container {
        flex-direction: column;
        gap: 20px;
    }

    .custom-process-icons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .custom-process-item {
        flex: 0 0 calc(50% - 10px);
        max-width: 120px;
    }
}

@media (max-width: 576px) {
    .custom-process-icons {
        flex-direction: column;
        gap: 15px;
    }

    .custom-process-item {
        flex: 0 0 100%;
        max-width: none;
    }
}
/*  advance-filter-applied page css */

.custom-card-option.disable-product-block .form-check-label {
    color: #CBCBCB !important;
}
/* Ensure gray styling persists even when product is selected */
.custom-card.selected .custom-card-option.disable-product-block .form-check-label {
    color: #CBCBCB !important;
}

.disable-product-block .custom-dot.direct-compression {
    background-color: #CBCBCB !important;
}
/* Ensure gray dots persist even when product is selected */
.custom-card.selected .disable-product-block .custom-dot {
    background-color: #CBCBCB !important;
}

.disable-product-block .custom-dot.capsule-filling {
    background-color: #CBCBCB !important;
}

.disable-product-block .custom-dot.wet-granulation {
    background-color: #CBCBCB !important;
}

.disable-product-block .custom-dot.direct-compression {
    background-color: #CBCBCB !important;
}

.disable-product-block .custom-dot.capsule-filling {
    background-color: #CBCBCB !important;
}

.disable-product-block .custom-dot.wet-granulation {
    background-color: #CBCBCB !important;
}

.disable-product-block .custom-dot.dry-granulation {
    background-color: #CBCBCB !important;
}

.disable-product-block .custom-dot.sachet-filling {
    background-color: #CBCBCB !important;
}

.disable-product-block .custom-dot.blister-device {
    background-color: #CBCBCB !important;
}

.disable-product-block .custom-dot.capsule {
    background-color: #CBCBCB !important;
}

.disable-product-block .custom-dot.reservoir-device {
    background-color: #CBCBCB !important;
}

.disable-product-block .custom-dot.particle-engineering {
    background-color: #CBCBCB !important;
}

.disable-product-block .custom-dot.aqueous-solution {
    background-color: #CBCBCB !important;
}

.disable-product-block .custom-dot.lyophilization {
    background-color: #CBCBCB !important;
}



.disable-product-block .custom-info-icon {
    color: #CBCBCB !important;
}
/* Ensure gray info icon persists even when product is selected */
.custom-card.selected .disable-product-block .custom-info-icon {
    color: #CBCBCB !important;
}

.disable-product-container .custom-card-header .card-title {
    color: #CBCBCB;
}

.disable-product-container .custom-card-option .form-check-label {
    color: #CBCBCB;
}

.disable-product-container .custom-dot.direct-compression {
    background-color: #CBCBCB;
}

.disable-product-container .custom-info-icon {
    color: #CBCBCB;
}

/* Image Zoom Modal Styles */
.dfe-image-zoom-modal {
    z-index: 9999;
}

.dfe-image-zoom-modal .modal-backdrop {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.dfe-zoom-modal-dialog-bottom {
    position: fixed;
    bottom: 120px !important;
    left: 50%;
    transform: translateX(-50%) !important;
    margin: 0;
    width: 100%;
    z-index: 1055;
}

@media (min-width: 992px) {
    .dfe-zoom-modal-dialog-bottom {
        max-width: 1200px;
        bottom: 100px;
    }
}

@media (max-width: 768px) {
    .dfe-zoom-modal-dialog-bottom {
        bottom: 140px;
        max-width: 95%;
    }
}

.dfe-zoom-modal-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: auto;
    min-height: 400px;
    max-height: 80vh;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: none;
}

.dfe-zoom-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
}

.dfe-zoom-modal-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
}

.dfe-zoom-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6c757d;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

    .dfe-zoom-modal-close:hover {
        background-color: #e9ecef;
        color: #495057;
    }

.dfe-zoom-modal-body {
    flex: 1;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
    min-height: 0;
}

.dfe-zoom-image-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 20px;
}

.dfe-zoom-image {
    max-width: 100%;
    max-height: calc(80vh - 150px);
    object-fit: contain;
    user-select: none;
}

/* Product Image Clickable Styles */
.custom-product-image {
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
}

    .custom-product-image:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

.custom-product-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

    .custom-product-image-container::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(45deg, rgba(0, 123, 255, 0.1), transparent);
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }

    .custom-product-image-container:hover::after {
        opacity: 1;
    }

/* Responsive Design for Zoom Modal */
@media (max-width: 768px) {
    .dfe-zoom-modal-dialog-bottom {
        bottom: 140px;
        max-width: 95%;
    }

    .dfe-zoom-modal-container {
        max-height: 75vh;
    }

    .dfe-zoom-modal-header {
        padding: 15px 20px;
    }

    .dfe-zoom-modal-title {
        font-size: 1.1rem;
    }

    .dfe-zoom-modal-body {
        padding: 15px;
    }

    .dfe-zoom-image-container {
        padding-bottom: 15px;
    }

    .dfe-zoom-image {
        max-height: calc(75vh - 140px);
    }
}

@media (max-width: 480px) {
    .dfe-zoom-modal-dialog-bottom {
        bottom: 140px;
        max-width: 95%;
    }

    .dfe-zoom-modal-container {
        max-height: 70vh;
        border-radius: 8px;
    }

    .dfe-zoom-modal-header {
        padding: 12px 15px;
    }

    .dfe-zoom-modal-title {
        font-size: 1rem;
    }

    .dfe-zoom-modal-body {
        padding: 10px;
    }

    .dfe-zoom-image-container {
        padding-bottom: 10px;
    }

    .dfe-zoom-image {
        max-height: calc(70vh - 120px);
    }
}

/* Tablet Properties Graph Styles */
.dfe-tablet-graph-section {
    padding: 40px 0;
    background: #f8f9fa;
}

.dfe-tablet-graph-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.dfe-tablet-graph-header {
    text-align: center;
    margin-bottom: 40px;
}

.dfe-tablet-graph-title {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.dfe-tablet-graph-wrapper {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-bottom: 30px;
}

.dfe-tablet-graph-chart {
    position: relative;
    width: 100%;
    height: 500px;
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

/* Y-axis */
.dfe-tablet-graph-y-axis {
    position: absolute;
    left: 0;
    top: 0;
    width: 80px;
    height: 100%;
    background: #f8f9fa;
    border-right: 2px solid #dee2e6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.dfe-tablet-graph-y-label {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 20px;
    transform: rotate(180deg);
}

.dfe-tablet-graph-y-scale {
    position: relative;
    width: 100%;
    height: calc(100% - 60px);
    margin-top: 20px;
}

.dfe-tablet-graph-y-tick {
    position: absolute;
    right: 10px;
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
    transform: translateY(-50%);
}

/* X-axis */
.dfe-tablet-graph-x-axis {
    position: absolute;
    bottom: 0;
    left: 80px;
    width: calc(100% - 80px);
    height: 60px;
    background: #f8f9fa;
    border-top: 2px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dfe-tablet-graph-x-label {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    margin-top: 20px;
}

.dfe-tablet-graph-x-scale {
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    height: 20px;
}

.dfe-tablet-graph-x-tick {
    position: absolute;
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
    transform: translateX(-50%);
}

/* Flowability Zones */
.dfe-tablet-graph-zones {
    position: absolute;
    top: 0;
    left: 80px;
    width: calc(100% - 80px);
    height: calc(100% - 60px);
}

.dfe-tablet-zone {
    position: absolute;
    opacity: 0.3;
    border-radius: 4px;
}

.dfe-zone-cohesive {
    left: 0;
    top: 0;
    width: 15%;
    height: 100%;
    background: #1e3a8a;
}

.dfe-zone-easy-flowing {
    left: 15%;
    top: 0;
    width: 40%;
    height: 100%;
    background: #3b82f6;
}

.dfe-zone-free-flowing {
    left: 55%;
    top: 0;
    width: 45%;
    height: 100%;
    background: #10b981;
}

.dfe-zone-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

/* Grid lines */
.dfe-tablet-graph-grid {
    position: absolute;
    top: 0;
    left: 80px;
    width: calc(100% - 80px);
    height: calc(100% - 60px);
}

.dfe-tablet-grid-line {
    position: absolute;
    background-color: #e9ecef;
    border-style: dashed;
    border-width: 1px;
    border-color: #e9ecef;
}

.dfe-tablet-grid-horizontal {
    width: 100%;
    height: 0;
    border-top: 1px dashed #e9ecef;
}

.dfe-tablet-grid-vertical {
    height: 100%;
    width: 0;
    border-left: 1px dashed #e9ecef;
}

/* Product circles */
.dfe-tablet-graph-products {
    position: absolute;
    top: 0;
    left: 80px;
    width: calc(100% - 80px);
    height: calc(100% - 60px);
}

.dfe-tablet-graph-product {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .dfe-tablet-graph-product:hover {
        transform: translate(-50%, -50%) scale(1.1);
        z-index: 10;
    }

.dfe-tablet-product-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.dfe-tablet-graph-product:hover .dfe-tablet-product-circle {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
}

.dfe-tablet-product-initial {
    font-weight: bold;
    font-size: 18px;
}

.dfe-tablet-product-label {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 600;
    color: #495057;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 8px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dfe-tablet-graph-product:hover .dfe-tablet-product-label {
    opacity: 1;
}

/* Product circle colors */
.dfe-tablet-circle-pharmacel {
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.dfe-tablet-circle-supertab-21an {
    background: linear-gradient(135deg, #28a745, #1e7e34);
}

.dfe-tablet-circle-supertab-11sd {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    color: #212529;
}

.dfe-tablet-circle-lactopress {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

.dfe-tablet-circle-supertab-30gr {
    background: linear-gradient(135deg, #6f42c1, #5a32a3);
}

.dfe-tablet-circle-unlabeled {
    background: #6c757d;
    width: 40px;
    height: 40px;
    font-size: 14px;
}

    .dfe-tablet-circle-unlabeled .dfe-tablet-product-initial {
        font-size: 14px;
    }

/* Responsive Design for Tablet Graph */
@media (max-width: 1200px) {
    .dfe-tablet-graph-container {
        padding: 0 15px;
    }

    .dfe-tablet-graph-wrapper {
        padding: 30px;
    }

    .dfe-tablet-graph-chart {
        height: 450px;
    }
}

@media (max-width: 768px) {
    .dfe-tablet-graph-section {
        padding: 30px 0;
    }

    .dfe-tablet-graph-title {
        font-size: 1.5rem;
    }

    .dfe-tablet-graph-wrapper {
        padding: 20px;
    }

    .dfe-tablet-graph-chart {
        height: 400px;
    }

    .dfe-tablet-graph-y-axis {
        width: 60px;
    }

    .dfe-tablet-graph-x-axis {
        left: 60px;
        width: calc(100% - 60px);
    }

    .dfe-tablet-graph-grid {
        left: 60px;
        width: calc(100% - 60px);
    }

    .dfe-tablet-graph-products {
        left: 60px;
        width: calc(100% - 60px);
    }

    .dfe-tablet-graph-zones {
        left: 60px;
        width: calc(100% - 60px);
    }

    .dfe-tablet-product-circle {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .dfe-tablet-product-initial {
        font-size: 16px;
    }

    .dfe-tablet-product-label {
        font-size: 11px;
        top: 50px;
    }

    .dfe-tablet-circle-unlabeled {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

        .dfe-tablet-circle-unlabeled .dfe-tablet-product-initial {
            font-size: 12px;
        }
}

@media (max-width: 480px) {
    .dfe-tablet-graph-container {
        padding: 0 10px;
    }

    .dfe-tablet-graph-wrapper {
        padding: 15px;
    }

    .dfe-tablet-graph-chart {
        height: 350px;
    }

    .dfe-tablet-graph-y-axis {
        width: 50px;
    }

    .dfe-tablet-graph-x-axis {
        left: 50px;
        width: calc(100% - 50px);
    }

    .dfe-tablet-graph-grid {
        left: 50px;
        width: calc(100% - 50px);
    }

    .dfe-tablet-graph-products {
        left: 50px;
        width: calc(100% - 50px);
    }

    .dfe-tablet-graph-zones {
        left: 50px;
        width: calc(100% - 50px);
    }

    .dfe-tablet-graph-y-label {
        font-size: 12px;
    }

    .dfe-tablet-graph-x-label {
        font-size: 12px;
    }

    .dfe-tablet-graph-y-tick {
        font-size: 10px;
    }

    .dfe-tablet-graph-x-tick {
        font-size: 10px;
    }

    .dfe-tablet-product-circle {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .dfe-tablet-product-initial {
        font-size: 14px;
    }

    .dfe-tablet-product-label {
        font-size: 10px;
        top: 45px;
    }

    .dfe-tablet-circle-unlabeled {
        width: 25px;
        height: 25px;
        font-size: 10px;
    }

        .dfe-tablet-circle-unlabeled .dfe-tablet-product-initial {
            font-size: 10px;
        }
}

/* Particle Size Distribution Graph Styles */
.dfe-psd-graph-section {
    padding: 40px 0;
    background: #f8f9fa;
}

.dfe-psd-graph-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.dfe-psd-graph-header {
    text-align: center;
    margin-bottom: 40px;
}

.dfe-psd-graph-title {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.dfe-psd-graph-wrapper {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-bottom: 30px;
}

.dfe-psd-graph-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.dfe-psd-graph-left {
    flex: 2;
}

.dfe-psd-graph-right {
    flex: 1;
    min-width: 300px;
}

.dfe-psd-graph-chart {
    position: relative;
    width: 100%;
    height: 500px;
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

/* Y-axis */
.dfe-psd-graph-y-axis {
    position: absolute;
    left: 0;
    top: 0;
    width: 80px;
    height: 100%;
    background: #f8f9fa;
    border-right: 2px solid #dee2e6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.dfe-psd-graph-y-label {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 20px;
    transform: rotate(180deg);
}

.dfe-psd-graph-y-scale {
    position: relative;
    width: 100%;
    height: calc(100% - 60px);
    margin-top: 20px;
}

.dfe-psd-graph-y-tick {
    position: absolute;
    right: 10px;
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
    transform: translateY(-50%);
}

/* X-axis */
.dfe-psd-graph-x-axis {
    position: absolute;
    bottom: 0;
    left: 80px;
    width: calc(100% - 80px);
    height: 60px;
    background: #f8f9fa;
    border-top: 2px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dfe-psd-graph-x-label {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    margin-top: 20px;
}

.dfe-psd-graph-x-scale {
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    height: 20px;
}

.dfe-psd-graph-x-tick {
    position: absolute;
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
    transform: translateX(-50%);
}

/* Grid lines */
.dfe-psd-graph-grid {
    position: absolute;
    top: 0;
    left: 80px;
    width: calc(100% - 80px);
    height: calc(100% - 60px);
}

.dfe-psd-grid-line {
    position: absolute;
    background-color: #e9ecef;
    border-style: dashed;
    border-width: 1px;
    border-color: #e9ecef;
}

.dfe-psd-grid-horizontal {
    width: 100%;
    height: 0;
    border-top: 1px dashed #e9ecef;
}

.dfe-psd-grid-vertical {
    height: 100%;
    width: 0;
    border-left: 1px dashed #e9ecef;
}

/* Distribution curves */
.dfe-psd-graph-curves {
    position: absolute;
    top: 0;
    left: 80px;
    width: calc(100% - 80px);
    height: calc(100% - 60px);
}

.dfe-psd-curve {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.dfe-psd-curve-svg {
    width: 100%;
    height: 100%;
}

/* Legends below the graph */
.dfe-psd-legends {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
    padding: 15px 0;
    border-radius: 6px;
}

.dfe-psd-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

    .dfe-psd-legend-item:hover {
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
        transform: translateY(-1px);
    }

.dfe-psd-legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dfe-psd-legend-text {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
}

/* Controls Panel */
.dfe-psd-controls-panel {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dfe-psd-controls-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    text-align: center;
}

.dfe-psd-range-group {
    margin-bottom: 25px;
}

.dfe-psd-range-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 10px;
}

.dfe-psd-range-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.dfe-psd-range-slider {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: #dee2e6;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

    .dfe-psd-range-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: #007bff;
        cursor: pointer;
        box-shadow: 0 2px 6px rgba(0, 123, 255, 0.3);
        transition: all 0.2s ease;
    }

        .dfe-psd-range-slider::-webkit-slider-thumb:hover {
            background: #0056b3;
            transform: scale(1.1);
        }

    .dfe-psd-range-slider::-moz-range-thumb {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: #007bff;
        cursor: pointer;
        border: none;
        box-shadow: 0 2px 6px rgba(0, 123, 255, 0.3);
        transition: all 0.2s ease;
    }

        .dfe-psd-range-slider::-moz-range-thumb:hover {
            background: #0056b3;
            transform: scale(1.1);
        }

.dfe-psd-range-value {
    min-width: 50px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #007bff;
    background: #e3f2fd;
    padding: 5px 10px;
    border-radius: 4px;
}

/* Products Panel */
.dfe-psd-products-panel {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dfe-psd-products-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.dfe-psd-products-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dfe-psd-product-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}



.dfe-psd-product-color {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dfe-psd-color-supertab-30gr {
    background: #007bff;
}

.dfe-psd-color-supertab-11sd {
    background: #28a745;
}

.dfe-psd-color-pharmacel {
    background: #ffc107;
}

.dfe-psd-color-starch {
    background: #dc3545;
}

.dfe-psd-product-info {
    flex: 1;
}

.dfe-psd-product-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.dfe-psd-product-value {
    font-size: 14px;
    color: #012F44;
}

/* Responsive Design for PSD Graph */
@media (max-width: 1200px) {
    .dfe-psd-graph-container {
        padding: 0 15px;
    }

    .dfe-psd-graph-wrapper {
        padding: 30px;
    }

    .dfe-psd-graph-layout {
        gap: 30px;
    }

    .dfe-psd-graph-right {
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .dfe-psd-graph-section {
        padding: 30px 0;
    }

    .dfe-psd-graph-title {
        font-size: 1.5rem;
    }

    .dfe-psd-graph-wrapper {
        padding: 20px;
    }

    .dfe-psd-graph-layout {
        flex-direction: column;
        gap: 30px;
    }

    .dfe-psd-graph-left {
        order: 2;
    }

    .dfe-psd-graph-right {
        order: 1;
        min-width: auto;
    }

    .dfe-psd-graph-chart {
        height: 400px;
    }

    .dfe-psd-graph-y-axis {
        width: 60px;
    }

    .dfe-psd-graph-x-axis {
        left: 60px;
        width: calc(100% - 60px);
    }

    .dfe-psd-graph-grid {
        left: 60px;
        width: calc(100% - 60px);
    }

    .dfe-psd-graph-curves {
        left: 60px;
        width: calc(100% - 60px);
    }

    .dfe-psd-legends {
        gap: 20px;
        padding: 12px 0;
        flex-wrap: wrap;
        justify-content: center;
    }

    .dfe-psd-legend-item {
        padding: 6px 10px;
    }

    .dfe-psd-legend-text {
        font-size: 12px;
    }

    .dfe-psd-controls-panel {
        padding: 20px;
    }

    .dfe-psd-products-panel {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .dfe-psd-graph-container {
        padding: 0 10px;
    }

    .dfe-psd-graph-wrapper {
        padding: 15px;
    }

    .dfe-psd-graph-chart {
        height: 350px;
    }

    .dfe-psd-graph-y-axis {
        width: 50px;
    }

    .dfe-psd-graph-x-axis {
        left: 50px;
        width: calc(100% - 50px);
    }

    .dfe-psd-graph-grid {
        left: 50px;
        width: calc(100% - 50px);
    }

    .dfe-psd-graph-curves {
        left: 50px;
        width: calc(100% - 50px);
    }

    .dfe-psd-legends {
        gap: 15px;
        padding: 10px 0;
        flex-wrap: wrap;
    }

    .dfe-psd-legend-item {
        padding: 5px 8px;
    }

    .dfe-psd-legend-color {
        width: 10px;
        height: 10px;
    }

    .dfe-psd-legend-text {
        font-size: 11px;
    }

    .dfe-psd-graph-y-label {
        font-size: 12px;
    }

    .dfe-psd-graph-x-label {
        font-size: 12px;
    }

    .dfe-psd-graph-y-tick {
        font-size: 10px;
    }

    .dfe-psd-graph-x-tick {
        font-size: 10px;
    }

    .dfe-psd-controls-panel {
        padding: 15px;
    }

    .dfe-psd-products-panel {
        padding: 15px;
    }

    .dfe-psd-controls-title,
    .dfe-psd-products-title {
        font-size: 16px;
    }

    .dfe-psd-range-container {
        gap: 10px;
    }

    .dfe-psd-range-value {
        min-width: 40px;
        font-size: 12px;
        padding: 3px 8px;
    }

    .dfe-psd-product-item {
        padding: 10px;
        gap: 10px;
    }

    .dfe-psd-product-color {
        width: 14px;
        height: 14px;
    }

    .dfe-psd-product-name {
        font-size: 13px;
    }

    .dfe-psd-product-value {
        font-size: 11px;
    }
}

/* Product Information Modal Styles */
/*.dfe-product-info-specs-main-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
    font-family: 'Arimo', sans-serif;
}

.dfe-product-info-specs {
    display: flex;
    flex-direction: column;
}

.dfe-product-info-specs-columns-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.dfe-product-info-specs-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dotted #e0e0e0;
}

.dfe-product-info-specs-row:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .dfe-product-info-specs-columns-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 576px) {
    .dfe-product-info-specs-columns-wrapper {
        gap: 20px;
    }
}*/
/*again css*/
/* Modal Overlay and Container */
.dfe-product-info-modal .modal-dialog {
    max-width: 800px;
    margin: 1.75rem auto;
}

.dfe-product-info-modal-content {
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

/* Modal Header */
.dfe-product-info-modal-header {
    border-bottom: none;
    padding: 24px 32px 16px;
    background: #fff;
}

.dfe-product-info-modal-title {
    font-size: 27px;
    font-weight: 600;
    color: #4C7189;
    margin: 0;
    font-family: 'Arimo', sans-serif;
}

.dfe-product-info-modal-close {
    background: none !important;
    border: none !important;
    opacity: 0.7;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
    background-image: none !important;
    position: relative;
}

    .dfe-product-info-modal-close:hover {
        opacity: 1;
        transform: scale(1.1);
    }

    .dfe-product-info-modal-close:focus {
        outline: none;
        box-shadow: none;
    }

    .dfe-product-info-modal-close i {
        font-size: 20px;
        line-height: 1;
        color: #4C7189;
        display: block;
        transition: color 0.2s ease;
    }

    .dfe-product-info-modal-close:hover i {
        color: #333;
    }

/* Modal Body */
.dfe-product-info-modal-body {
    padding: 0 32px 32px;
}

/* Main Product Info Section */
.dfe-product-info-main {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    align-items: flex-start;
}

.dfe-product-info-image-wrapper {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
}

.dfe-product-info-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    background: #f5f5f5;
}

.dfe-product-info-details {
    flex: 1;
    min-width: 0;
}

.dfe-product-info-name {
    font-size: 23px;
    font-weight: 700;
    color: #4C7189;
    margin: 0 0 8px 0;
    font-family: 'Arimo', sans-serif;
    line-height: 1.3;
}

.dfe-product-info-type {
    font-size: 16px;
    color: #4C7189;
    margin: 0 0 12px 0;
    font-family: 'Arimo', sans-serif;
    font-weight: 400;
}

.dfe-product-info-description {
    font-size: 14px;
    color: #4C7189;
    margin: 0;
    font-family: 'Arimo', sans-serif;
    line-height: 1.5;
}

/* Specifications Section */
.dfe-product-info-specs {
    display: flex;
    flex-direction: column;
}

.dfe-product-info-specs-main-title {
    font-size: 14px;
    font-weight: 600;
    color: #4C7189;
    margin: 0 0 12px 0;
    font-family: 'Arimo', sans-serif;
}

.dfe-product-info-specs-columns-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.dfe-product-info-specs-column {
    display: flex;
    flex-direction: column;
}

.dfe-product-info-specs-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dotted #e0e0e0;
}

    .dfe-product-info-specs-row:last-child {
        border-bottom: none;
    }

.dfe-product-info-specs-label {
    font-size: 14px;
    color: #4C7189;
    font-family: 'Arimo', sans-serif;
}

.dfe-product-info-specs-value {
    font-size: 14px;
    color: #4C7189;
    font-family: 'Arimo', sans-serif;
    text-align: right;
    font-weight: 400;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .dfe-product-info-modal .modal-dialog {
        max-width: 95%;
        margin: 1rem auto;
    }

    .dfe-product-info-modal-header {
        padding: 20px 24px 12px;
    }

    .dfe-product-info-modal-body {
        padding: 0 24px 24px;
    }

    .dfe-product-info-main {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 24px;
    }

    .dfe-product-info-image-wrapper {
        width: 100%;
        max-width: 300px;
        height: 300px;
        margin: 0 auto;
    }

    .dfe-product-info-name {
        font-size: 20px;
    }

    .dfe-product-info-specs-columns-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 576px) {
    .dfe-product-info-modal-header {
        padding: 16px 20px 10px;
    }

    .dfe-product-info-modal-title {
        font-size: 18px;
    }

    .dfe-product-info-modal-body {
        padding: 0 20px 20px;
    }

    .dfe-product-info-image-wrapper {
        max-width: 100%;
        height: 250px;
    }

    .dfe-product-info-name {
        font-size: 18px;
    }

    .dfe-product-info-type {
        font-size: 14px;
    }

    .dfe-product-info-description {
        font-size: 13px;
    }

    .dfe-product-info-specs-columns-wrapper {
        gap: 20px;
    }

    .dfe-product-info-specs-main-title {
        font-size: 13px;
    }

    .dfe-product-info-specs-label,
    .dfe-product-info-specs-value {
        font-size: 13px;
    }
}

/*filter css*/

.btn-filter-reset-go:hover {
    background: #dd432e;
    border-color: #dd432e;
    color: #fff;
}

/* .custom-filter-btn:hover {
		background-color: rgba(1, 47, 68, 0.05);
		color: var(--sub-header-text);
	} */

.custom-filter-btn:focus {
    outline: 2px solid rgba(1, 47, 68, 0.2);
    outline-offset: 2px;
    box-shadow: none;
}

.custom-filter-btn[aria-expanded="true"] .custom-filter-arrow-img,
.custom-filter-btn.active .custom-filter-arrow-img {
    transform: rotate(180deg);
}

/* Ensure filter container is properly styled when collapsed */
#filterContainer.collapse:not(.show) {
    display: none;
}

#filterContainer.collapse.show {
    display: block;
}

/* Product Limit Modal Styling d-changes*/
.dfe-product-limit-modal-content {
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.dfe-product-limit-modal-header {
    border-bottom: 1px solid #e9ecef;
    padding: 1.5rem;
}

.dfe-product-limit-modal-title {
    font-weight: 600;
    color: #333;
}

.dfe-product-limit-modal-icon {
    color: #ffc107;
    margin-right: 10px;
}

.dfe-product-limit-modal-body {
    padding: 1.5rem;
}

.dfe-product-limit-modal-message {
    margin-bottom: 1rem;
    color: #555;
    font-size: 1rem;
}

.dfe-product-limit-modal-count {
    color: #012F44;
}

.dfe-product-limit-modal-submessage {
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 0.95rem;
}

.dfe-product-limit-modal-products-container {
    background-color: #f8f9fa;
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1rem;
}

.dfe-product-limit-modal-products-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.75rem;
}

.dfe-product-limit-modal-selected-count {
    color: #012F44;
}

.dfe-product-limit-modal-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dfe-product-limit-modal-checkbox-item {
    margin: 0;
    margin-bottom: 8px;
}

.dfe-product-limit-modal-checkbox {
    margin-right: 8px;
    margin-top: 0.2em;
}

.dfe-product-limit-modal-checkbox-label {
    color: #4C7189;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
    transition: color 0.3s ease;
    line-height: 1.4;
    text-align: left;
}

.dfe-product-limit-modal-checkbox-label:hover {
    color: var(--header-bg);
}

.dfe-product-limit-modal-checkbox:checked + .dfe-product-limit-modal-checkbox-label {
    font-weight: 700;
    color: #4C7189;
}

.dfe-product-limit-modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 1rem 1.5rem;
}

.dfe-product-limit-modal-button {
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    background-color: #31576E;
    border-color: #31576E;
    color: white;
}

    .dfe-product-limit-modal-button:hover, .dfe-product-limit-modal-button:focus, .dfe-product-limit-modal-button:active {
        background-color: #264a5a;
        border-color: #264a5a;
        color: white;
    }
.btn.dfe-product-limit-modal-button:first-child:active {
    background-color: #264a5a;
    border-color: #264a5a;
    color: white;
}
/* Filter Container Wrapper end d-changes*/
.dfe-advanced-filter-wrapper {
    background-color: white;
    padding: 30px 20px;
    margin: 0 0 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.dfe-filter-row {
    margin-bottom: 20px;
}

/* Filter Column - Card Style */
.dfe-filter-column {
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    height: 100%;
    min-height: 300px;
}

/* Filter Group */
.dfe-filter-group {
    margin-bottom: 25px;
}

    .dfe-filter-group:last-child {
        margin-bottom: 0;
    }

/* Filter Title */
.dfe-filter-title {
    color: #012F44;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: left;
    font-family: "Arimo", sans-serif;
}

/* Checkbox Group */
.dfe-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .dfe-checkbox-group .form-check {
        margin: 0;
        margin-bottom: 8px;
    }

    .dfe-checkbox-group .form-check-input {
        margin-right: 8px;
        margin-top: 0.25em;
        cursor: pointer;
    }

    .dfe-checkbox-group .form-check-label {
        color: #4C7189;
        font-size: 15px;
        font-weight: 500;
        cursor: pointer;
        user-select: none;
        transition: color 0.3s ease;
        line-height: 1.4;
        text-align: left;
        font-family: "Arimo", sans-serif;
    }

        .dfe-checkbox-group .form-check-label:hover {
            color: #31A4A0;
        }

    .dfe-checkbox-group .form-check-input:checked + .form-check-label {
        font-weight: 700;
        color: #4C7189;
    }

/* Nested Group */
.dfe-nested-group {
    margin-left: 20px;
    margin-bottom: 8px;
    padding-left: 10px;
}

    .dfe-nested-group .form-check-label {
        font-size: 14px;
    }

/* Range Group */
.dfe-range-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dfe-range-item {
    display: flex;
    flex-direction: column;
}

.dfe-range-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.dfe-range-label {
    color: #4C7189;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    font-family: "Arimo", sans-serif;
}

.dfe-range-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 50%;
}

.dfe-range-input {
    width: 100%;
    height: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 10px 8px;
    font-size: 16px;
    text-align: center;
    background-color: #ffffff;
    color: #333;
    font-family: "Arimo", sans-serif;
    -moz-appearance: textfield;
    appearance: textfield;
    border-radius: 10px;
}

    .dfe-range-input::placeholder {
        color: #999;
        font-size: 11px;
        opacity: 0.7;
    }

    .dfe-range-input::-webkit-outer-spin-button,
    .dfe-range-input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    .dfe-range-input:focus {
        border-color: #94BDCF;
        outline: none;
        box-shadow: 0 0 0 0.2rem rgba(148, 189, 207, 0.25);
        background-color: white;
    }

.dfe-range-separator {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

/* Range Slider Container */
.dfe-range-slider-container {
    position: relative;
    height: 20px;
    background: transparent;
    border-radius: 10px;
    margin: 10px 0 25px 0;
    padding: 0;
}

/* Slider Labels (Min/Max below slider) */
.dfe-slider-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    padding: 0 2px;
}

.dfe-slider-label-min,
.dfe-slider-label-max {
    font-size: 12px;
    color: #999;
    font-weight: 400;
    font-family: "Arimo", sans-serif;
}


.dfe-range-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    /* z-index: 10;*/
    pointer-events: auto;
    margin: 0;
    padding: 0;
    opacity: 1;
    cursor: pointer;
}


    /* Ensure both sliders are clickable - min slider should be accessible even when behind max */
    .dfe-range-slider:first-child {
        z-index: 10;
    }

        .dfe-range-slider:first-child::-webkit-slider-thumb {
            z-index: 25;
        }

        .dfe-range-slider:first-child::-moz-range-thumb {
            z-index: 25;
        }

    .dfe-range-slider:last-child::-webkit-slider-thumb {
        z-index: 30;
    }

    .dfe-range-slider:last-child::-moz-range-thumb {
        z-index: 30;
    }

    .dfe-range-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 15px;
        height: 15px;
        background: white;
        border: 2px solid #94BDCF;
        border-radius: 50%;
        cursor: grab;
        box-shadow: 0 0 0 3px rgba(148, 189, 207, 0.6), 0 0 0 5px rgba(230, 240, 250, 0.4), 0 2px 6px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
        pointer-events: all;
        position: relative;
        z-index: 25;
        opacity: 1;
        visibility: visible;
        -webkit-user-select: none;
        user-select: none;
    }

        .dfe-range-slider::-webkit-slider-thumb:active {
            cursor: grabbing;
        }

        .dfe-range-slider::-webkit-slider-thumb:hover {
            box-shadow: 0 0 0 4px rgba(148, 189, 207, 0.7), 0 0 0 6px rgba(230, 240, 250, 0.5), 0 3px 8px rgba(0, 0, 0, 0.25);
        }

    .dfe-range-slider::-moz-range-thumb {
        width: 15px;
        height: 15px;
        background: white;
        border: 2px solid #94BDCF;
        border-radius: 50%;
        cursor: grab;
        box-shadow: 0 0 0 3px rgba(148, 189, 207, 0.6), 0 0 0 5px rgba(230, 240, 250, 0.4), 0 2px 6px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
        pointer-events: all;
        position: relative;
        z-index: 25;
        opacity: 1;
        visibility: visible;
        -moz-user-select: none;
        user-select: none;
    }

        .dfe-range-slider::-moz-range-thumb:active {
            cursor: grabbing;
        }

        .dfe-range-slider::-moz-range-thumb:hover {
            box-shadow: 0 0 0 4px rgba(148, 189, 207, 0.7), 0 0 0 6px rgba(230, 240, 250, 0.5), 0 3px 8px rgba(0, 0, 0, 0.25);
        }

    .dfe-range-slider::-webkit-slider-track {
        background: transparent !important;
        height: 20px;
        border-radius: 10px;
        cursor: pointer;
        -webkit-appearance: none;
        border: none;
        -webkit-appearance: none;
        appearance: none;
    }

    .dfe-range-slider::-moz-range-track {
        background: transparent !important;
        height: 20px;
        border-radius: 10px;
        border: none !important;
        cursor: pointer;
        -moz-appearance: none;
    }

/* Ensure slider container has proper height for handles */
.dfe-range-slider-container {
    min-height: 22px;
    padding: 1px 0;
    position: relative;
    overflow: visible;
}

    /* Ensure both sliders are properly layered */
    .dfe-range-slider-container .dfe-range-slider {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 20px;
    }

        /* Make sure the entire slider track is clickable, not just the thumb */
        .dfe-range-slider-container .dfe-range-slider:first-child {
            pointer-events: auto;
        }

        .dfe-range-slider-container .dfe-range-slider:last-child {
            pointer-events: auto;
        }

    /* Base track - transparent to allow background to show through in selected range */
    .dfe-range-slider-container::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 8px;
        background: #94BDCF;
        border-radius: 5px;
        transform: translateY(-50%);
        z-index: 0;
        pointer-events: none;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    /* White outside selected range, transparent in selected range - uses CSS variables for dynamic range */
    .dfe-range-slider-container::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 8px;
        background: linear-gradient( to right, white 0%, white var(--range-start, 0%), transparent var(--range-start, 0%), transparent calc(var(--range-start, 0%) + var(--range-width, 100%)), white calc(var(--range-start, 0%) + var(--range-width, 100%)), white 100% );
        border-radius: 100px;
        transform: translateY(-50%);
        z-index: 1;
        pointer-events: none;
        box-shadow: 0 0px 3px rgba(0, 0, 0, 0.15), 0 1px 24px rgba(0, 0, 0, 0.1);
    }

/* Qualitative Slider (Powder flow, Compactability) */
.dfe-qualitative-slider-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dfe-qualitative-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dfe-qualitative-label-left,
.dfe-qualitative-label-right {
    font-size: 12px;
    color: #666;
    font-weight: 500;
    font-family: "Arimo", sans-serif;
}

.dfe-qualitative-slider-wrapper {
    position: relative;
    height: 20px;
    background: transparent;
    border-radius: 10px;
}

.dfe-qualitative-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    z-index: 10;
    pointer-events: auto;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

    .dfe-qualitative-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 20px;
        height: 20px;
        background: white;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        box-shadow: 0 0 0 3px rgba(148, 189, 207, 0.6), 0 0 0 5px rgba(230, 240, 250, 0.4), 0 2px 6px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
        pointer-events: all;
        position: relative;
        z-index: 20;
        opacity: 1;
    }

        .dfe-qualitative-slider::-webkit-slider-thumb:hover {
            box-shadow: 0 0 0 4px rgba(148, 189, 207, 0.7), 0 0 0 6px rgba(230, 240, 250, 0.5), 0 3px 8px rgba(0, 0, 0, 0.25);
        }

    .dfe-qualitative-slider::-moz-range-thumb {
        width: 20px;
        height: 20px;
        background: white;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        box-shadow: 0 0 0 3px rgba(148, 189, 207, 0.6), 0 0 0 5px rgba(230, 240, 250, 0.4), 0 2px 6px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
        pointer-events: all;
        position: relative;
        z-index: 20;
        opacity: 1;
    }

        .dfe-qualitative-slider::-moz-range-thumb:hover {
            box-shadow: 0 0 0 4px rgba(148, 189, 207, 0.7), 0 0 0 6px rgba(230, 240, 250, 0.5), 0 3px 8px rgba(0, 0, 0, 0.25);
        }

    .dfe-qualitative-slider::-webkit-slider-track {
        background: transparent;
        height: 20px;
        border-radius: 10px;
    }

    .dfe-qualitative-slider::-moz-range-track {
        background: transparent;
        height: 20px;
        border-radius: 10px;
        border: none;
    }

.dfe-qualitative-slider-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 10px;
    background: #94BDCF;
    border-radius: 5px;
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dfe-qualitative-slider-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient( to right, transparent 0%, transparent var(--dfe-qualitative-width, 0%), white var(--dfe-qualitative-width, 0%), white 100% );
    border-radius: 5px;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Filter Actions */
.dfe-filter-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    padding: 20px 15px 0;
    margin-top: 20px;
    border-top: 1px solid #e9ecef;
}

.dfe-btn-cancel {
    background-color: #5a6268;
    color: #fff;
    border: 1px solid #5a6268;
    font-weight: 600;
    padding: 10px 34px;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-size: 15px;
    cursor: pointer;
    font-family: "Arimo", sans-serif;
}

    .dfe-btn-cancel:hover {
        background-color: #9CBCCD;
        border-color: #9CBCCD;
        color: #4C7289;
    }

.dfe-btn-apply {
    background-color: #F04E38;
    color: white;
    border: 1px solid #F04E38;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-size: 15px;
    cursor: pointer;
    font-family: "Arimo", sans-serif;
}

    .dfe-btn-apply:hover {
        background-color: #d43e2a;
        border-color: #d43e2a;
        color: white;
    }

    .dfe-btn-apply:focus {
        box-shadow: 0 0 0 0.2rem rgba(240, 78, 55, 0.25);
    }

.form-check-input[type=checkbox]:indeterminate {
    background-color: #31576E;
    border-color: #31576E;
}
/* Responsive Styles for Advanced Filter */
@media (max-width: 1200px) {
    .dfe-filter-column {
        padding: 18px;
    }

    .dfe-filter-title {
        font-size: 16px;
    }
}

@media (max-width: 992px) {
    .dfe-advanced-filter-wrapper {
        padding: 25px 15px;
    }

    .dfe-filter-column {
        padding: 18px;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .dfe-advanced-filter-wrapper {
        padding: 20px 10px;
    }

    .dfe-filter-column {
        padding: 15px;
    }

    .dfe-filter-title {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .dfe-range-input {
        width: 55px;
        height: 30px;
        font-size: 11px;
    }

    .dfe-filter-actions {
        flex-direction: column;
        gap: 10px;
    }

    .dfe-btn-cancel,
    .dfe-btn-apply {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .dfe-advanced-filter-wrapper {
        padding: 15px 8px;
    }

    .dfe-filter-column {
        padding: 12px;
    }

    .dfe-filter-title {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .dfe-checkbox-group .form-check-label {
        font-size: 13px;
    }

    .dfe-range-input {
        width: 50px;
        height: 28px;
        font-size: 10px;
    }
}
