:root {
    --primary-color: #417DF6;
    --secondary-color: #007bff;
    --headEle-color: #1E3B4B;
    --label-color: #334155;
    --input-color: #657475;
    --black-color: #000;
    --border-color: #0000001A;
    --dropdownSide-color: #F0F5FA;
    --item-dropmenu-color: #344054;
    --placeholder-login-color: #667085;
    --titlelogin-color: #535559;
    --desclogin-color: #64708B;
    --edit-color: #FFDD55;
    --link-color: #417DF6;
    --dark-green: #4A5A51;
    --light-gray: #F7F9F8;
    --text-dark: #2C322F;
    --text-gray: #5E6268;
    --pending-color: #FFF9E2;
    --completed-color: #E7FFED;
    --denied-color: #FFF0EF;
    --white: #FFFFFF;
    --ckeckbox-color: #0d6efd;
    --notification-orange: #F5A623;
    --chat-green: #048848;
    --error-red: #FF543E;
    --border-gray: #EAECF0;
    --success-green: #06AB14;
    --warning-yellow: #FFDD55;
    --disabled-red: #B00020;

    /* Fonts */
    --font-primary: "Montserrat", "tajawal", sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 600;
    --font-weight-extra-bold: 700;

    /* Sizes */
    --font-size-small: 12px;
    --font-size-regular: 14px;
    --font-size-medium: 16px;
    --font-size-large: 20px;
    --font-size-xlarge: 24px;
    --padding-standard: 16px;
    --border-radius-small: 8px;
    --border-radius-medium: 12px;
    --border-radius-large: 25px;
    --gap-small: 8px;
    --gap-medium: 12px;
    --gap-large: 16px;

    /* Logo */
    --logo-path: url("../images/logo.png");
    /* Adjust the path to your logo */
    --logo-width: 100px;
    /* Default logo width */
    --logo-height: auto;
}

.mainFlex,
.main_bttn,
.loader-container,
.modal-dialog-centered,
.loginThumb_wrap,
.noti__num,
.login_dropbtn,
.table_icon,
.flex_data,
.more_bttn,
.showSub_table,
.reserve_badge,
.dataTables_wrapper .dataTables_paginate .paginate_button,
.dataTables_wrapper .dataTables_paginate,
.univTH_wrapper,
.buttons_wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex_Start {
    display: flex;
    justify-content: start;
    align-items: start;
}
#parentCategorySelect + .select2 .select2-results__options{
    max-height: 260px; /* عدّلها كما يلزم */
    overflow-y: auto;
}

/* اتساق ارتفاع حقل الاختيار مع تصميمك (48px) */
#parentCategorySelect + .select2 .select2-selection--single{
    height: 48px;
    display: flex;
    align-items: center;
}
#parentCategorySelect + .select2 .select2-selection__rendered{ line-height: 48px; }
#parentCategorySelect + .select2 .select2-selection__arrow{   height: 48px; }

.flex_between,
.dashboard__navbar,
.title_between,
.form_between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.flexColumn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.background_cover {
    background-size: cover !important;
    background-repeat: no-repeat !important;
}
.disabled-notification {
    pointer-events: none;
    opacity: .6;
    cursor: default;
}
/* اجعل disabled notification بنفس شكل clickable بالضبط */
.disabled-notification {
    opacity: 1 !important;
    background-color: transparent !important;
    color: inherit !important;
    cursor: default !important;
    pointer-events: none !important;
}

/* تأكد أن الصورة والحروف تاخد نفس الشكل */
.disabled-notification img {
    opacity: 1 !important;
}

.disabled-notification .notif-title,
.disabled-notification .notif-desc {
    color: inherit !important;
    opacity: 1 !important;
}


.secPadding {
    padding: 80px 0;
}

html {
    scroll-behavior: smooth;
}

body {
    letter-spacing: normal;
    font-family: var(--font-primary) !important;
    overflow-x: hidden !important;
    margin: 0;
    padding: 0;
    background-color: var(--light-gray);
    position: relative;
    direction: rtl !important;
    text-align: right;
}

[dir="ltr"] body {
    direction: ltr !important;
    text-align: left;
}


@font-face {
    font-family: "Montserrat";
    src: url("../fonts/english-font/Montserrat/Montserrat-VariableFont_wght.ttf");
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/english-font/Montserrat/Montserrat-Italic-VariableFont_wght.ttf");
    font-style: italic;
}

@font-face {
    font-family: "tajawal";
    src: url("../fonts/arabic-font/Tajawal/Tajawal-ExtraLight.ttf");
    font-weight: 200;
}

@font-face {
    font-family: "tajawal";
    src: url("../fonts/arabic-font/Tajawal/Tajawal-Light.ttf");
    font-weight: 300;
}

@font-face {
    font-family: "tajawal";
    src: url("../fonts/arabic-font/Tajawal/Tajawal-Regular.ttf");
    font-weight: 400;
}

@font-face {
    font-family: "tajawal";
    src: url("../fonts/arabic-font/Tajawal/Tajawal-Medium.ttf");
    font-weight: 500;
}

@font-face {
    font-family: "tajawal";
    src: url("../fonts/arabic-font/Tajawal/Tajawal-Bold.ttf");
    font-weight: 700;
}

@font-face {
    font-family: "tajawal";
    src: url("../fonts/arabic-font/Tajawal/Tajawal-ExtraBold.ttf");
    font-weight: 800;
}

@font-face {
    font-family: "tajawal";
    src: url("../fonts/arabic-font/Tajawal/Tajawal-Black.ttf");
    font-weight: 900;
}

* {
    letter-spacing: normal;
    font-family: "Montserrat", "tajawal", sans-serif !important;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;
    margin: 0;
}

form,
input {
    direction: rtl !important;
    /*background-position: left calc(.375em + -.3875rem) center !important;*/
    /*padding-right: 1rem !important;*/
}

[dir="ltr"] form,
[dir="ltr"] input {
    direction: ltr !important;
    /*background-position: right calc(.375em + -.3875rem) center !important;*/
    /*padding-right: 1rem !important;*/
}
.table-unified {
    margin-bottom: 0.5rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    letter-spacing: normal;
    font-family: "Montserrat", "tajawal", sans-serif !important;
    text-transform: capitalize;
    color: var(--headEle-color);
    font-weight: var(--font-weight-bold);
    line-height: 28px;
}

a {
    text-decoration: none !important;
    transition: 0.2s;
    -webkit-transition: 0.2s;
    -moz-transition: 0.2s;
    -ms-transition: 0.2s;
    -o-transition: 0.2s;
}

a:hover {
    color: var(--link-color);
}

ul,
ol {
    padding: 0;
    margin: 0;
    list-style: none;
}

iframe,
video {
    max-width: 100%;
    width: 100%;
}

p {
    color: var(--link-color);
    font-size: var(--font-size-regular);
    margin-bottom: 24px;
}

[dir="rtl"] .check-box-gap {
    gap: 60px;
}

[dir="ltr"] .check-box-gap {
    gap: 20px;
}

.sweet-alert-content{
    font-size: 14px !important;
    line-height: 1.2;
}

.error-line {
    margin: 12px 0;
}

.sweet-alert-cancel-btn{
    align-self: start !important;
}
.main_bttn {
    gap: 10px;
    background-color: var(--primary-color);
    height: 43px;
    font-size: var(--font-size-regular);
    font-weight: var(--font-weight-medium);
    text-transform: capitalize;
    padding: 10px 18px;
    width: fit-content;
    color: var(--white);
    border: none;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    overflow: hidden;
}
input.is-invalid:not([type="checkbox"]),
textarea.is-invalid {
    background-image: none !important;
    padding-right: 1rem !important;
}


.form-select.is-invalid{
    --bs-form-select-bg-icon: none !important;
}
.main_bttn:hover {
    color: #fff !important;
    background-color: #B2876B;
}

button:focus {
    outline: none !important;
    box-shadow: none !important;
}

input:focus {
    box-shadow: none;
}

textarea {
    resize: none;
}

.mbttom_12 {
    margin-bottom: 12px !important;
}

.mbttom_14 {
    margin-bottom: 14px !important;
}

.mbttom_16 {
    margin-bottom: 16px !important;
}

.mbttom_20 {
    margin-bottom: 20px !important;
}

.mbttom_24 {
    margin-bottom: 24px !important;
}

.mbttom_32 {
    margin-bottom: 32px !important;
}

.mbttom_40 {
    margin-bottom: 40px !important;
}

.mbttom_50 {
    margin-bottom: 50px !important;
}

.mbttom_36 {
    margin-bottom: 36px !important;
}

.mbttom_80 {
    margin-bottom: 80px !important;
}

.mrgTop_45 {
    margin-top: 45px !important;
}

.dropdown-toggle::after {
    display: none;
}

img {
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
}

[dir="rtl"] .dropdown-menu {
    text-align: right !important;
    left: 0 !important;
}

.provider_form {
    z-index: -1;
}

.notification_list {
    width: 400px;
    border: none;
    z-index: 999999999999;
    background-color: transparent;
    max-height: 400px;
    display: flex;
    flex-direction: column;
}

.notification_list .scrollable-content {
    overflow-y: auto;
    overflow-x: hidden;
    -ms-overflow-style: none;
    scrollbar-color: #D9D9D9 transparent;
}


.notification_list .dropdown-item {
    display: flex;
    align-items: center;
    padding: 15px 15px;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
}

.notification_list .dropdown-item:last-child {
    border-bottom: none;
}

.notification_list .dropdown-item img {
    width: 40px;
    height: 40px;
    margin-left: 10px;
}

[dir='rtl'] .notification_list .notif-content {
    padding: 6px;
}

.notification_list .notif-content {
    display: grid;
    gap: 4px;
    padding: 2px;
}

