

.bg-200 {
    --background-color: #F3F4F6;
    --color: #111827;
    background-color: white !important;
    color: #111827;
}

#x_wd_costs_calculator .form-check img {
    background-color: #fff;
    border: 2px solid transparent;
}





.rounded-1 {
    border-radius: var(--border-radius-sm) !important;
}

.x_wd [class*="display-"] {
    font-family: "Caveat" !important;
    font-weight: 700;
}

#x_wd_costs_calculator .form-check input:checked + label {
    position: relative;
}

#x_wd_costs_calculator .form-check label {
    padding: 0;
    font-size: 12px;
}
.form-check-input:checked[type="checkbox"] {
    --form-check-bg-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23FFF' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e);
}

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

#x_wd_costs_calculator .form-check.form-parent input:checked + label::after {
    content: "\f00c";
    font-family: 'FontAwesome';
    position: absolute;
    top: -0.75rem;
    left: auto;
    bottom: auto;
    right: -0.75rem;
    color: white;
    background-color: #e77010;
    border: 2px solid #e77010;
    border-radius: 50%;
    font-size: 14px;
    width: 28px;
    height: 28px;
    line-height: 24px;
}

#x_wd_costs_calculator .form-check:hover img {
    border-color: #ADB5BD;
}

.form-check:hover, .form-check:hover .form-check-input:not(:disabled):not(.o_wysiwyg_loader) {
    border-color: #e77010;
}

.form-check .form-check-input {
    float: left;
    margin-left: -1.5em;
}

#x_wd_costs_calculator .form-check input:checked + label img {
    background-color: transparent;
    border-color: #e77010;
    min-height: 90px;
    max-height: 90px;
}

/* Module accordion styles */
.selected-modules-accordion {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

.module-card {
    border: 1px solid #e9ecef;
    border-radius: 6px !important;
    border-left: 3px solid #f0ad4e;
    transition: all 0.3s ease;
}

.module-card .card-header {

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    cursor: pointer;
    background-color: #f8f9fa;
}

.module-card .card-body {
    padding: 15px;
    background: #fcfcfc;
}

.module-card:hover {
    border-color: #dee2e6;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}
.custom-request textarea {
    font-size: 0.875rem;
}
.module-card .card-header:hover {
    background-color: #e9ecef;
}

.module-card .fa-chevron-down {
    transition: transform 0.3s ease;
}
.module-card .card-header[aria-expanded="true"] .fa-chevron-down {
    transform: rotate(180deg);
}

.no-modules-message {
    padding: 1rem;
    border-radius: 0.5rem;
    background-color: #f8f9fa;
    border-left: 4px solid #17a2b8;
}

.no-modules-message i {
    color: #17a2b8;
}

/* Chevron rotation */
.fa-chevron-down {
    transition: transform 0.3s ease;
}
.fa-chevron-down.rotated {
    transform: rotate(180deg);
}

/* Collapse animation */
.collapse:not(.show) {
    display: none;
}
.collapsing {
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease;
}

.save-indicator {
    position: absolute;
    right: 15px;
    bottom: 5px;
    font-size: 0.8em;
    background: white;
    padding: 0 5px;
    border-radius: 3px;
}

.custom-request {
    position: relative;
    margin-bottom: 1.5rem;
}

.product-preview-btn {
    z-index: 2; transform: translateY(-5px); opacity: 0; transition: all 0.2s ease;
     width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.form-check:hover .product-preview-btn {
    opacity: 1;
    transform: translateY(0);
}
.form-check {
    transition: transform 0.2s ease;
}
.form-check:hover {
    transform: translateY(-3px);
}
/*bar*/
/* Premium Range Slider - Optimized */
.user-range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 40px; /* Increased for better touch */
    background: transparent;
    margin: 12px 0;
    cursor: pointer;
    padding: 0;
}

/* Track Styling */
.user-range-slider::-webkit-slider-runnable-track {
    height: 8px;
    background: #f0f2f5; /* Light track */
    border-radius: 4px;
    border: 1px solid #e0e3e7;
}

.user-range-slider::-moz-range-track {
    height: 8px;
    background: #f0f2f5;
    border-radius: 4px;
    border: 1px solid #e0e3e7;
}

/* Progress Fill */
.user-range-slider-container {
    position: relative;
    --fill-percent: 0%;
}


.user-range-slider-container::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: var(--fill-percent);
    height: 8px;
    background: #ee7e20;
    border-radius: 4px;
    transform: translateY(-50%);
    z-index: 1;
    transition: width 0.3s ease;
}


/* Thumb Design */
.user-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ee7e20; /* Orange thumb */
    border: 4px solid white;
    box-shadow: 0 2px 8px rgba(60, 82, 96, 0.2);
    margin-top: -10px;
    transition: all 0.2s ease;
    cursor: grab;
    z-index: 2;
    position: relative;
}

