/* style for filter  modal  */
#filterModal .main-modal-dialog-container {
    width: 462px;
    
}
#filterModal .main-modal-container {
    background-color: #FFFFFF;
    padding: 24px 0px;
    border-radius: 10px;
    border: 1px solid rgba(225,225,225,0.15);
    /* height: 162px; */
    
}
#filterModal .main-modal-body {
    display: flex;
    /* justify-content: center; */
    /* padding: 0px; */
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 0px;
    padding-bottom: 0px;
}
#filterModal .modal-content-container {
    display: flex;
    flex-direction: column; 
    justify-content: space-between;
    /* justify-content: center;  */
    max-width: 424px;
    width: 100%;
}
#filterModal .upload-img-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#filterModal .modal-heading{
    display: flex;
    /* justify-content: center; */
    font-weight: 700;
    font-size: 24px;
    line-height: 36px;
    color: #171719;
    margin-bottom: 16px;
    padding-left: 24px;
}


#filterModal .modal-description {
    display: flex;
    justify-content: center;
    color: white;
    text-align: center;
    
}
#filterModal .cancel-and-save-btn-container {
    display: flex;
    justify-content: center;
    border: none;
    padding: 0px;
    flex-wrap: nowrap;
    gap: 11px;
    
    
}
#filterModal .cancel-btn {
    width: 198.8px;
    margin: 0px;
    font-weight: 700;
    font-size: 16px;
    line-height: 27px;
     background-color: #E32001;
   
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    height: 40px;
}
#filterModal .save-btn {
    width: 198.8px;
    margin: 0px;
    font-weight: 700;
    font-size: 16px;
    line-height: 27px;
    background-color: #000000;
    
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    height: 40px;
}
#filterModal .upward-arrow-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 95px;
    height: 95px;
    background-color: #242328;
    margin-bottom: 10px;
    border-radius: 10px;
}
#filterModal .upload-img-container label {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#filterModal .uploaded-img-box {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 95px;
    height: 95px;
    background-color: #242328;
    margin-bottom: 10px;
    border-radius: 10px;
}
#filterModal .uploaded-img-box img {
    width: 85px;
    height: 85px;
    border-radius: 10px;
    border-color: rgba(0, 0, 0, 0.2);
    object-fit: cover;
    object-position: center;
}
#filterModal .delete-basket-btn {
    top: 5px;
    right: 5.5px;
    border: none;
    background: transparent;
}

#filterModal .upload-image-and-inputs-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
#filterModal .uploaded-img-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
#filterModal .upward-arrow-container img {
    width: 42px;
    height: 42px;
}
#filterModal .upload-img-title {

    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 20px;
}
#filterModal .form-container {
    width: 100%;
    height: 100%;
}
#filterModal .form-container form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    justify-content: space-between;
}
#filterModal .form-input-container {
    display: flex;
    flex-direction: column;
    gap: 0px;
}
#filterModal .upload-img-container label {
    cursor: pointer;
}
#filterModal .form-container form label {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    /* color: #FFFFFF; */
}
#filterModal .form-container form input {
    border: none;
    height: 15px;
    border-radius: 10px;
    padding-left: 15px;
    padding-right: 15px;
}
#filterModal .form-container form textarea {
    background-color: #242328;
    border-radius: 10px;
    border: none;
    height: 95px;
    resize: none;
    color: #FFFFFF;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 16px;
}

#filterModal .form-container form textarea::placeholder {
    /* padding-left: 15px;
    padding-top: 16px; */
    color:#878787;
}
#filterModal .form-container form input#description {
    height: 85px;
}

#filterModal .form-container form input::placeholder {
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    color: #878787;
   
}
#filterModal .modal-close-wrapper {
    position: relative; 
    width: 100%;
    /* height: 162px; */
}
#filterModal .red-cross-container {
    position: absolute; 
    top: 25px; 
    right: 25px;
    pointer-events: all;
}

#filterModal .red-cross-container img {
    width: 24px;
    height: 24px;
}

#filterModal .form-container form .form-element {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#filterModal .upload-image-error-message {
    color: red;
    display: none;
    font-size: 14px;
    font-weight: 400;
}

#filterModal .gap10 {
    gap: 10px;
}

#filterModal .card {
    height: 228px;
    width: 424px;
    border: 2px dashed #000000;
    align-items: center;
    justify-content: center;
    padding: 5px;
    background: #FFFFFF;
    border-radius: 6px;
    cursor: pointer;
}

#filterModal .hide {
    display: none !important;
}

#filterModal .card label {
    height: 100%;
    width: 100%;
}

#filterModal .pb20 {
    padding-bottom: 20px !important;
}

#filterModal .upload-img-title {
    font-weight: 500 !important;
    font-size: 28px !important;
    line-height: 28px !important;
    color: #000000 !important;
}

#filterModal .dropdown {
    position: relative;
    display: inline-block;
}

#filterModal .w100 {
    width: 100%;
}

#filterModal .section-title {
    font-size: 1.1rem;
    color: #555353;
}

#filterModal .custom-form-label {
    font-weight: 500 !important;
    font-size: 18px !important;
    line-height: 28px !important;
    color: #000000 !important;
}