.notification_list .notif-title {
    font-size: 16px;
    font-weight: bold;
    color: #4a5a51;
    margin-bottom: 2px;
}

.notification_list .notif-desc {
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    color: #757575;
    word-wrap: break-word;
    justify-content: center;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.notification_list .dropdown-header {
    text-align: end;
    padding: 10px;
    color: #4a5a51;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;

}
.un_read {
    background-color: #FAFAFA;
}

.notification_list .dropdown-footer {
    text-align: center;
    padding: 5px;
    font-size: 14px;
    color: #4a5a51;
    font-weight: bold;
    text-decoration: none;
    border-top: 1px solid #f0f0f0;
}

.modal-dialog-centered {
    min-height: calc(100% - 4.5rem);
    display: flex;
    align-items: center;
    justify-content: center;
}

[dir="ltr"] .form_group .abs_iconN {
    left: auto;
    right: 12px;
}

/*** layouts page ***/
.dashboard__wrapper {
    position: relative;
}

.asideMenu_column {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 310px;
    height: 100vh;
    background-color: var(--white);
    padding: 30px 0;
    overflow-y: hidden;
    z-index: 999;
    transform: translateX(0);
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transition: 0.7s;
    -webkit-transition: 0.7s;
    -moz-transition: 0.7s;
    -ms-transition: 0.7s;
    -o-transition: 0.7s;
}

.asideMenu_column .toggle_sidebar {
    position: absolute;
    top: 16px;
    right: 280px;
}

[dir="rtl"] .asideMenu_column {
    right: 0;

}

.login_section {
    overflow-y: auto;
}

body {
    overflow: hidden;
}

[dir="ltr"] .asideMenu_column {
    left: 0;

}

[dir="ltr"] .asideMenu_column .toggle_sidebar {
    left: auto;
    right: 0px;
}

.dashboard__menu {
    padding-bottom: 20px;
    max-height: 100vh;
    overflow-y: auto;
}

.dashboard__menu::-webkit-scrollbar {
    width: 5px;
}
/* توحيد لون الأيقونات في كل السايدبار */
.dashboard__menu .side_lnkCon {
    color: #4667B0 !important;
    font-size: 16px;
}

/* توحيد اللون في عناصر الـ dropdown (sub menu) */
.dashboard__menu .dropdown-menu .dropdown-item .side_lnkCon {
    color: #4667B0 !important;
}

/* لما يكون العنصر Active في submenu */
.dashboard__menu .dropdown-menu .dropdown-item.active .side_lnkCon {
    color: #4667B0 !important;
}

/* لما يتم hover على العنصر */
.dashboard__menu .dropdown-menu .dropdown-item:hover .side_lnkCon {
    color: #ffffff !important;
}
/* تطبيق الـ 3 نقط للعناوين */
.dashboard__menu .menu-title,
.dashboard__menu .dropdown-menu .dropdown-item .menu-title {
    max-width: 180px; /* تقدر تزودها لو عايز */
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}

/* لما أقف عليه بالماوس يظهر tooltip */
.dashboard__menu .menu-title[title]:hover {
    overflow: visible;
    white-space: normal;
    background: #fff;
    padding: 3px 6px;
    border-radius: 4px;
    position: absolute;
    z-index: 9999;
    box-shadow: 0px 2px 6px rgba(0,0,0,0.25);
}
/* قص العناوين إلى 3 نقط */
.menu-title {
    max-width: 300px; /* عدّل الرقم حسب عرض السايدبار */
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}

/* إظهار العنوان كامل عند الـ Hover */
.menu-title:hover {
    position: relative;
}

.menu-title:hover:after {
    content: attr(title);
    position: absolute;
    top: 50%;
    left: 105%;
    transform: translateY(-50%);
    background: #fff;
    color: #333;
    padding: 4px 8px;
    white-space: nowrap;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
    z-index: 999;
}

.dropdown-menu .dropdown-item {
    max-width: 385px;        /* تقدر تزودها حسب عرض السايدبار */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 6px; /* مساحة بين الأيقونة والنص */
}

.dropdown-menu .dropdown-item:hover {
    overflow: visible; /* مهم علشان ما يحصلش كسر */
    white-space: normal;
    height: auto; /* يخلي النص يظهر كامل فوق hover */
}

.sidebar__logo {
    display: block;
    width: 100px;
    margin: auto;
    margin-bottom: 20px;
}

.sidebar__logo img {
    width: 100px;
}

.dashboard__list {
    padding: 30px 11px;
    background-color: var(--white);
}

.side_item .dropdown-menu {
    position: static !important;
    top: auto !important;
    transform: none !important;
    margin-top: 0 !important;
    width: 100%;
    padding: 15px;
    /*background-color: var(--dropdownSide-color);*/
    --bs-dropdown-border-width: none !important;
}

.side_item .side_lnkCon {
    color: #5678BC;
    font-size: 18px;
    font-weight: bold;
}
.dropdown-item .side_lnkCon {
    margin-right: 7px;
}

.side_item .side_SPName {
    font-size: 15px;
    font-weight: 500;
    color: var(--label-color);
    display: inline-block;
    max-width: 160px; /* اضبطها حسب عرض الـ sidebar */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}


.dropdown-menu.show {
    display: block;
    /* Ensure dropdown is visible */
}

.side_item .dropdown-menu .dropdown-item {
    font-weight: 500;
    font-size: 15px;
    position: relative;
    bottom: 10px;
    color: var(--item-dropmenu-color) !important;
    border: none;
    width: 240;
    height: 40;
    border-radius: 4px;
    padding-top: 8px;
    padding-right: 16px;
    padding-bottom: 8px;
    padding-left: 16px;
    /* padding-inline-start: 40px; */
}
.side_link:hover dropdown-toggle active{
    background-color: var(--primary-color);
}
.side_item .dropdown-menu .dropdown-item:hover {
    background-color: var(--primary-color);
    color: var(--dropdownSide-color) !important;
}

.side_item.active,
.side_item .dropdown.active {
    background-color: var(--dropdownSide-color);
    color: var(--primary-color) !important;
}

.side_item.active .side_link .side_SPName,
.side_item.active .side_link .side_lnkCon {
    color: var(--label-color) !important;
}

.side_item.active:hover .side_link .side_SPName,
.side_item.active:hover .side_link .side_lnkCon {
    color: white !important;
}



.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--dropdownSide-color);
    color: var(--dropdownSide-color) !important;
}

.side_item.active .dropdown-menu {
    background-color: white;
    /*border-top: 3px solid #DAE7F4 !important;*/
}


[dir="rtl"] .side_item.active .side_link.dropdown-toggle::before {
    border-bottom-color: var(--primary-color) !important;
    border-left-color: var(--primary-color) !important;
}

[dir="ltr"] .side_item.active .side_link.dropdown-toggle::before {
    border-bottom-color: var(--primary-color) !important;
    border-right-color: var(--primary-color) !important;
}

.side_link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--label-color);
    font-size: 15px;
    font-weight: 400;
    transition: 0.5s;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -ms-transition: 0.5s;
    -o-transition: 0.5s;
    text-transform: capitalize;
    padding: 10px 12px;
    margin-bottom: 8px;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
    border: 3px solid transparent;
}

.side_link.dropdown-toggle::before {
    content: '';
    border-color: transparent;
    border-style: solid;
    border-width: 2px;
    border-bottom: 2px solid var(--label-color);
    border-left: 2px solid var(--label-color);
    height: 9px;
    left: 12px;
    position: absolute;
    top: 17px;
    width: 9px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
}

.side_link.dropdown-toggle.show::before {
    border-bottom: 2px solid var(--label-color);
    border-left: 2px solid var(--label-color);
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
}

.side_link.dropdown-toggle.active_link::before {
    border-bottom: 2px solid var(--label-color);
    border-right: 2px solid var(--label-color);
}

[dir="ltr"] .side_link.dropdown-toggle::before {
    border-color: transparent;
    border-style: solid;
    border-width: 2px;
    border-bottom: 2px solid var(--label-color);
    border-right: 2px solid var(--label-color);
    /* Change to right border to flip the arrow */
    left: auto;
    right: 12px;
    transform: rotate(-45deg);
    /* Rotate to point left */
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
}

[dir="ltr"] .side_link.dropdown-toggle.show::before {
    border-bottom: 2px solid var(--label-color);
    border-right: 2px solid var(--label-color);
    /* Keep right border for open state */
    transform: rotate(45deg);
    /* Rotate to point down (open state) */
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
}

[dir="ltr"] .side_link.dropdown-toggle.active_link::before {
    border-bottom: 2px solid var(--label-color);
    border-left: 2px solid var(--label-color);
    /* Flip to left for LTR */
}


.side_link:focus {
    border: 3px solid rgba(255, 255, 255, 0.2);
}
.side_link:hover{
    background-color: var(--primary-color);
}
.side_link:hover span{
    color: white;
}
.dashboard__container {
    min-height: 100vh;
}

.dashboard__navbar {
    gap: 12px;
    width: 100%;
    background-color: var(--white);
    padding: 16px 20px;
}

.navButtons_flex {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mrST_auto {
    margin-inline-start: auto;
}

.notif__link {
    display: inline-flex;
    width: 24px;
    height: 24px;
    position: relative;
    color: var(--primary-color);
}

.noti__num {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background-color: var(--notification-orange);
    color: var(--white);
    font-size: var(--font-size-regular);
    font-weight: var(--font-weight-extra-bold);
    position: absolute;
    top: -6px;
    right: -10px;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
}

.chat__num {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background-color: var(--chat-green);
    color: var(--white);
    font-size: var(--font-size-regular);
    font-weight: var(--font-weight-extra-bold);
    position: absolute;
    top: -6px;
    right: -10px;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
}

.login_dropbtn_menu {
    font-family: 'STC-Regular', sans-serif;
    min-width: 40px;
    height: 40px;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-dark);
    background-color: var(--white);
    border: none;
}

