body {
    font-family: "Cairo", sans-serif !important;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
a,
span,
label,
option,
select,
.choices__item {
    font-family: "Cairo", sans-serif !important;
}

label {
    /* padding: 0 !important; */
    margin: 0;
}
[dir="rtl"] .boc-checkbox {
    padding-left: unset;
    padding-right: 35px;
}
.choices .choices__list--dropdown .choices__item--selectable,
.choices[data-type*="select-one"] .choices__inner {
    background-color: white !important;
    color: black;
    font-size: 12px !important;
}
.choices .choices__list--dropdown .choices__item--selectable.is-highlighted {
    background-color: #3874ff !important;
}
.choices__list--dropdown .choices__item--selectable.is-highlighted::after,
.choices__placeholder {
    opacity: 1 !important;
}
.theme-wizard
    .nav-item:not(.theme-wizard .nav-item:last-child)
    .nav-link.active_line:before {
    background-color: var(--phoenix-theme-wizard-active-color);
}
.form-label {
    font-size: 0.7rem;
}

.employee_card .date_info {
    position: relative;
}

.employee_card span.span_info {
    background: #e5edff;
    padding: 10px;
    border-radius: 5px;
    position: absolute;
    top: -50px;
}
html.dark .employee_card span.span_info {
    background: #272d3a;
}
.employee_card span.span_info.end_date,
.employee_card span.span_info.start_date {
    bottom: -60px;
    top: unset;
}
html[dir="rtl"] .employee_card span.span_info.end_date {
    left: 0;
}
html[dir="ltr"] .employee_card span.span_info.end_date {
    right: -10px;
}
html[dir="rtl"] .employee_card span.span_info.start_date {
    right: -10px;
}
.employee_card span.span_info.end_date::after,
.employee_card span.span_info.start_date::after {
    top: -47%;
    border-bottom-color: #e5edff;
    border-top-color: transparent;
    left: 5px;
    right: unset;
}
html.dark .employee_card span.span_info.end_date::after,
html.dark .employee_card span.span_info.start_date::after {
    border-bottom-color: #272d3a;
    border-top-color: transparent;
}
.employee_card span.span_info.start_date::after {
    left: unset;
    right: 0%;
}
.employee_card span.span_info::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 0%;
    margin-left: -5px;
    border: 10px solid transparent;
    border-top-color: #e5edff;
}
html[dir="ltr"] .employee_card span.span_info::after {
    right: unset;
    margin-left: 0px;
    margin-right: -5px;
    left: 0%;
}
html[dir="ltr"] .employee_card span.span_info.end_date::after {
    left: unset;
    margin-left: 0px;
    margin-right: -5px;
    right: 5px;
}

html.dark .employee_card span.span_info::after {
    border-top-color: #272d3a;
}

/* start custom dashboard style */

html:not(.dark) main.main {
    background-color: #f2f6ff;
}
@media (min-width: 992px) {
    html:not(.navbar-vertical-collapsed) .navbar-vertical.navbar-expand-lg {
        background-color: #00114f;
        top: 0 !important;
        z-index: 2;
        height: 100vh !important;
        padding-top: 20px;
    }
    html.dark .navbar-vertical.navbar-expand-lg {
        background-color: #141824;
    }
    .navbar-vertical-collapsed .navbar-vertical.navbar-expand-lg,
    .navbar-vertical-collapsed .navbar-vertical.navbar-expand-lg .navbar-vertical-footer{
        background-color: #00114f;
    }
    .navbar-vertical .navbar-vertical-content .navbar-nav .nav-link {
    color: #ccc;
}
}
.navbar.navbar-top {
    /* background-color: #00114f; */
    height: 60px !important;
    /* z-index: 1; */
}

.navbar-vertical .navbar-vertical-content .navbar-nav .nav-link.active,
.navbar-vertical .navbar-vertical-content .navbar-nav .nav-link:hover {
    background-color: #c0d3ff !important;
    border-radius: 50px;
    color: #111;
}

.employee_card .avatar-xl {
    height: 10rem;
    width: 10rem;
}
.employee_card i {
    font-size: 18px;
}
.text-icon {
    color: #517adb;
}

.employee-info-tabs {
    border: #c0d3ff 1px solid !important;
    background-color: #c3d1f5;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    color: #111 !important;
    /* padding: 0 20px !important; */
}
html.dark .employee-info-tabs {
    background-color: transparent;
}
.employee-info-tabs .nav-link {
    padding: 20px 15px !important;
    transition: all 0.3s ease-in-out;
}
.employee-info-tabs ul {
    width: 100%;
}
.employee-info-tabs .nav-link.active {
    color: white;
    border-radius: 50px;
    padding: 20px 15px !important;
    background-color: #0f337e !important;
}
html:not(.dark) .card-header:first-child {
    background-color: rgb(236 241 252) !important;
}
/* end custom dashboard style */

/* start permission page */
.permission_item {
    min-width: 300px;
}
.permission_item .item {
    min-height: 110px;
}
.item_shadow {
    box-shadow: 0 1px 0px 0 rgb(25 25 25 / 13%), 0 0px 10px 0 rgb(0 0 0 / 10%);
}
.permission_icon span {
    opacity: 10%;
    height: 60px;
    width: 60px;
}
/* .check_permission .form-check-input {
    background-color: #cd5e4d;
} */
.check_permission .form-check-input:disabled {
    background-color: #808080;
}