#filterModal .pb10 {
    padding-bottom: 10px;
}

#filterModal .w500 {
    font-weight: 500 !important;
}

#filterModal .categories-text {
    font-size: 13px;
}

#filterModal .drop-control {
    border: 1px solid #E7E7E7;
    background: #FFF;
    box-sizing: border-box !important;
    border-radius: 5px !important;
    color: #000 !important;
    outline: none !important;
    padding: 0rem 1rem !important;
    letter-spacing: 0.05rem !important;
}

#filterModal .current_category {
    height: 50px !important;
    padding: 0 0.3rem !important;
    outline: none !important;
    border: none;
    box-shadow: none !important;
}

#filterModal .custom-form-input::placeholder {
    font-weight: 400;
    font-size: 16px;
    color: #4C4C4C;
    letter-spacing: 0.2px;

}

#filterModal .log-out-icon-container {
    width: 45px;
    height: 45px;
    background-color: #FFEEEE;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;

}

#filterModal .parent-container-for-log-out-icon-and-descritpion {
    display: flex;
    gap: 21px;
    align-items: center;
}

#filterModal .log-out-heading {
    font-weight: 600;
    font-size: 16px;
    line-height: 80%;
    color: #000000;

}

#filterModal .log-out-description {
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    color: #54595ECC;
}

#filterModal .parent-container-for-logout-heading-and-description {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Following is the style for double slides */
#filterModal .price-range-container {
    position: relative;
    /* margin: 0px 0; */
}

#filterModal .histogram {
    display: flex;
    align-items: end;
    justify-content: space-between;
    height: 120px;
    margin-bottom: 30px;
    padding: 0 20px;
}

#filterModal .bar {
    background: #E5E5E5;
    border-radius: 4px 4px 0 0;
    width: 18px;
    transition: all 0.3s ease;
    opacity: 0.7;
}

#filterModal .bar.in-range {
    background: #E5E5E5;
    opacity: 1;
    
}

#filterModal .filter-label {
    font-weight: 500;
    font-size: 16px;
    line-height: 80%;
    color: #000000;
}

#filterModal .slider-wrapper {
    position: relative;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    margin: 20px 0;
}

#filterModal .slider-track {
    position: absolute;
    height: 100%;
    background: black;
    border-radius: 3px;
    transition: all 0.3s ease;
}

#filterModal .slider-handle {
    position: absolute;
    width: 24px;
    height: 24px;
    background:black;
    border: 3px solid black;
    border-radius: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    cursor: grab;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#filterModal .slider-handle:hover {
    transform: translate(-50%, -50%) scale(1.2);
    
}

#filterModal .slider-handle:active {
    cursor: grabbing;
    transform: translate(-50%, -50%) scale(1.1);
}

#filterModal .slider-handle.min-handle {
    
}

#filterModal .slider-handle.max-handle {

}

#filterModal .price-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
}

#filterModal .price-value {
    font-weight: 500;
    font-size: 10px;
    color: #4C4C4C;
    line-height: 80%;
}

#filterModal .price-label {
    font-weight: 600;
    font-size: 11px;
    text-align: center;
    
}

.parent-container-for-price-inputs {
    display: flex;
    gap: 10px;
}

#filterModal .price-input {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* align-items: center; */
    border: 1px solid #E7E7E7;
    width: 200px;
    height: 50px;
    border-radius: 10px;
    padding: 8px;
    gap: 5px;
}

#filterModal .separator {
    font-size: 1.2rem;
    color: #94a3b8;
    margin: 0 20px;
}

#filterModal .category-type {
    padding-top: 7px;
    padding-bottom: 7px;
    padding-left: 14px;
    padding-right: 14px;
    border:  1px solid #E7E7E7;
    border-radius: 5px;
    font-weight: 500;
    font-size: 11px;
    /* color: #4C4C4C; */

}

#filterModal .category-label {
    font-weight: 500;
    font-size: 16px;
    line-height: 80%;
    color: #000000;
}

#filterModal .category-type.selected {
    color: #FFFFFF;
    background-color: #000000;
}

#filterModal .parent-container-for-categories-type {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

#filterModal .parent-container-for-category-title-and-category-types {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


/* Add these CSS styles for the input fields */
.price-value-input {
    border: 1px solid #ddd;
    border-radius: 4px;
    /* padding: 8px 12px; */
    font-size: 14px;
    font-weight: 500;
    color: #333;
    background-color: #fff;
    min-width: 80px;
    text-align: center;
    outline: none;
    transition: border-color 0.3s ease;
}

.price-value-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

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

.price-value-input[type=number] {
    -moz-appearance: textfield;
}


@media (max-width: 640px) {
    
#filterModal .histogram {
    height: 80px;
}
    
#filterModal .bar {
    width: 12px;
}
    
#filterModal .price-display {
    flex-direction: column;
    gap: 15px;
}
    
#filterModal .separator {
    display: none;
}
}


/* End fo style for double slides */

@media (max-width:576px) {
    #filterModal .main-modal-dialog-container {
        width: 100%;
    }
}


[lang="ar"] {
    #filterModal .modal-heading {
        padding-left: unset;
        padding-right: 24px !important;
    }
}