.login_dropbtn {
    font-family: 'STC-Regular', sans-serif;
    min-width: 40px;
    height: 40px;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-dark);
    background-color: #F9F8F7;
    border: 1px solid rgba(178, 135, 107, 0.2);
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
}
.language-toggle {
    display: flex;
    align-items: center;
    background-color: var(--white);
    border-radius: 25px;
    border: 1px solid #ccc;
    width: 80px;
    position: relative;
    padding: 2px;
    top: 20px;
    right: 0px;
}

.language-btn {
    background: none;
    border: none;
    color: var(--black-color);
    font-size: 16px;
    padding: 5px;
    cursor: pointer;
    z-index: 1;
    width: 40px;
    text-align: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.language-btn.active {
    background-color: #007bff; /* Blue circle */
    color: var(--white);
    pointer-events: none;
    cursor: default;
}

.slider {
    position: absolute;
    background-color: var(--primary-color);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.slider.en {
    transform: translateX(4px);
}

.slider.ar {
    transform: translateX(-45px);
}

.active_switch {
    color: #F9F8F7;
    background-color: #2C322F;
}

.user_NInfo {
    text-align: end;
}

.user_NInfo .user_name {
    color: #505050;
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-bold);
    margin-bottom: 2px;
}

.user_NInfo .user_job {
    color: #BBB;
    text-align: right;
    font-size: var(--font-size-small);
    font-weight: var(--font-weight-bold);
}

.tNot_icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.dropUser__img {
    width: 32px;
    height: 32px;
    border-radius: 32px;
    -webkit-border-radius: 32px;
    -moz-border-radius: 32px;
    -ms-border-radius: 32px;
    -o-border-radius: 32px;
}

.dropdown-toggle::after {
    display: none;
}

.filter_section .form-select {
    height: 41px;
    padding: 6px 12px;
    margin: 1px auto;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    color: var(--input-color);
    line-height: 1.5;
}

html[dir="rtl"] .back_button {
    transform: rotate(0deg);
}

html[dir="ltr"] .back_button {
    transform: rotate(180deg);
}

html[dir="rtl"] .rotate_button {
    transform: rotate(180deg);
    color: #98A2B3;
    width: 15px;
    height: 15px;

}

html[dir="ltr"] .rotate_button {
    transform: rotate(0deg);
    color: #98A2B3;
    width: 15px;
    height: 15px;

}

.breadcrumb-link-home {
    color: #6c757d;
    text-decoration: none;
}

.breadcrumb-link-home:hover {
    text-decoration: underline;
    color: #495057;
}


.dashInner__container {
    height: 92vh;
    overflow-y: auto;
    padding: 25px;
}

.dashInner__container::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background-color: var(--white);
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
}

.dashInner__container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
}

.dashInner__container::-webkit-scrollbar-thumb:window-inactive {
    background: var(--primary-color);
}

.teft-section * {
    font-family: "tajawal", sans-serif !important;
}

.blue-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, #4a90e2 100%);
}

.icon-circle {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-in-out;
}

.social-icon i {
    color: var(--primary-color);
}

.social-icon:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

/* Hover effects for social media icons */
.bi-instagram:hover,
.bi-facebook:hover,
.bi-linkedin:hover {
    opacity: 0.8;
    transform: scale(1.1);
    transition: all 0.2s ease-in-out;
}

.teft-section {
    background: url(../images/auth/loginbg.png) no-repeat;
    background-size: cover;
    background-position: center;
}

.teft-section h1.display-4 {
    font-size: 55px;
    font-weight: var(--font-weight-medium);
    color: var(--white);
    line-height: 150%;
    margin-bottom: 3rem;
    display: flex;
    justify-content: center !important;
    align-items: center;
}

.title_leftSection {
    color: var(--white);
    font-size: var(--font-size-xlarge);
    font-weight: var(--font-size-medium);
    line-height: 150%;
}

.input-with-icon {
    position: relative;
}

.input-with-icon input {
    border-radius: 8px;
    border: 1px solid #ddd;
    height: 50px;
    font-size: var(--font-size-medium);
}

[dir="rtl"] .input-with-icon .scan-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    cursor: pointer;
    font-size: var(--font-size-large);
}

.footer_leftSection {
    color: var(--white);
    font-size: var(--font-size-medium);
    font-weight: var(--font-weight-medium);
    line-height: 150%;
}

.form-control[type="number"]::-webkit-inner-spin-button,
.form-control[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.form-label {
    color: var(--item-dropmenu-color);
    font-size: var(--font-size-medium);
    font-weight: var(--font-weight-medium);
    line-height: 20px;
}

.form-control::placeholder {
    color: var(--placeholder-login-color) !important;
    font-size: var(--font-size-regular) !important;
    font-weight: var(--font-weight-regular) !important;
    line-height: 24px;
}

.login_title {
    color: var(--titlelogin-color);
    font-size: var(--font-size-xlarge);
    font-weight: var(--font-weight-medium);
    line-height: 38px;
}

.login_desc {
    color: var(--desclogin-color);
    font-size: var(--font-size-regular);
    font-weight: var(--font-weight-regular);
    line-height: 24px;
}

.pop_success_change {
    color: #101828;
    font-size: 28px;
    font-weight: var(--font-weight-medium);
}

.text-forget {
    color: var(--primary-color);
    font-size: var(--font-size-medium);
    font-weight: var(--font-weight-medium);
    line-height: 20px;
}

.benefits-list .d-flex {
    margin-bottom: 2rem;
}

.save-btn {
    width: 110px;
    height: 40px;
    color: var(--white);
    background-color: var(--primary-color);
    border-radius: 8px;
    border: none;
}

.cancel-btn {
    width: 106px;
    height: 40px;
    text-align: center;
    line-height: 38px;
    color: var(--primary-color);
    background-color: var(--white);
    border-radius: 8px;
    border: 1px solid var(--primary-color);
}

/* Form control focus states */
.form-control:focus {
    border-color: var(--link-color);
    box-shadow: 0 0 0 0.25rem rgba(65, 113, 246, 0.25);
}

/* Button hover state */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #3567d4;
    border-color: #3567d4;
}

input[type="password"]::-ms-reveal,
input[type="password"]::-webkit-textfield-decoration-container {
    display: none !important;
}

.password-toggle-icon {
    position: absolute;
    transform: translateY(-50%);
    color: #949494;
    cursor: pointer;
    font-size: 13px;
    user-select: none;
}

[dir="ltr"] .password-toggle-icon {
    position: absolute !important;
    right: 9.5px !important;
    top: 1.5rem !important;
    pointer-events: auto; /* optional if click needed */
    z-index: 10;
}

[dir="rtl"] .password-toggle-icon {
    position: absolute !important;
    left: 9.5px !important;
    top: 1.5rem !important;
    pointer-events: auto; /* optional if click needed */
    z-index: 10;
}

.otp-inputs {
    gap: 2px;
    direction: ltr !important;
    display: flex;
    justify-content: center;
}

.otp-box {
    width: 80px;
    height: 80px;
    font-size: 30px;
    font-weight: bold;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #101828;
    background-color: #fff;
    padding: 0;
    text-align: center !important;
}

.otp-box:focus {
    outline: none;
    border-color: #4171f6;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border-bottom: none;
    padding: 15px 20px;
    display: flex;
}

.warning-icon {
    width: 40px;
    height: 40px;
    background-color: #ffe6e6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dc3545;
    font-size: 1.5rem;
}

.content_data {
    margin-inline-start: 12px;
    margin-top: 20px;
}

.modal-text {
    font-size: var(--font-size-regular);
    color: var(--placeholder-login-color);
    font-weight: var(--font-weight-regular);
    line-height: 1.5;
}

