﻿
.select2-selection__rendered {
    text-align: right !important
}
/* Custom offcanvas style */
.offcanvas-custom {
    width: 300px; /* adjust width as needed */
    height: auto !important; /* let height fit content */
    max-height: 100%; /* prevent overflow beyond viewport */
    top: 25% !important; /* remove fixed top positioning */
    bottom: auto; /* remove fixed bottom positioning */
}

.controls-btns {
    top: 20.5%;
    left: 0;
    z-index: 999;
    direction: ltr
}

    .controls-btns button {
        display: block;
        width: 40px;
        height: 40px;
        border: none;
        color: #fff;
        left: 0; /* بدلاً من left */
        transition: all 0.4s ease-in-out;
        z-index: 9999;
    }

        /* الشكل عند التوسع */
        .controls-btns button.expanded {
            width: 60px;
            height: 60px;
            font-size: 16px;
            z-index: 99999;
            right: 20px; /* مثال: يتحرك للداخل من جهة اليمين */
        }

.select2-selection__choice {
    font-size: 12px !important;
}


#needRevision {
    border-color: #dc3545;
}

    #needRevision:active, #needRevision:focus {
        box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #dc3545 !important;
        border-color: #dc3545 !important
    }

    #needRevision:checked {
        background-color: #dc3545; /* Change to your desired color */
        border-color: #dc3545;
    }

.keywords-error, .origin-error {
    display: none;
    color: #ff003b;
    font-size: 12px
}

.specifications {
    display: inline-block; /* Labels are typically inline-block */
    font-size: 12px;
    font-weight: bold; /* Labels often have bold text */
    cursor: default; /* Ensures it behaves like a label */
}

.field-validation-valid, .field-validation-error {
    color: #ff003b;
    font-size: 12px
}

#productBrand + .select2-container .select2-selection--single, .select2-search__field {
    border-radius: 0 0.375rem 0.375rem 0;
}

#productCategory + .select2-container .select2-selection--single, .select2-search__field {
    border-radius: 0 0.375rem 0.375rem 0;
}

#SelectProperty + .select2-container .select2-selection--single, .select2-search__field {
    border-radius: 0 0.375rem 0.375rem 0;
}

#DepartmentSelect + .select2-container .select2-selection--single, .select2-search__field {
    border-radius: 0 0.375rem 0.375rem 0;
}

.agree-value + .select2-container .select2-selection--single, .select2-search__field {
    border-radius: 0 0.375rem 0.375rem 0;
}

.question-text {
    background-color: #89E0CE;
    cursor: pointer;
    font-size: 12px;
    border: 1px solid #89E0CE;
    border-radius: 50%;
    padding: 0px 5px 0px 5px;
    font-weight: normal;
    color: black;
    margin-left: 0.25rem;
    margin-right: 0.25rem;
}

.pop-question-text {
    position: absolute;
    right: 90px;
    top: 15px;
    background-color: #89E0CE;
    border: 1px solid #89E0CE;
    border-radius: 0.25rem;
    font-size: 12px;
    font-weight: normal;
    z-index: 9999;
    padding: 5px;
    width: 150%;
    display: none;
}

    .question-text:hover + .pop-question-text, .pop-question-text:hover {
        display: block
    }

.msg {
    display: none;
    padding: 4px;
    border-radius: 5px;
    background: #ffdddd;
    color: #b30000;
    font-size: 14px;
}