/* .check_permission .form-check-input:checked {
    background-color: #00b010;
} */
.check_permission .child .item {
    border-color: #cd5e4d !important;
}
.check_permission .child .item.disabled svg {
    color: #cd5e4d !important;
}
.check_permission .child .item.disabled {
    border-color: #808080 !important;
}
.check_permission .child .item.disabled svg {
    color: #808080 !important;
}
.check_permission .child .item.checked {
    border-color: #00b010 !important;
}
.check_permission .child .item.disabled svg {
    color: #00b010 !important;
}

.check_permission .child svg {
    right: 5px;
    top: 5px;
    font-size: 20px;
    z-index: 2;
}

/* end permission page */
/* start model */
.modal-header {
    background-color: #00114f;
    /* border-radius: 30px 30px 0 0; */
    padding: 20px;
}
.modal-content {
    /* border-radius: 30px; */
}
.modal-header svg,
.modal-title {
    color: white;
}
.modal-body {
    padding: 30px;
}
.modal-footer button[type="submit"] {
    background-color: #0c278a;
}
.modal-footer button[type="submit"]:hover {
    background-color: #1335b3;
}
/* End model */

/* Start contract style */
.contract {
    border-radius: 30px;
}
.contract_action {
    background-color: #0a1f6b;
    width: 80px;
    border-bottom-right-radius: 30px;
    border-top-right-radius: 30px;
}
html[dir="ltr"] .contract_action {
    border-bottom-left-radius: 30px;
    border-top-left-radius: 30px;
    border-bottom-right-radius: unset;
    border-top-right-radius: unset;
}
.contract_action .icon {
    background-color: #c0d3ff;
    width: 36px;
    height: 36px;
}
.contract_action .icon svg {
    color: #6780d8;
}
.contract_action .icon.active svg {
    color: #0a268a;
}
.contract_info_title {
    font-size: 18px;
}
/* End contract style */

/* Change the background and border color of the select box */
.select2-container--default .select2-selection--single {
    /* border: 2px solid #007bff; */
    border-radius: 8px;
    height: 38px !important;

    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.49;
    color: var(--phoenix-gray-900);
    background-color: var(--phoenix-input-bg);
    background-clip: padding-box;
    border: 1px solid var(--phoenix-input-border-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.375rem;
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0);
    -webkit-transition: border-color 0.15s ease-in-out,
        -webkit-box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out,
        -webkit-box-shadow 0.15s ease-in-out;
    -o-transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out,
        -webkit-box-shadow 0.15s ease-in-out;
}

/* Style the dropdown */
.select2-container--default .select2-dropdown {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Style the search box within the dropdown */
.select2-container--default .select2-search--dropdown {
    background-color: #e9ecef;
    border-radius: 4px;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    padding-right: 20px !important;
}
.select2-container--default,
.select2-container--default * {
    outline: 0 !important;
}
.light-style .select2-container--default .select2-results__option {
    padding-left: 0.875rem;
    padding-right: 0.875rem;
}
.select2-search--dropdown .select2-search__field {
    border: 1px solid #d9dee3;
    border-radius: 0.375rem;
}
.select2-container--default .select2-results__option--highlighted {
    background-color: rgba(67, 89, 113, 0.04);
    color: #697a8d;
}
.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    height: 26px;
    position: absolute;
    top: 10px;
    right: 4px;
    width: 20px;
}
.select2-container--default
    .select2-selection--single
    .select2-selection__clear {
    padding: 0 6px;
}
.select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    line-height: 20px;
}

/* Ensure the Select2 dropdown and input respect RTL */
body[dir="rtl"] .select2-container--default .select2-selection--single {
    text-align: right; /* Align text to the right */
    padding-right: 10px; /* Add some padding to the right */
}

body[dir="rtl"]
    .select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    text-align: right; /* Align the rendered text to the right */
}

/* Style the Select2 dropdown arrow in RTL mode */
body[dir="rtl"]
    .select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    right: auto; /* Move the dropdown arrow to the right */
    left: 4px; /* Remove left alignment */
}

/* Customize the dropdown list (optional) */
html[dir="rtl"] .select2-container--default .select2-dropdown {
    text-align: right; /* Align dropdown items to the right */
}
.asset_title {
    border: 1px solid #c0d3ff !important;
    background-color: #c3d1f5 !important;
    border-radius: 3px !important;
    text-align: center;
    color: #111 !important;
    padding: 10px !important;
    margin: 5px 0 20px;
}
.asset_card .table > thead > tr > th {
    background-color: aliceblue;
}
.asset_card .table .info_name {
    background-color: aliceblue !important;
}
.asset_card .asset_data {
    font-size: 16px;
}
.asset_card .asset_attachment {
    color: #81d5e0;
    font-size: 60px;
}
.custody_attachment {
    color: #81d5e0;
    font-size: 30px;
}
.btn-secondary {
    background-color: #898a8f;
}

/*  */
.check_permission .child .text_checkbox input[type="checkbox"] {
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 2px solid #cd5e4d;
    background-color: white;
    cursor: pointer;
    position: relative;
    font-size: 18px;
    text-align: center;
}

.check_permission .child .text_checkbox input[type="checkbox"]::before {
    content: "❌";
    font-size: 10px;
    color: white; /* اللون الأبيض */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
}

.check_permission .child .text_checkbox input[type="checkbox"]:checked::before {
    content: "✔";
    color: white;
}

.check_permission .child .text_checkbox input[type="checkbox"]:checked {
    background-color: #00b010;
    border-color: #00b010;
}
/* th {
    display: flex;
    align-items: center;
} */