.modal-footer {
    border-top: none;
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-cancel {
    background-color: var(--white);
    border: 1px solid #ced4da;
    color: #333;
    padding: 10px 70px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
}

.btn-cancel:hover {
    background-color: #f8f9fa;
}

.btn-delete {
    background-color: #dc3545;
    border: none;
    color: var(--white);
    padding: 10px 70px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
}

.btn-delete:hover {
    background-color: #c82333;
    color: var(--white);
}
.btn-agree {
    background-color: #417df6;
    border: none;
    color: var(--white);
    padding: 10px 70px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
}

.btn-agree:hover {
    background-color: #417df6;
    color: var(--white);
}

.form-select {
    --bs-form-select-bg-img: url("../images/icons/CaretDown.png") !important;
    /*font-size: var(--font-size-regular);*/
    font-size: 1.25rem;
    font-weight: 400;
    height: 41px;
    min-height: unset;
    line-height: 1.5;
    text-overflow: ellipsis;
}

/* LTR */
[dir="ltr"] .form-select {
    background-position: right 0.75rem center !important;
    padding: 6px 30px 6px 12px !important;
    direction: ltr;
    height: 46px;
    font-size: 18px;
    text-align: left;
}

/* RTL */
[dir="rtl"] .form-select {
    background-position: left 0.75rem center !important;
    padding: 6px 12px 6px 30px !important;
    direction: rtl;
    height: 46px;
    font-size: 18px;
    text-align: right;
}



.form-select:invalid {
    color: var(--placeholder-login-color) !important;
    font-size: var(--font-size-regular) !important;
    font-weight: var(--font-weight-regular) !important;
    line-height: 24px;
}

 .form-select:has(> option[disabled][hidden][value=""]:checked) {
     color: var(--placeholder-login-color) !important;
     font-size: var(--font-size-regular) !important;
     font-weight: var(--font-weight-regular) !important;
     line-height: 24px;
     font-style: italic;
 }

 /*لما يبقى فيه قيمة فعلية مختارة*/
/*.form-select:has(> option:not([value=""]):checked) {*/
/*    color: inherit;*/
/*    font-size: inherit;*/
/*    font-weight: inherit;*/
/*    font-style: normal;*/
/*}*/

 /*Fallback اختياري: لو خلت الـ select required والـ placeholder قيمته ""*/
/*.form-select:invalid {*/
/*    color: var(--placeholder-login-color) !important;*/
/*    font-size: var(--font-size-regular) !important;*/
/*    font-weight: var(--font-weight-regular) !important;*/
/*    line-height: 24px;*/
/*    font-style: italic;*/
/*}*/



.form-select option[selected][disabled] {
    color: var(--placeholder-login-color) !important;
    font-size: var(--font-size-regular) !important;
    font-weight: var(--font-weight-regular) !important;
    line-height: 24px;

}
select {
    max-width: 100% !important;       /* Restrict to parent/container width */
    height: 48px !important;          /* Matches your example */
    overflow: hidden !important;      /* Prevents select box overflow */
    text-overflow: ellipsis !important;
    white-space: nowrap !important;   /* Prevent text wrapping in the select box */
}

/* Apply to all options inside select */
select option {
    white-space: nowrap !important;   /* Prevent line breaks */
    overflow-x: scroll !important;      /* Allows horizontal scrolling (where supported) */
    display: block !important;        /* Ensures scrolling can occur */
    max-width: 100% !important;       /* Prevents option from expanding select width */
}
.form-select:not(:has(option:disabled[selected])) {
    color: #000 !important;
    border-radius: 5px;
    /*min-width: max-content;*/
}


/* Responsive adjustments */
@media (max-width: 768px) {

    .display-4 {
        font-size: 1.5rem;
    }
    .header-actions,
    .topbar-actions{
        display: flex !important;
        align-items: center;
        gap: 8px;
    }

    .teft-section {
        padding: 2rem 1.5rem;
    }

    .social-icon {
        width: 35px;
        height: 35px;
    }

    .form-control-lg {
        padding: 0.75rem 1rem;
    }

    .btn-primary {
        padding: 0.75rem 1rem;
    }
}

/* Additional spacing fix for RTL */
@media (max-width: 576px) {
    .teft-section {
        padding: 1.5rem 1rem;
    }

    .display-4 {
        font-size: 1.5rem !important;
    }

    .w-75 {
        width: 95% !important;
    }
}

.buttons_wrapper {
    width: fit-content;
    gap: 8px;
    margin-top: 8px;
}

.original_uloader {
    height: 70px;
}

.image-uploader {
    top: -44px;
    border: none;
    overflow: hidden;
    padding-top: 54px;
}

.image-uploader .upload-text {
    opacity: 0;
}

.bodyCont_wrapper {
    background-color: var(--white);
}

.bodyInner_row .col {
    text-align: center;
    color: #606A64;
    background-color: var(--white);
    font-size: 13px;
    font-weight: 500;
    line-height: normal;
    padding: 12px 16px;
    align-content: center;
    border: none !important;
    border-bottom: 4px solid #f7f9f8 !important;
}

[dir="ltr"] .form-select {
    background-position: right .75rem center !important;
}

.noTable_data {
    padding: 20px;
    text-align: center;
}

[dir="ltr"] .addProv_bttn svg,
[dir="ltr"] .paginate_button svg {
    transform: scalex(-1);
    -webkit-transform: scalex(-1);
    -moz-transform: scalex(-1);
    -ms-transform: scalex(-1);
    -o-transform: scalex(-1);
}

[dir="ltr"] .side_link.dropdown-toggle::before {
    left: auto;
    right: 12px;
}

/*** media query screens ***/
@media (max-width: 767px) {

    [dir="rtl"] .asideMenu_column .toggle_sidebar {
        right: 10px;
        left: auto;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1170px;
    }
}

@media (min-width: 1900px) {
    .container {
        max-width: 1760px;
    }
}

@media (min-width: 992px) {
    .desktop__none {
        display: none;
    }

    .dashboard__container {
        margin-inline-start: 290px;
        transition: 0.7s;
        -webkit-transition: 0.7s;
        -moz-transition: 0.7s;
        -ms-transition: 0.7s;
        -o-transition: 0.7s;
    }

    .dashboard__container.wideDash_container {
        margin-inline-start: 60px;
    }

    .dataBttns_wrap {
        padding-inline-start: 368px;
    }

    .asideMenu_column.collapsed_menu {
        width: 69px;
    }


    .asideMenu_column.collapsed_menu .sidebar__logo {
        display: none;
    }

    .asideMenu_column.collapsed_menu .side_link {
        justify-content: center;
    }

    .asideMenu_column.collapsed_menu .side_link .side_SPName {
        display: none;
    }

    .asideMenu_column.collapsed_menu .side_link.dropdown-toggle::before {
        display: none;
    }

    .asideMenu_column.collapsed_menu .service_bttn {
        display: none;
    }
}

/*** medium secreens ***/
@media (max-width: 991.98px) {
    [dir="rtl"] .asideMenu_column {
        transform: translateX(290px);
    }

    [dir="ltr"] .asideMenu_column {
        transform: translateX(-290px);
    }

    .mob-overlay {
        position: fixed;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.2);
        width: 100%;
        height: 100%;
        z-index: 99;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        -ms-transition: all 0.3s;
        -o-transition: all 0.3s;
    }

    .mob-overlay.active {
        opacity: .85;
        visibility: visible;
    }

    .dMobe_noe {
        display: none;
    }

    .loginIntro_Aside {
        padding: 146px 20px;
    }

    .loginIntro_Aside::before,
    .loginIntro_Aside::after {
        display: none;
    }

    .loginThumb_wrap {
        min-height: 60vh;
        padding: 20px;
    }
    .toggle_sidebar.login_dropbtn_menu{
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        width: 36px; height: 36px;
        margin-left: 8px;
        z-index: 1000;
    }


    .mainG_logo,
    .mainG_logo img {
        width: 200px;
    }


    .login_cardN {
        padding: 24px 10px;
    }

    .toggle__sidebar {
        top: 10px;
    }


    .table__responsive {
        overflow-x: auto;
    }

    .dataTables_wrapper .dataTables_filter {
        position: unset;
        margin-top: 0;
        margin-bottom: 12px;
        width: 100%;
    }

    .dataTables_wrapper .dataTables_filter label,
    .dataTables_wrapper .dataTables_filter input {
        width: 100%;
    }

    .dataBttns_wrap {
        justify-content: center;
    }

    .asideMenu_column {
        transform: translateX(255px);
        -webkit-transform: translateX(255px);
        -moz-transform: translateX(255px);
        -ms-transform: translateX(255px);
        -o-transform: translateX(255px);
    }

    .asideMenu_column.collapsed_menu {
        transform: translateX(0);
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -ms-transform: translateX(0);
        -o-transform: translateX(0);
    }

    .collHidden_table {
        padding: 160px 60px;
        overflow-x: auto;
    }

    .collHidden_table::before {
        width: 760px;
    }

    .collHidden_table .inner_table {
        width: 600px;
    }

    .logo_link {
        margin-bottom: 40px;
    }
}

/*** mobile secreens ***/
@media (max-width: 767.98px) {
    .has_account {
        margin-bottom: 32px;
    }

    .orderMid_1st {
        order: 0;
    }

    .dropdown-menu {
        position: absolute;
        inset: 0px 0px auto auto;
        margin: 0px;
    }

    .orderMid_2nd {
        order: 1;
    }

    .asideBar_wrap {
        margin-bottom: 16px;
    }

    .uniWide_cardN {
        margin-bottom: 16px;
    }

    .asideChat_column {
        margin-bottom: 16px;
    }
}

/*** small secreens ***/
@media (max-width: 575.98px) {
    .dashboard__navbar {
        flex-wrap: wrap;
    }

    .editPro_bttn {
        top: 8px;
        right: 8px;
    }
}

.heading_title h5 {
    font-size: var(--font-size-large);
    color: #484848;
    font-weight: 700;
    font-family: "tajawal" !important;
}