.user-range-slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ee7e20;
    border: 4px solid white;
    box-shadow: 0 2px 8px rgba(60, 82, 96, 0.2);
    transition: all 0.2s ease;
    cursor: grab;
}

/* Interactive States */
.user-range-slider:active::-webkit-slider-thumb {
    transform: scale(1.15);
    box-shadow: 0 3px 12px rgba(60, 82, 96, 0.3);
    background: #e07010; /* Darker orange */
}

.user-range-slider:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 4px rgba(238, 126, 32, 0.3);
}

/* Value Display */
.x_wd_cc_nb_users {
    font-weight: 700;
    color: #3c5260; /* Blue text */
    font-size: 1.15em;
    margin: 0 3px;
}

/* Value display styling */
.x_wd_cc_nb_users {
    font-weight: 700;
    color: #ee7e20; /* Your theme color */
    font-size: 1.1em;
    margin: 0 2px;
}

/* Optional: Progress fill effect */
.user-range-slider-container {
    position: relative;
}

.user-range-slider-container::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 6px;
    background: rgba(238, 126, 32, 0.2); /* Light theme color */
    border-radius: 3px;
    z-index: 0;
}


/* Label Styling */
.x_wd_user_input_group h4 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
}

.x_wd_cc_nb_users {
    font-weight: 700;
    color: var(--o-color-1);
}
/* Sticky Sidebar */
/*
.position-sticky {
    align-self: flex-start;
    height: 100vh;
    overflow-y: auto;
    padding-bottom: 2rem;
}
*/


/* Right Sidebar Styling */
.rounded.shadow-sm {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
}

.x_wd_cc_competitor_costs li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #3c52601a;
}
.x_wd_cc_competitor_costs li:last-child {
    border-bottom: none;
}
:root, [data-bs-theme="light"] {
    --o-color-1: #3c5260;
    --o-color-4: #3c5260;
}

/* Prevent accordion jump */
.collapse {
    transition: height 0.3s ease;
}

/* Optional product checkboxes */
.optional-checkbox {
    margin-top: 0.3rem;
}

.optional-checkbox:checked {
    background-color: #ee7e20;
    border-color: #ee7e20;
}

/* Create the file-invoice-dollar icon using CSS */
.fa-file-invoice-dollar::before {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath fill='%23ffffff' d='M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM64 256a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm152 32c5.3 0 10.2 2.6 13.2 6.9l88 128c3.4 4.9 3.7 11.3 1 16.5s-8.2 8.6-14.2 8.6H216 176 128c-5.8 0-11.1-3.1-13.9-8.1s-2.8-11.2 .2-16.1l38.4-64H152c-30.9 0-56-25.1-56-56s25.1-56 56-56h8 32 8zm24 112h19.7l-19.7-28.6V400z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    vertical-align: middle;
}
  /* Adjust the floating button icon size */
    .floating-btn .fa-file-invoice-dollar::before {
        width: 0.8em;
        height: 0.8em;
    }

