.select2-container .select2-selection--single {
    height: 33px !important;
}



.search-container {
    position: relative;
  }
  
  .search-container input::placeholder {
    color: #fff; /* White placeholder text */
  }

  .search-container input {
    padding-left: 40px;
    border-radius: 30px;
    border: 1px solid #ccc;
    background-color: rgba(255, 255, 255, 0.3);
    transition: background-color 0.3s, box-shadow 0.3s;
    color: #333;
  }
  
  .search-container input:focus {
    background-color: #fff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.4);
    outline: none;
  

  }
  
  .search-container .fa-search {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #fff; /* White search icon */
    font-size: 14px;
    pointer-events: none;
  }
  .search-container input:focus + .fa-search {
    color: #000; /* Change to black on focus */
  }
  
  
      .total-row {
        background-color: #f8d7da; /* Light red background */
        color: #721c24; /* Dark red text */
        font-weight: bold; /* Make the text bold */
        font-size: 16px; /* Increase font size slightly */
    }

    .total-row td {
        padding: 10px; /* Add padding to the cells */
    }
    

    .disabled-menu {
    pointer-events: none;
    color: #aaa !important;
    opacity: 0.6;
    cursor: not-allowed;
}

.disabled-link {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
}


.select2-container {
    width: 100% !important;
}

/* .skin-blue .main-header .navbar {
    background-color: mediumaquamarine !important;
}
 */

 /* RTL Sidebar styles */
  .rtl-sidebar a {
    display: flex;
    justify-content: flex-end; /* Align items to right */
    align-items: center;
    text-align: right;
  }

  /* Space between icon and text */
  .rtl-sidebar a > i:first-child {
    margin-left: 10px;
  }

  /* Keep submenu toggle icon on left side */
  .rtl-sidebar a > .fa-angle-left.pull-right {
    margin-left: auto;
    margin-right: 0;
  }

  /* Adjust user panel for RTL */
  .user-panel .image {
    float: right !important;
  }

  .user-panel .info {
    float: right !important;
    text-align: right;
  }
@font-face {
    font-family: 'Bahij Titr Bold';
    src: url('../fonts/BahijTitr-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

.sidebar-menu > li > a {
    font-family: 'Bahij Titr Bold', sans-serif;
    font-weight: bold;
    font-size: 18px; /* optional */
}


.sidebar-menu .treeview-menu > li > a {
    font-family: 'Bahij Titr Bold', sans-serif;
    font-weight: bold;
    font-size: 16px; /* optional */
}

body {
    direction: rtl;
}



@font-face {
  font-family: 'MyCustomFont';
  src: url('../fonts/BahijTitr-Bold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

label {
  font-family: 'MyCustomFont', sans-serif;
  font-size: 16px; /* You can adjust */
  font-weight: normal;
}
button {
    font-family: 'MyCustomFont', sans-serif;
    font-weight: normal;

}
input, select, textarea {
    font-family: 'MyCustomFont', sans-serif;
    font-weight: normal;
}
   table#table {
        font-family: 'MyCustomFont', sans-serif;
        text-align: center;
    }

    table#table thead th,
    table#table tbody td {
        text-align: center;
        vertical-align: middle;
        font-family: 'MyCustomFont', sans-serif;
        font-size: 14px;
    }

    h3,h2, h1, h4, h5, h6 {
        font-family: 'MyCustomFont', sans-serif !important;
        font-weight: normal;
    }
    p{
        font-family: 'MyCustomFont', sans-serif !important;
        font-weight: normal;
        font-size: 22px !important;
    }

    /* Apply custom font and size to Select2 dropdown and selection */
    .select2-container--default .select2-selection--single,
    .select2-container--default .select2-selection--multiple,
    .select2-container--default .select2-results__option,
    .select2-container--default .select2-selection__rendered {
        font-family: 'MyCustomFont', sans-serif;
        font-weight: normal;
        font-size: 18px; /* adjust as needed */
    }

    /* Optional: increase placeholder font size */
    .select2-container--default .select2-selection__placeholder {
        font-family: 'MyCustomFont', sans-serif;
        font-size: 16px;
    }

    /* Optional: increase font size in multi-select choices */
    .select2-container--default .select2-selection__choice {
        font-family: 'MyCustomFont', sans-serif;
        font-size: 16px;
    }


/* drop down fonts */
/* Dropdown button */
.dropdown .btn {
    font-family: 'MyCustomFont', sans-serif;
    font-size: 16px;
    text-align: right; /* align text for RTL */
}

/* Dropdown menu */
.dropdown-menu {
    font-family: 'MyCustomFont', sans-serif;
    font-size: 16px;
    min-width: 200px; /* optional: wider menu */
    padding: 0; /* remove extra padding */
}

/* Dropdown items */
.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

/* Hover effect */
.dropdown-menu li a:hover {
    background-color: #007bff;
    color: #fff;
    font-weight: bold;
}

/* Optional: add separator style */
.dropdown-menu li + li {
    border-top: 1px solid #ddd;
}

/* Optional: caret adjustment */
.dropdown-toggle .caret {
    margin-left: 5px;
}

/* on convert table */
/* Apply custom font and center text */
table#convertModalTable {
    font-family: 'MyCustomFont', sans-serif;
    text-align: center;
}

table#convertModalTable thead th,
table#convertModalTable tbody td {
    text-align: center;
    vertical-align: middle;
    font-family: 'MyCustomFont', sans-serif;
    font-size: 14px;
}

table#convertModalTable input {
    font-family: 'MyCustomFont', sans-serif;
    text-align: center;
}
span {
    font-family: 'MyCustomFont', sans-serif !important;
    font-weight: normal;
}
table#table tfoot td {
    font-family: 'MyCustomFont', sans-serif !important;
    font-size: 18px;
    font-weight: bold;
}
