.select2-container .select2-search--inline .select2-search__field {
    height: 28px;
    line-height: 32px;
}
.ibm-plex-sans-arabic-thin {
    font-family: "IBM Plex Sans Arabic", sans-serif;
    font-weight: 100;
    font-style: normal;
}

.ibm-plex-sans-arabic-extralight {
    font-family: "IBM Plex Sans Arabic", sans-serif;
    font-weight: 200;
    font-style: normal;
}.select2-container .select2-search--inline .select2-search__field {
    height: 28px;
    line-height: 32px;
}
.ibm-plex-sans-arabic-thin {
    font-family: "IBM Plex Sans Arabic", sans-serif;
    font-weight: 100;
    font-style: normal;
}

.ibm-plex-sans-arabic-extralight {
    font-family: "IBM Plex Sans Arabic", sans-serif;
    font-weight: 200;
    font-style: normal;
}

.ibm-plex-sans-arabic-light {
    font-family: "IBM Plex Sans Arabic", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.ibm-plex-sans-arabic-regular {
    font-family: "IBM Plex Sans Arabic", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.ibm-plex-sans-arabic-medium {
    font-family: "IBM Plex Sans Arabic", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.ibm-plex-sans-arabic-semibold {
    font-family: "IBM Plex Sans Arabic", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.ibm-plex-sans-arabic-bold {
    font-family: "IBM Plex Sans Arabic", sans-serif;
    font-weight: 700;
    font-style: normal;
}

/** RTL direction styles */
[dir="rtl"] {
    direction: rtl;
    unicode-bidi: embed;
    font-family: "IBM Plex Sans Arabic", sans-serif;
    font-weight: 700;
    font-style: normal;
}

[dir="rtl"] .text-left {
    text-align: right;
}
label [dir="rtl"] {
    font-size: 16px;
}

[dir="rtl"].font-bold {
    font-family: "IBM Plex Sans Arabic", sans-serif;
    font-weight: 700;
    font-style: normal;
}

[dir="rtl"] .text-right {
    text-align: left;
}

[dir="rtl"] .ml-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}

[dir="rtl"] .mr-auto {
    margin-left: auto !important;
    margin-right: 0 !important;
}

[dir="rtl"] .pl-4 {
    padding-right: 1rem !important;
    padding-left: 0 !important;
}

[dir="rtl"] .pr-4 {
    padding-left: 1rem !important;
    padding-right: 0 !important;
}

.select2-container--default .select2-selection--multiple {
    border-color: #d0d5dd;
    border-radius: 0.5rem;
}

.select2-container--default.select2-container--focus
    .select2-selection--multiple {
    border-color: #d0d5dd;
}

.select2-container .select2-selection--multiple {
    min-height: 44px;
    max-height: 120px;
    overflow-y: auto;
    overflow-x: hidden;
}

.ck.ck-content.ck-editor__editable {
    height: 200px;
}
.very-low {
    background-color: #00b050;
}
.low {
    background-color: #a8d08d;
}
.medium {
    background-color: #ffff00;
}
.high {
    background-color: #ffc000;
}
.critical {
    background-color: #ff0000;
    color: white;
}

/* Select2 checkbox options */
.select2-checkbox-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 2px 0;
}
.select2-checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--color-brand-500, #465fff);
    flex-shrink: 0;
}


.ibm-plex-sans-arabic-light {
    font-family: "IBM Plex Sans Arabic", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.ibm-plex-sans-arabic-regular {
    font-family: "IBM Plex Sans Arabic", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.ibm-plex-sans-arabic-medium {
    font-family: "IBM Plex Sans Arabic", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.ibm-plex-sans-arabic-semibold {
    font-family: "IBM Plex Sans Arabic", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.ibm-plex-sans-arabic-bold {
    font-family: "IBM Plex Sans Arabic", sans-serif;
    font-weight: 700;
    font-style: normal;
}

/** RTL direction styles */
[dir="rtl"] {
    direction: rtl;
    unicode-bidi: embed;
    font-family: "IBM Plex Sans Arabic", sans-serif;
    font-weight: 700;
    font-style: normal;
}

[dir="rtl"] .text-left {
    text-align: right;
}
label [dir="rtl"] {
    font-size: 16px;
}

[dir="rtl"].font-bold {
    font-family: "IBM Plex Sans Arabic", sans-serif;
    font-weight: 700;
    font-style: normal;
}

[dir="rtl"] .text-right {
    text-align: left;
}

[dir="rtl"] .ml-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}

[dir="rtl"] .mr-auto {
    margin-left: auto !important;
    margin-right: 0 !important;
}

[dir="rtl"] .pl-4 {
    padding-right: 1rem !important;
    padding-left: 0 !important;
}

[dir="rtl"] .pr-4 {
    padding-left: 1rem !important;
    padding-right: 0 !important;
}

.select2-container--default .select2-selection--multiple {
    border-color: #d0d5dd;
    border-radius: 0.5rem;
}

.select2-container--default.select2-container--focus
    .select2-selection--multiple {
    border-color: #d0d5dd;
}

.select2-container .select2-selection--multiple {
    min-height: 44px;
    padding-left: 0.5rem;
}

.ck.ck-content.ck-editor__editable {
    height: 200px;
}
.very-low {
    background-color: #00b050;
}
.low {
    background-color: #a8d08d;
}
.medium {
    background-color: #ffff00;
}
.high {
    background-color: #ffc000;
}
.critical {
    background-color: #ff0000;
    color: white;
}

/* Sidebar menu icon dark mode */
body.dark .menu-item-active {
    color: #ffffff !important;
}
body.dark .menu-item-inactive {
    color: #ffffff !important;
}
body.dark .menu-item-icon-active {
    fill: #ffffff !important;
}
body.dark .menu-item-icon-inactive {
    fill: #ffffff !important;
}
body.dark .group:hover .menu-item-icon-inactive {
    fill: #ffffff !important;
}

/* CKEditor dark mode */
body.dark .ck.ck-editor__main>.ck-editor__editable {
    background-color: #111827 !important;
    color: #f3f4f6 !important;
    border-color: #374151 !important;
}
body.dark .ck.ck-toolbar {
    background-color: #1f2937 !important;
    border-color: #374151 !important;
}
body.dark .ck.ck-toolbar__separator {
    background-color: #374151 !important;
}
body.dark .ck.ck-button {
    color: #f3f4f6 !important;
}
body.dark .ck.ck-button:not(.ck-disabled):hover,
body.dark .ck.ck-button.ck-on {
    background-color: #374151 !important;
    color: #ffffff !important;
}
body.dark .ck.ck-icon,
body.dark .ck.ck-icon * {
    color: #f3f4f6 !important;
    fill: #f3f4f6 !important;
}
body.dark .ck.ck-dropdown__panel,
body.dark .ck.ck-balloon-panel {
    background-color: #1f2937 !important;
    border-color: #374151 !important;
}
body.dark .ck.ck-list__item .ck-button {
    color: #f3f4f6 !important;
}
body.dark .ck.ck-list__item .ck-button:hover {
    background-color: #374151 !important;
}
body.dark .ck.ck-input {
    background-color: #111827 !important;
    color: #f3f4f6 !important;
    border-color: #374151 !important;
}

/* Select2 dark mode */
body.dark .select2-selection--multiple {
    background-color: #111827 !important;
    border-color: #1f2937 !important;
}
body.dark .select2-selection__choice {
    background-color: #374151 !important;
    border-color: #4b5563 !important;
    color: #ffffff !important;
}
body.dark .select2-selection__choice__display {
    color: #ffffff !important;
}
body.dark .select2-selection__rendered {
    color: #ffffff !important;
}
body.dark .select2-selection__choice__remove {
    color: #ffffff !important;
}
body.dark .select2-selection__clear {
    color: #ffffff !important;
}
body.dark .select2-search__field {
    background-color: transparent !important;
    color: #f3f4f6 !important;
}
body.dark .select2-dropdown {
    background-color: #111827 !important;
    border-color: #1f2937 !important;
}
body.dark .select2-results__option {
    color: #d1d5db !important;
}
body.dark .select2-results__option--highlighted {
    background-color: #374151 !important;
    color: #f3f4f6 !important;
}

/* FilePond dark mode */
body.dark .filepond--root {
    color: #ffffff;
}
body.dark .filepond--panel-root {
    background-color: #111827;
    border: 1px solid #1f2937;
}
body.dark .filepond--drop-label {
    color: #ffffff;
}
body.dark .filepond--label-action {
    color: #ffffff;
    text-decoration-color: #ffffff;
}
body.dark .filepond--file {
    color: #ffffff;
}
body.dark .filepond--file-action-button {
    color: #ffffff;
}