.white_block {
    background-color: var(--white);
    border-radius: 12px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
    padding: 20px;
    border: 1px solid #F1F5F3;
    box-shadow: 5px 5px 20px 0px #BBC9C129;
    /*min-width: fit-content;*/
}
@media (max-width: 576px) {
    .white_block {
        min-width: 100%;
    }
}
@media (max-width: 991px) {
    .most-sales .progress-bar {
        .white_block {
            min-width: 100%;
        }
    }
}
.profile-card {
    margin: 20px auto;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.avatar-container {
    width: 100%;
    height: 150px;
    background-image: url(../images/bg-profile.png);
    background-size: cover;
    background-position: center;
    border-radius: 15px 15px 0 0;
    position: relative;
    margin-bottom: 60px;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid var(--white);
}

.avatar-icon {
    width: 60px;
    height: 60px;
    fill: #666;
}

.camera-icon {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background-color: var(--white);
    border-radius: 50%;
    padding: 5px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.camera-icon svg {
    width: 20px;
    height: 20px;
    fill: #666;
}

.discForm_group {
    position: relative;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.nav-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.nav-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.title {
    font-weight: bold;
    color: #1d2021;
    font-size: 1.25rem;
    line-height: 2.5rem;
    padding-top: 0.375rem;
    padding-bottom: 0;
}

.breadcrumb-container {
    display: flex;
    align-items: center;
    gap: 6px;
}

.breadcrumb-item {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #4A5254;
}

.breadcrumb-link {
    color: #417DF6;
    text-decoration: none;
}

.breadcrumb-link:hover {
    text-decoration: underline;
}

.icon-rotate {
    color: #98A2B3;
    transform: rotate(180deg);
    width: 15px;
    height: 15px;
}

.action-button {
    width: 26px;
    height: 26px;
    background-color: white;
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-button:hover {
    background-color: #f8f9fa;
}

.action-button .back_button {
    color: #657475;
    font-size: 16px;
}

.actions_header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.add-btn {
    background-color: #417df6;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Tajawal', sans-serif;
    font-size: 0.875rem;
}

@media (max-width: 1370px) {
    .add-btn {
        padding: 0.5rem 0.5rem;
        font-size: 13px;
    }

}

@media (max-width: 991px) {
    .most-sales .progress-bar {
        padding: 0.5rem 0.5rem;
        font-size: 13px;
    }
}

/* Mobile screens (≤ 576px) */
@media (max-width: 576px) {
    .most-sales .progress-bar {
        padding: 0.5rem 0.5rem;
        font-size: 13px;
    }
}
.archive-btn {
    background-color: #d10b2b;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Tajawal', sans-serif;
    font-size: 0.875rem;
}

.add-btn:hover {
    background-color: #356ac3;
}

.btn_filter {
    border: 1px solid #417DF6;
    border-radius: 8px;
}

.collapse_filter .card {
    border: none !important;
    padding: 0;
}

.action-icon {
    width: 24px;
    height: 24px;
}

[dir="ltr"] .breadcrumb-item + .breadcrumb-item::before {
    float: left;
}

.title_between {
    align-items: flex-start;
    gap: 8px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.table_icon {
    min-width: 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    background-color: #4A5A51;
    margin-inline-end: 8px;
}

.table_icon.dark_bki {
    background-color: #2C322F;
}

.flex_data {
    justify-content: flex-start;
    gap: 8px;
}

table.dataTable.display tbody tr.even > .sorting_1,
table.dataTable.order-column.stripe tbody tr.even > .sorting_1,
table.dataTable.display tbody tr.odd > .sorting_1,
table.dataTable.order-column.stripe tbody tr.odd > .sorting_1 {
    background-color: #fff;
}

table.dataTable.display tbody tr:hover > .sorting_1,
table.dataTable.order-column.hover tbody tr:hover > .sorting_1 {
    background-color: #fff;
}

table.dataTable.no-footer {
    border-bottom: none;
}

table.dataTable,
table.dataTable th,
table.dataTable td {
    border: none;
}

table.dataTable thead th,
table.dataTable thead td {
    text-align: center;
    color: #2C322F;
    font-size: 13px;
    font-weight: 600;
    line-height: normal;
    text-transform: capitalize;
    border: none;
    background-color: #F7F9F8;
    padding: 12px;
    align-content: center;
    min-width: 57px;
}

table.dataTable thead th a,
table.dataTable thead td a {
    color: #879196;
}

table.dataTable tbody td {
    text-align: center;
    color: #606A64;
    font-size: 13px;
    font-weight: 500;
    line-height: normal;
    padding: 12px 16px;
    align-content: center;
    border: none !important;
    border-bottom: 4px solid #f7f9f8 !important;
    min-width: 57px;
}

table.dataTable tbody td.dataTables_empty {
    color: #969696;
    font-size: 14px;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -0.325px;
    text-align: center !important;
    padding-top: 40px;
}

table.dataTable tbody td a {
    color: #879196;
}

.datadisabled_bttn {
    color: #fff !important;
    background: #b00020 !important;
    border: 1px solid #b00020 !important;
    border-radius: 8px !important;
    -webkit-border-radius: 8px !important;
    -moz-border-radius: 8px !important;
    -ms-border-radius: 8px !important;
    -o-border-radius: 8px !important;
    padding: 0 14px;
    height: 34px;
    font-size: 14px;
    font-weight: 500;
}

.dataPrint_bttn {
    color: #B2876B !important;
    background: transparent !important;
    border: 1px solid #B2876B !important;
    border-radius: 8px !important;
    -webkit-border-radius: 8px !important;
    -moz-border-radius: 8px !important;
    -ms-border-radius: 8px !important;
    -o-border-radius: 8px !important;
    padding: 0 14px;
    height: 34px;
    font-size: 14px;
    font-weight: 500;
}

.dataPrint_bttn:hover {
    background: #4A5A51 !important;
    color: #fff !important;
}

.more_bttn {
    min-width: 32px;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    background: rgba(151, 151, 151, 0.1);
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    border: none;
}

.table__dropdown .dropdown-menu {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.table__dropdown .dropdown-item {
    color: #879196;
    font-size: 13px;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -0.325px;
    padding: 8px 16px;
}

.showSub_table {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    cursor: pointer;
}

.tab_thumbN {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

.form_check {
    width: 16px;
    height: 16px;
    opacity: 0.2;
}

.form_check:checked {
    opacity: 1;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    display: inline-flex;
    width: 24px;
    height: 24px;
    padding: 0;
    margin: 0 5px;
    font-size: 13px;
    font-weight: 600;
    line-height: normal;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    color: #4A5A51 !important;
    background-color: transparent !important;
    border: 1px solid #B5B5C3 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.next,
.dataTables_wrapper .dataTables_paginate .paginate_button.previous {
    font-size: 10px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
    background: transparent !important;
    border: none !important;
    color: #4A5A51;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background-color: #4A5A51 !important;
    color: #fff !important;
    border: 1px solid #4A5A51 !important;
}

.dataTables_wrapper .dataTables_paginate {
    float: none;
    gap: 8px;
    padding: 0;
}

.accordion-item {
    border: 0;
    border-radius: 12px !important;
    -webkit-border-radius: 12px !important;
    -moz-border-radius: 12px !important;
    -ms-border-radius: 12px !important;
    -o-border-radius: 12px !important;
}

.accordion-item:not(:last-of-type) {
    margin-bottom: 8px;
}

.go-top {
    position: fixed;
    right: 10px;
    display: none;
    width: 50px;
    height: 50px;
    background: #4A5A51;
    color: #fff;
    text-align: center;
    bottom: 10px;
    z-index: 99;
    line-height: 46px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.go-top:hover {
    background-color: #000;
    color: #fff;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    color: #484848;
    padding-right: 8px
}

@media (max-width: 991px) {
    .card-title {
        font-size: 18px;
        font-weight: 700;
        color: #484848;
        padding-right: 8px
    }
}

/* Mobile screens (≤ 576px) */
@media (max-width: 576px) {
    .card-title {
        font-size: 18px;
        font-weight: 700;
        color: #484848;
        padding-right: 8px
    }
}

.select_home {
    border: 1px solid #417DF61A;
    border-radius: 8px;
}

.most-sales .progress-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.3rem;
}

.most-sales .progress {
    flex: 1;
    height: 60px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    border-radius: 0.25rem;
}

.most-sales .progress-bar {
    background-color: #EFF2F9;
    color: #111827;
    display: flex;
    justify-content: space-between;
    padding: 8px 1rem;
}

@media (max-width: 1370px) {
    .most-sales .progress-bar {
        background-color: #EFF2F9;
        color: #111827;
        display: flex;
        min-width: fit-content;
        justify-content: space-between;
        padding: 8px 4px;
    }
}

@media (max-width: 991px) {
    .most-sales .progress-bar {
        background-color: #EFF2F9;
        color: #111827;
        display: flex;
        min-width: fit-content;
        justify-content: space-between;
        padding: 8px 4px;
    }
}

/* Mobile screens (≤ 576px) */
@media (max-width: 576px) {
    .most-sales .progress-bar {
        background-color: #EFF2F9;
        color: #111827;
        display: flex;
        min-width: fit-content;
        justify-content: space-between;
        padding: 8px 4px;
    }
}

.most-sales .button-container {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.most-sales .item-value {
    text-align: start;
    font-size: 14px;
    min-width: 50px;
}

.most-sales .percent-value {
    font-size: 14px;
    min-width: 50px;
    text-align: end;
}

@media (max-width: 991px) {
    .most-sales .percent-value {
        font-size: 14px;
        min-width: 50px;
        text-align: end;
    }
}

/* Mobile screens (≤ 576px) */
@media (max-width: 576px) {
    .most-sales .percent-value {
        font-size: 14px;
        min-width: 38px;
        text-align: end;
    }
}

/* RTL Support for Arabic */
.most-sales[dir="rtl"] .header {
    flex-direction: row-reverse;
}

.most-sales[dir="rtl"] .progress-container {
    flex-direction: row-reverse;
}

.most-sales[dir="rtl"] .progress {
    flex-direction: row-reverse;
}

.most-sales[dir="rtl"] .heading_title {
    text-align: right;
}

.table-responsive-home {
    border: 1px solid #EAECF0;
    border-radius: 25px;
    overflow: scroll;
}
@media (min-width: 992px) {
    .equal-height-row > .col-lg-6 {
        display: flex;
        flex-direction: column;
    }

    .white_block {
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .white_block .container,
    .white_block .card-body {
        flex: 1;
        display: flex;
        flex-direction: column;
    }
}
.tablehome {
    margin-bottom: 0;
    width: 100%;
    text-align: center;
}

.tablehome thead th {
    background-color: #EFF2F9;
    border: none;
    color: #657475;
    padding: 1rem;
    font-weight: 400;
    font-size: 16px;
}

.tablehome tbody td {
    border-color: #eaecf0;
    padding: 1rem;
    font-weight: 400;
    font-size: 16px;
}

.store_year td {
    color: #657475;
}

.tablehome tbody tr:last-child td {
    border-bottom: none;
}

.tablehome tbody td:first-child {
    font-weight: 500;
}

small.text-muted {
    font-weight: 400;
    font-size: 12px;
    color: Gray/400;
    display: inline-block;
    min-height: 33px !important;
    padding: 0 5px;
}

.table-responsive-product {
    border: 1px solid #EAECF0;
    border-radius: 12px;
}

.table-responsive-product .table {
    margin-bottom: 0;
    text-align: center;
    justify-content: center;
}

.table-responsive-product .table thead th {
    color: #667085;
    padding: 1rem;
    line-height: 16px;
    font-weight: 500;
    font-size: 14px;
}

.table-responsive-product .table tbody td {
    border-color: #eaecf0;
    padding: 1rem;
    color: #657475;
    line-height: 16px;
    font-size: 14px;
    font-weight: 400;
    vertical-align: middle;
}

.btn_plus {
    width: 16px;
    height: 16px;
    border-radius: 5px;
    border: 1px solid #417DF6;
    background-color: #fff;
    color: #417DF6;
    display: flex;
    justify-content: center;
    align-items: center;
}

#productTableBody i {
    font-size: 9px;
}

.btn_minus {
    width: 16px;
    height: 16px;
    border-radius: 5px;
    border: 1px solid #FF543E;
    background-color: #fff;
    color: #FF543E;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn_minus .disabled {
    border: 1px solid #E7E7E7;
    background-color: #fff;
    color: #E7E7E7;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;

}

.mini-table-responsive {
    overflow-x: auto;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    max-height: 529px;
}

@media (max-width: 991px) {
    .mini-table-responsive {
        overflow-x: auto;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
        max-height: 528px;
    }
}

/* Mobile screens (≤ 576px) */
@media (max-width: 576px) {
    .mini-table-responsive {
        overflow-x: auto;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
        max-height: 528px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
    }

    .nav-content {
        width: 100%;
        /* Take full width on mobile */
        justify-content: space-between;
        /* Distribute content */
    }

    .nav-text {
        flex: 1;
        /* Take remaining space */
    }

    .title {
        font-size: 1rem;
        /* Reduce font size on mobile */
    }

    .breadcrumb-item {
        font-size: 10px;
        /* Reduce breadcrumb font size */
    }

    .actions_header {
        width: 100%;
        /* Take full width on mobile */
        justify-content: flex-end;
        /* Align buttons to the left (RTL) */
    }

    .action-button {
        width: 20px;
        /* Smaller button on mobile */
        height: 20px;
    }

    .action-button i {
        font-size: 0.8rem;
        /* Smaller icon */
    }
}

@media (max-width: 768px) {
    .shared_table_page {
        min-width: 800px;
        /* Maintain a minimum width for the table */
    }

    .shared_table_page thead th,
    .shared_table_page tbody td {
        font-size: 12px;
        /* Reduce font size on mobile for better fit */
        padding: 0.5rem;
        /* Reduce padding on mobile */
    }
}

.shared_table_page {
    border: 1px solid #EAECF0;
    border-radius: 32px;
    width: -webkit-fill-available;
    overflow: hidden;
    min-width: max-content;

}

.input-group select{
    height: 42px;
}

.shared_table_page thead th {
    background-color: #E0F2FE;
    border: none;
    color: #657475;
    padding: 1rem;
    font-weight: 500;
    font-size: 14px;
}

.shared_table_page tbody td {
    color: #657475;
    border-color: #eaecf0;
    padding: 1rem;
    font-weight: 500;
    font-size: 14px;
}

.shared_table_page tbody tr:last-child td {
    border-bottom: none;
}

.navigation {
    background-color: #E0F2FE;
    border: none;
}

.pagination .page-link {
    border: none;
    background: none;
    color: #333333;
}

.pagination .page-item.active .page-link {
    background: #007bff !important;
    color: #fff !important;
    border-radius: 6px
}

.form_label {
    font-size: 14px;
    color: #334155;
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

.form_input {
    width: 100%;
    height: 44px;
    background-color: #fff;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    padding-inline-start: 16px;
}

.custom-input-group {
    margin: 0 auto;
    border: 1px solid #0000001A;
    border-radius: 6px;
    overflow: hidden;
}

.custom-input-group .form-control {
    border: none;
    box-shadow: none;
    padding: 10px 15px;
}

.custom-input-group .btn {
    border: none;
    border-radius: 6px;
    padding: 1px 10px;
    font-size: 14px;
}

.form_group .pre_iconN {
    position: absolute;
    color: #D8E0EA;
    right: 20px;
    top: 10px;
}

.form_group .abs_iconN {
    /* position: absolute; */
    color: #D8E0EA;
    left: 12px;
    top: 13px;
}

.univ_tabs {
    width: fit-content !important;
    gap: 8px;
    border: none;
}

.univ_tabs .nav-link {
    color: #417DF6;
    background-color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    padding: 4px 14px;
    height: 34px;
    text-align: center;
    border: 1px solid #417DF6;
    border-radius: 34px;
    -webkit-border-radius: 34px;
    -moz-border-radius: 34px;
    -ms-border-radius: 34px;
    -o-border-radius: 34px;
    min-width: 90px;
}

.univ_tabs .nav-link.active,
.univ_tabs .nav-link.show,
.univ_tabs .nav-link:hover {
    color: #fff;
    background-color: #4A5A51;
}

.univ_tabs.prov_tabs .nav-link {
    color: #4A5254;
    background-color: #fff;
    font-weight: 500;
    font-size: 16px;
    border: none;
    border-bottom: 2px solid #fff;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
    min-width: 90px;
}

.univ_tabs.prov_tabs .nav-link.active,
.univ_tabs.prov_tabs .nav-link.show,
.univ_tabs.prov_tabs .nav-link:hover {
    color: #417DF6;
    font-weight: 500;
    border-bottom: 2px solid #417DF6;
}

.client-info-card {
    border: none;
    padding: 0.5rem;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* Responsive columns */
    gap: 0.5rem;
}

.client-info-row {
    display: flex;
    justify-content: column;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 4px;
}

.label_ticket {
    color: #414749;
    font-size: 15px;
    font-weight: 500;
    display: inline-flex;
    gap: 2px;
    white-space: nowrap;
}

.text_value_detalis {
    color: #4A5254;
    font-size: 15px;
    font-weight: 400;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal !important;
}

[dir="ltr"] .text_value_detalis {
    margin-left: 12px;
}

.priority-badge,
.status-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.875rem;
}

.priority-low {
    background-color: #d4edda;
    color: #155724;
}

.status-open {
    background-color: #cce5ff;
    color: #004085;
}

.timeline-container {
    position: relative;
    padding: 1rem 0;
}

.timeline {
    border-right: 1px solid hsl(0, 0%, 90%);
    position: relative;
    list-style: none;
}

@media (max-width: 767px) {
    .left_timeline {
        text-align: start !important;
    }

    .border_device_timeline {
        border-bottom: 1px solid #417DF6;
    }
}

[dir="ltr"] .timeline {
    border-right: none;
    border-left: 1px solid hsl(0, 0%, 90%);
}

[dir="ltr"] .timeline .timeline-item::before {
    left: 9px;
    right: auto;
}

[dir="ltr"] .timeline .timeline-item {
    padding-right: 0;
    padding-left: 34px;
    /* LTR: Space for the dot and line on the left */
}

.left_timeline {
    text-align: end;
    padding-right: 15px;
    margin-top: 5px;
}

.timeline .timeline-item {
    position: relative;
    left: -15px;
    top: -10px;

}

.timeline_label {
    color: #334155;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

.timeline_content {
    color: #64748B;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    padding-top: 5px;
    min-height: 20px;
}

.timeline_end {
    color: #64748B;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
}

.text_add {
    color: #06AB14;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

.text_delete {
    color: #FF543E;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

.text_link {
    color: #417DF6;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

.text_edit {
    color: #FFDD55;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

.timeline .timeline-item::before {
    background-color: #417DF6;
    right: -19px;
    top: 5px;
    border-radius: 50%;
    height: 12px;
    width: 12px;
    content: "";
    position: absolute;
    display: block;
}

/* Adjust the "Add Resource" and "Add Client" buttons for mobile */
@media (max-width: 576px) {
    .white_block .btn {
        font-size: 14px;

        padding: 0.5rem 0.75rem;

        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 70px;
    }

    .white_block .btn i {
        font-size: 12px;
        /* Smaller icon size */
        margin-left: 0.75rem;
        /* Adjust spacing between icon and text */
    }
}
.date-filter {
    min-width: 349px;
}
@media (max-width: 398px) {
    .date-filter {
        min-width: auto ;
    }
}

/* Ensure RTL support for buttons */
.most-sales[dir="rtl"] .button-container .btn {
    direction: rtl;
}

[dir="ltr"] .dashboard__navbar {
    gap: 0;
    padding: 16px 14px;
}

.white_block[dir="rtl"] .btn {
    direction: rtl;
}

[dir="ltr"] .input-with-icon .scan-icon {
    position: absolute;
    top: 50%;
    right: 10px !important;
    transform: translateY(-50%);
    cursor: pointer;
}

.input-with-icon-search {
    position: relative;
}

.input-with-icon-search input {
    border-radius: 8px;
    border: 1px solid #ddd;
    height: 50px;
    font-size: 16px;
    padding-right: 40px;
    padding-left: 40px
}


[dir="ltr"] .input-with-icon-search .search-icon {
    position: absolute;
    top: 50%;
    left: 10px !important;
    transform: translateY(-50%);
    cursor: pointer;
}

[dir="ltr"] .input-with-icon-search .scan-icon {
    position: absolute;
    top: 50%;
    right: 10px !important;
    transform: translateY(-50%);
    cursor: pointer;
}

[dir="rtl"] .input-with-icon-search .search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

[dir="rtl"] .input-with-icon-search .scan-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.summary-container {
    max-width: 532px;
    margin: 0 auto;
    border: 1px solid #eaecf0;
    border-radius: 0.375rem;
    overflow: hidden;
}

.summary-row {
    display: flex;
    align-items: center;
    width: 100%;
}

.summary-value {
    flex: 1;
    padding: 0.625rem 1rem;
    font-size: 14px;
    line-height: 150%;
    font-weight: 500;
    color: #667085;
    text-align: end;
}

.summary-label {
    flex: 1;
    padding: 0.625rem;
    font-size: 14px;
    line-height: 150%;
    font-weight: 500;
    color: #5E6268;
    background-color: #f6f6f7;
    /* text-align: start; */
}

.details h5 {
    color: #151515;
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
}

.details .label_details {
    color: #657475;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
}

.details .label_details_value {
    color: #657475;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
}

[dir="ltr"] .label_details_value {
    margin-left: 10px;
}

.details .edit-btn {
    color: #417DF6;
    background-color: #fff;
    display: flex;
    border: 1px solid #417DF6;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    line-height: 16px;
    height: 40px;
}

/*
.details .edit-btn i {
  font-size: 20px;
} */

@media (max-width: 576px) {
    .summary-container {
        max-width: 100%;
    }

    .summary-row {
        flex-direction: column;
    }

    .summary-value,
    .summary-label {
        width: 100%;
        /* text-align: end; */
    }

    .summary-value {
        border-bottom: 1px solid #eaecf0;
    }
}

.settings-section:first-child {
    border-top: none;
}

.settings-header {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.settings-header .title {
    color: #000;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
}

.settings-header .chevron::after {
    content: "";
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    border-left: 2px solid #000;
    border-bottom: 2px solid #000;
    transform: rotate(-45deg);
    transition: transform 0.3s ease;
}

.settings-header[aria-expanded="true"] .chevron::after {
    transform: rotate(135deg);
}

.settings-content {
    padding: 0.5rem 1rem 1rem;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

.setting-item:last-child {
    border-bottom: none;
}

.setting-item span {
    font-size: 15px;
    color: #1D2021;
}

.title_role {
    color: #0F172A;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

.form-label-settings {
    color: #344054;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

[dir="ltr"] .form-check .form-check-input {
    float: left !important;
    margin-left: -30px;

}

.form-check .form-check-input {
    float: right;
    margin-left: 1em;
    width: 20px;
    height: 20px;
    background-color: #F2F4F7;
    border: 1px solid #E4E7EC;
}

[dir="rtl"] .setting-item .form-switch {
    padding-left: 0em !important;
    /* padding-right: -0.5rem !important; */
}

[dir="ltr"] .setting-item .form-switch {
    padding-right: 1em !important;
    /* padding-right: -0.5rem !important; */
}

.setting-item .form-switch .form-check-input {
    height: 21px;
    width: 39px;
    margin-right: -2rem;
    padding: 0;
}

.setting-item .form-switch .form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.setting-item .form-switch .form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

@media (max-width: 576px) {
    .container {
        padding: 1rem;
    }

    .settings-header {
        padding: 0.75rem;
    }

    .settings-content {
        padding: 0.5rem 0.75rem 0.75rem;
    }
}

.show_category {
    border: 1px solid #EBEAEA;
    border-radius: 12px;
}

.custom-tabs {
    display: flex;
    border-radius: 70px;
    overflow: hidden;
    background-color: #fff;
}

.custom-tabs .nav-item {
    flex: 1;
    justify-content: center;
    display: flex;
    text-align: center;
    transition: background-color 0.3s ease;
}

.custom-tabs .nav-link {
    color: #979797;
    text-align: center;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    border: none;
    border-radius: 0;
    transition: none;
    background-color: transparent;
    transition: none;
}

.custom-tabs .nav-item.active {
    background-color: #e6f0ff;
    color: #417DF6;
    border-radius: 20px;
}

.custom-tabs .nav-link.active {
    color: #417DF6;
}

.custom-tabs .nav-link:focus,
.custom-tabs .nav-link:hover {
    border: none;
    outline: none;
    background-color: transparent;
}

.just-validate-error-label{
    font-size: 0.875rem !important;
}

.table-responsive-roles {
    border: 1px solid #EAECF0;
    border-radius: 12px;
}

.table-responsive-roles .table {
    margin-bottom: 0;
    text-align: center;
    justify-content: center;
}

[dir="ltr"] .table-responsive-roles .table thead th:first-child,
[dir="ltr"] .table-responsive-roles .table tbody td:first-child {
    text-align: start !important;
}

.table-responsive-roles .table thead th {
    color: #0F172A;
    padding: 1rem;
    line-height: 14px;
    border: none;
    font-weight: 500;
    font-size: 14px;
}

.table-responsive-roles .table tbody td {
    border: none;
    padding: 1rem;
    color: #667085;
    line-height: 16px;
    font-size: 14px;
    font-weight: 400;
    vertical-align: middle;
}

.table-responsive-roles .form-check-input {
    height: 20px !important;
    width: 36px !important;

    border-radius: 12px !important;
    padding: 2px !important;
}

.gallery-container {
    border: 2px dashed #d0d5dd;
    border-radius: 0.5rem;
    padding: 1.5rem;
    position: relative;
    overflow-x: auto;
}

.gallery-content {
    display: flex;
    gap: 0.5rem;
}

.gallery-item {
    position: relative;
    width: 130px;
    height: 130px;
    flex: 0 0 auto;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.25rem;
}

.default-img {
    width: 100%;
    height: 100%;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    cursor: pointer;
    border: 1px solid #dee2e6;
}

.default-img::before {
    content: '+';
    font-size: 2rem;
    color: #6c757d;
}

.gallery-container .file-input_role {
    display: none !important;
}

.gallery-container .gallery {
    display: none !important;
}

.gallery-container::-webkit-scrollbar {
    height: 8px;
}

.gallery-container::-webkit-scrollbar-thumb {
    background-color: #d0d5dd;
    border-radius: 4px;
}

.delete-icon {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: #dc3545;
}

.delete-icon:hover {
    background-color: rgba(255, 255, 255, 1);
    color: #b02a37;
}

.gallery-instruction {
    font-size: 0.9rem;
    color: #6c757d;
    text-align: start;
    margin-bottom: 1rem;
}

.settings-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.settings-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Settings Header */
.settings-card.settings-header {
    padding: 16px 24px;
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.settings-header .title_roles {
    color: #000;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
}

.settings-card.settings-header:hover {
    background-color: #f8f9fa;
}

.settings-card.toggle-icon {
    transition: transform 0.3s;
}

.settings-cardsettings-header[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg);
}

/* Settings Body */
.settings-card.settings-body {
    padding: 16px 24px;
}

/* Setting Item */
.settings-card.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.settings-card.setting-item:last-child {
    border-bottom: none;
}

.settings-card .setting-text {
    font-size: 15px;
    font-weight: 500;
    color: #1D2021;
    line-height: 150%;
}

/* Custom Switch Styling */
.settings-card.form-check-input {
    width: 3rem;
    height: 1.5rem;
    margin-left: 0;
    cursor: pointer;
}

.settings-card.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.settings-card.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.25);
}

/* Animation for the switch */
.settings-card.form-check-input {
    transition: background-color 0.15s ease-in-out, background-position 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

select.form-control.is-invalid,
.was-validated select.form-control:invalid {
    background-image: url("../images/icons/CaretDown.png") !important;
    padding-right: 1rem !important;
    background-repeat: no-repeat;
    background-position: right 0.75rem center; /* adjust as needed */
    -webkit-appearance: none; /* removes default arrow in some browsers */
    -moz-appearance: none;
    appearance: none;
}
.add-client-dialog {
    padding: 1rem;
    width: 800px;
    margin-right: -130px;
}

.add-client-dialog .modal-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #189CBA29;
    color: #1D2021;
    font-size: 22px;
    font-weight: 500;
    line-height: 150%;
}

.add-client-dialog .model-body {
    padding: 1rem;
}

.total_section {
    border-radius: 8px;
    padding: 12px;
}

.total_section .name-section {
    background-color: #F7F7F7;
    padding: 10px 35px;
    color: #5E6268;
    font-size: 14px;
    font-weight: 500;
    line-height: 150%;
    gap: 8px;
    border-bottom-width: 1px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.total_section .number-section {
    background-color: #fff;
    padding: 10px 35px;
    color: #667085;
    font-size: 14px;
    font-weight: 500;
    line-height: 150%;
    gap: 8px;
    border: 2px solid #F7F7F7;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}



.status-completed {
    background-color: var(--bs-success-bg-subtle, #d1e7dd);
    color: var(--bs-success-text-emphasis, #0f5132);
    border-radius: 5px;
    padding: 14px 14px 14px 14px;
    font-size: 13px;
    line-height: 16px;
    font-weight: 500;
}


.status-denied {
    background-color: var(--bs-danger-bg-subtle, #f8d7da);
    color: var(--bs-danger-text-emphasis, #842029);
    border-radius: 5px;
    padding: 14px 14px 14px 14px;
    font-size: 13px;
    line-height: 16px;
    font-weight: 500;
}
.status-pending   { background-color: #FFF3CD; color: #664D03; border: 1px solid #FFE69C; } /* أصفر فاتح */
.status-confirmed { background-color: #D1E7DD; color: #0F5132; border: 1px solid #A3CFBB; } /* أخضر فاتح */
.status-shipped   { background-color: #CFF4FC; color: #055160; border: 1px solid #9EEAF9; } /* أزرق/سماوي فاتح */
.status-delivered { background-color: #048576; color: #048576; border: 1px solid #04857a; } /* أخضر داكن مخفف */
.status-cancelled { background-color: #F8D7DA; color: #842029; border: 1px solid #F1AEB5; } /* أحمر فاتح */



/*.status-pending,*/
/*.status-completed,*/
/*.status-denied*/
/*.status-canceled{*/
/*    display: inline-block;*/
/*    text-align: center;*/
/*    border-radius: 5px;*/
/*    padding: 14px 32px;*/
/*    font-size: 15px;*/
/*    line-height: 16px;*/
/*    font-weight: 500;*/
/*    width: 155px;*/
/*    height: 44px;   !* نفس الطول *!*/
/*}*/

.iti__flag {
    background-image: url("../images/flags@2x.png") !important;
    /* background-size: 150% !important;
    width: 24px !important;
    height: 16px !important; */
}


[dir="ltr"] .iti__selected-country {
    border-right: 1px solid var(--placeholder-login-color) !important;
    border-radius: 4px !important;
}

[dir="rtl"] .iti__selected-country {
    border-right: 1px solid var(--placeholder-login-color) !important;
    border-radius: 4px !important;
}

.iti {
    display: block !important;
}

.iti.iti--allow-dropdown {
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
    padding: 0;
}

[dir="rtl"] .iti__tel-input::placeholder {
    text-align: right;
}

[dir="rtl"] .iti__tel-input {
    padding-right: 15px !important;
    text-align: left;
    direction: rtl !important;
    padding-left: 95px;
    box-sizing: border-box;
}

[dir="rtl"] .iti__country-container {
    right: auto !important;
    left: 0 !important;
    display: flex;
    align-items: center;
    height: 50px;
}
.leaflet-control-geosearch button.reset {
    color: #000;
    font-weight: 700;
    position: absolute;
    line-height: 26px;
    padding: 0 8px;
    right: 0;
    top: 2px;
    cursor: pointer;
    border: none;
    text-decoration: none;
    background-color: #fff;
    border-radius: 0 4px 4px 0;
}

.leaflet-control-geosearch button.reset:hover {
    background: #f5f5f5;
}
.leaflet-touch .leaflet-control-geosearch button.reset {
    line-height: 26px;
}
/* Reorder dial code to appear before the flag */
[dir="rtl"] .iti__selected-country-primary {
    order: 2;
}

[dir="rtl"] .iti__selected-dial-code {
    order: 1;
    direction: ltr;
    margin-right: 5px;
    color: var(--placeholder-login-color);
}

/* Adjust input padding to match the design */
[dir="ltr"] .iti__tel-input {
    padding-right: 15px !important;
    text-align: left;
    direction: rtl !important;
    padding-left: 95px;
    box-sizing: border-box;
}

.iti--inline-dropdown .iti__dropdown-content {
    width: 250px !important;
    /*margin-top: 250px !important;*/
    top: 100%;
}
.table-unified form select{
    font-size: 12px !important;
    height: 42px !important;
}
[dir='rtl'] .iti--inline-dropdown .iti__dropdown-content {
    width: 250px !important;
    /*margin-top: 250px !important;*/
    top: 100%;
    left: 0px;
}

[dir="ltr"] .iti__country-container {
    left: 0 !important;
    padding: 0 !important;
    display: flex;
    top: 2% !important;
    align-items: center;
    height: 45px;
}

/* Reorder dial code to appear before the flag */
[dir="ltr"] .iti__selected-country-primary {
    order: 1;
    direction: rtl;
    gap: 4px;
}

[dir="ltr"] .iti__selected-dial-code {
    order: 2;
    margin-right: 5px;
    color: var(--placeholder-login-color);
}

.status-ddl {
    font-size: 13px;
    line-height: 16px;
    font-weight: 500;
    border: 1px solid #EAECF0;
    border-radius: 2px;
    padding: 0.5rem;
    appearance: none;
    background-repeat: no-repeat;
    background-position: left 0.75rem center;
    cursor: pointer;
}

/* Focus state */
.status-ddl:focus {
    border-color: #EAECF0;
    box-shadow: 0 0 0 0.2rem rgba(195, 195, 196, 0.25);
    outline: none;
}

/* Adjust table cell padding for the status column */
.shared_table_page tbody td:nth-child(6) {
    padding: 0.5rem;
}

/* Styles for each status */
.status-ddl.pending {
    background-color: #FFF3CD;
    color: #856404;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23856404' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

.status-ddl.completed {
    background-color: #D4EDDA;
    color: #155724;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23155724' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}
.status-ddl.suspended {
    background-color: #D4EDDA;
    color: #6c757d;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23155724' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}
.status-ddl.expired {
    background-color: #FFF3CD;
    color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23155724' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

.status-ddl.denied {
    background-color: #F8D7DA;
    color: #721C24;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23721C24' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

.status-ddl.active {
    background-color: #D4EDDA;
    color: #000000;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%230C5460' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

.status-ddl.inactive {
    background-color: #F8D7DA;
    color: #6C757D;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%236C757D' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
}

/* Remove borders and style dropdown options */
.status-ddl option {
    background-color: #FFFFFF !important;
    color: #344054 !important;
    border: none !important;
    box-shadow: none !important;
    padding: 8px 12px !important;
    margin: 0 !important;
    border-radius: 4px !important;
}

.status-ddl option:hover,
.status-ddl option:focus,
.status-ddl option:checked:hover,
.status-ddl option:checked:focus {
    background-color: #E0F2FE !important;
    color: #657475 !important;
    border: none !important;
    outline: none !important;
}

/* Chrome/Safari specific */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .status-ddl option:hover {
        background: #E0F2FE !important;
        color: #657475 !important;
    }
}

/* Firefox specific */
@-moz-document url-prefix() {
    .status-ddl option:hover {
        background-color: #E0F2FE !important;
        color: #657475 !important;
    }
}

/* Edge specific */
@supports (-ms-ime-align: auto) {
    .status-ddl option:hover {
        background-color: #E0F2FE !important;
        color: #657475 !important;
    }
}

/* Modern browsers */
@supports (appearance: none) {
    .status-ddl option:hover {
        background: #E0F2FE !important;
        color: #657475 !important;
    }
}

/* Additional cross-browser compatibility */
.status-ddl option::-moz-focus-inner {
    border: 0 !important;
    padding: 0 !important;
}

.status-ddl option::-webkit-appearance {
    appearance: none !important;
}

/* Force consistent styling across browsers */
.status-ddl {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

/* Ensure dropdown list styling */
.status-ddl:focus option:hover,
.status-ddl:focus option:checked {
    background-color: #E0F2FE !important;
    color: #657475 !important;
}

.reserve_badge {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 90px;
    /*padding: 0 20px;*/
    width: fit-content;
    height: 34px;
    line-height: 14px;
    background: transparent;
    border-radius: 12px;
    border: 1px solid;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    -ms-border-radius: 30px;
    -o-border-radius: 30px;
    font-size: 15px;
}

.reserve_badge.done_badge {
    color: #10B981;
    border-color: #10B981;
}
.select2-container--default .select2-selection--single {
    height: 48px;
    box-sizing: border-box;
    padding-top: 6px;
}

.match-width.select2-dropdown {
    background: #fff !important; /* or your theme's background color */
    border: 1px solid #ccc;      /* ensure border is visible */
    box-sizing: border-box;
    min-width: 100% !important;
    max-width: 100% !important;
    width: auto !important;
    overflow: hidden;
    z-index: 9999 !important;    /* bring it to front */
}
.match-width .select2-results__options {
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}

.match-width .select2-results__option {
    white-space: nowrap;
    display: block;
}
.select2-dropdown.match-width {
    background: #fff !important;
    border: 1px solid #ccc !important;
    box-sizing: border-box;
}

.select2-results__options {
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: auto;
}
.select2-dropdown.match-width {
    position: absolute !important;
    background: #fff !important;
    border: 1px solid #ccc !important;
    z-index: 9999 !important;
    box-sizing: border-box;
}

.select2-results__options {
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: auto;
}
.select2-container--default[dir="ltr"] .select2-selection--single .select2-selection__arrow{
    right: 2px !important;
}
.select2-container .select2-selection--single {
    height: 50px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 25px;
    position: absolute;
    top: 14px !important;;
    right: 8px !important;;
    width: 20px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #444;
    line-height: 41px !important;
}

/* Default (LTR) */
html[dir="ltr"] .select2-container--default .select2-selection--single .select2-selection__arrow {
    right: 8px !important;
    left: auto !important;
}

/* RTL */
html[dir="rtl"] .select2-container--default .select2-selection--single .select2-selection__arrow {
    left: 8px !important;
    right: auto !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 25px;
    position: absolute;
    top: 14px !important;
    width: 20px;
}



/* Select2 بشكل Bootstrap 5 */
.select2-container { width: 100% !important; }

.select2-container--bootstrap-5 .select2-selection {
    height: 48px !important;
    line-height: 48px !important;
    border: 1px solid #ced4da;
    border-radius: .375rem;
    padding: 0 0.75rem;
    font-size: 1rem;
    font-family: inherit;
}
.select2-container--bootstrap-5 .select2-selection__arrow { display: none; }


.select2-container--bootstrap-5 .select2-results__option--highlighted { background:#0d6efd !important; color:#fff !important; }
.select2-container--bootstrap-5 .select2-results__option[aria-selected="true"] { background:#0d6efd !important; color:#fff !important; }

.s2-dropdown .select2-results__options {
    max-height: 400px !important;
    overflow-y: auto !important;
}

.s2-xscroll .select2-results__option {
    white-space: nowrap !important;
    overflow-x: auto !important;
    text-overflow: initial !important;
}
.s2-xscroll .select2-results__option::-webkit-scrollbar { height: 6px; }
.s2-xscroll .select2-results__option::-webkit-scrollbar-thumb { background:#ccc; border-radius:3px; }

.select2-container--bootstrap-5 .select2-selection {
    position: relative;
    padding-right: 1rem;
}
.select2-container--bootstrap-5 .select2-selection::after {
    content: "";
    position: absolute;
    top: 50%;
    right: .75rem;
    width: .6rem;
    height: .6rem;
    border: solid #ced4da;
    border-width: 0 .15rem .15rem 0;
    display: inline-block;
    padding: 3px;
    transform: translateY(-50%) rotate(45deg); /* لتحت يمين */
    pointer-events: none;
}


[dir="rtl"] .select2-container--bootstrap-5 .select2-selection::after {
    right: auto;
    left: .75rem;
    transform: translateY(-50%) rotate(45deg) !important; /* لتحت شمال */
}


