/* --------------------------
******Fonts
----------------------------*/
@font-face {
    font-family: 'ElMessiri';
    src: url('../fonts/ElMessiri-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'ElMessiri';
    src: url('../fonts/ElMessiri-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}
/* --------------------------
******genral 
----------------------------*/
body {

    background-color: #dfe6e9;
    font-size: 16px;
}
html, body {
    height: 100%;
    margin: 0;
}
@media (min-width: 1024px) and (max-width: 1440px) {
    html, body {
        height: 70%;
        margin: 0;
    }
}
html, body {
    scrollbar-width: thin; 
    scrollbar-color: #eb4d4b #2c3e50; /* Thumb and track colors for Firefox */
}

/* Custom Scrollbar Style for WebKit Browsers */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 15px; /* Width of the scrollbar */
}
@media (min-width: 1024px) and (max-width: 1440px) {
html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 10px;
}
}
html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
    background-color: #eb4d4b; /* Color of the scroll thumb */
    border-radius: 10px; /* Rounded corners of the scroll thumb */
    border: 2px solid #34495e; /* Border around the scroll thumb */
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
    background-color: #2c3e50; /* Color of the scroll track */
}
/*-------------------------------------------------------*/
/*********************Login Page ********************/
.login-mainheader {
    text-align: center;
    margin-bottom: 30px;
    animation: fadeInDown 1s ease-out;
}

.login-mainheader img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.login-mainheader img:hover {
    transform: scale(1.02);
}

/* Container Styling */
.container {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    max-width: 1400px;
    margin-bottom: 30px;
}

/* Row Override */
.container .row {
    width: 100%;
}

/* Column Width Override */
.col-md-6.offset-md-3 {
    max-width: 550px;
    width: 100%;
    margin: 0 auto;
    flex: 0 0 100%;
}
/*---------------------------
**** SIGN IN PAGE
----------------------------*/
/* Sign-in Form Card */
.signin-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
                0 0 100px rgba(255, 255, 255, 0.1) inset;
    animation: fadeInUp 1s ease-out;
    position: relative;
    overflow: hidden;
}

.signin-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.signin-form:hover::before {
    left: 100%;
}

/* Login Header */
.loginheader {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2.5rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    letter-spacing: 1px;
}

.loginheader i {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s ease-in-out infinite;
}

/* Form Labels */
.form-label-login {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

/* Form Controls */
.form-control-login {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 0.85rem 1.2rem;
    color: #464545;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-control-login:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.5),
                0 0 40px rgba(118, 75, 162, 0.3);
    color: #272626;
    outline: none;
    transform: translateY(-2px);
}

.form-control-login::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Password Field Container */
.mb-3 {
    position: relative;
}

/* Show Password Toggle */
.show-pass {
    position: absolute;
    right: 15px;
    top: 43px;
    color: rgba(194, 143, 143, 0.7);
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    z-index: 10;
}
/* RTL Support */
[dir="rtl"] .show-pass {
    right: auto;
    left: 15px;
}
.show-pass:hover {
    color: #ffffff;
    transform: scale(1.15);
}

/* Checkbox Styling */
.form-check {
    margin: 1.5rem 0;
}

.form-check-input {
    width: 1.2rem;
    height: 1.2rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-check-input:checked {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

.form-check-input:focus {
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

.form-check-label {
    color: rgba(255, 255, 255, 0.9);
    margin-left: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
}

/* Submit Button */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    padding: 0.9rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
}

.btn-primary:active {
    transform: translateY(-1px);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}
/* Footer Styling */
.footerlab {
    max-width: 1400px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px 20px 0 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
    margin-top: 0;
}

.footerlab footer {
    background-color: transparent !important;
}

.footerlab hr {
    border-color: rgba(255, 255, 255, 0.2);
    opacity: 0.5;
}

.footerlab .copyright {
    color: rgba(67, 61, 61, 0.95);
    font-size: 1.1rem;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .signin-form {
        padding: 2rem 1.5rem;
    }
    
    .loginheader {
        font-size: 1.6rem;
    }
    
    .loginheader i {
        font-size: 2rem;
    }
    
   .footerlab {
        padding: 1.5rem 1rem;
    }
}
/**********************************************************************************************/
/*---------------------------
**** Main Nav Bar
----------------------------*/
.navbar-fixed-top {
    position: fixed;
    top: 0;
    margin-bottom:100px;
    width: 100%;
    z-index: 1030; /* Ensure the navbar is above other content */
}
.navbar-brand{
    font-family: 'ElMessiri', sans-serif;
    font-weight: bold;   
}
.navbar-nav .nav-item .nav-link{ 
    text-decoration: none;
    font-family: 'ElMessiri', sans-serif;
}
.navbar-nav .nav-item a:hover {
    color:aqua;
}
.dropdown-menu-arabic {
    left: 0 !important;
    right: auto !important;
  }
  
  .dropdown-menu-english {
    right: 0 !important;
    left: auto !important;
  }
  
@media (min-width: 1024px) and (max-width: 1440px) {
    .navbar{
        padding: 1px;
    }
    .navbar-nav .nav-item .nav-link{ 
       font-size: 12px;
    }
    .navbar-brand{
        font-size:medium;
    }
    .nav-item img{
        width : 20px !important;
        height: 15px !important;
    }
    .nav-item i{
       font-size: 20px;
    }
}
/*---------------------------
**** Footer
----------------------------*/
.footer {
    background-color: #343a40;
    color: white;
    padding: 20px 0;
    margin-top:30px;
    height:300px;
    margin-bottom: 0;
}
.footer a {
    color: white;
}
@media (min-width: 1024px) and (max-width: 1440px) {
    .footer {
        padding: calc(20px * 0.8) 0; /* Scale padding */
        margin-top: calc(30px * 0.8); /* Scale margin */
        font-size: 0.9em; /* Scale font size */
        height:calc(300px * .8);
    }
}
/*---------------------------
**** Home Page
----------------------------*/
.header-image {
    margin-top: 100px;
    width:100%;
}
.sidenavbar{
    margin-top:20px;
    min-width: 200px;
    font-weight: bold;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    padding-bottom: 10px;
    border-radius: 20px;
}
[dir="ltr"] .sidenavbar {
    border-left: 7px solid #eb4d4b;
    border-right: none;
}
[dir="rtl"] .sidenavbar {
    border-right: 7px solid #eb4d4b;
    border-left: none;
}
.sidenavbar .nav-item {
    min-width:180px;
    border-bottom: 1px solid whitesmoke;
}
.sidenavbar .nav-item a i{
    font-size: 30px;
    color:#146ba5;
}
.sidenavbar .nav-item a:hover i{
    color:#eb4d4b;
}
.sidenavbar .nav-item a:hover .word{
    color:#eb4d4b;
}
.word{
    color:white;
    font-family: 'ElMessiri', sans-serif;
    font-weight: bold;   
}
@media (min-width: 1024px) and (max-width: 1440px) {
    .sidenavbar{
        margin-top:20px;
        min-width: 150px;
    }
    .sidenavbar .nav-item {
        min-width:120px;
        font-size: 10px;
        padding-bottom: -3px;
    }
    .sidenavbar .nav-item a i{
        font-size: 20px;
    }
    .sidenavbar .nav-item a:hover{
        width:120px;
    }

}
/*----------------------------------------------------------------------------------------------------------*/
/****** main-content ****/
.main-content{
    margin-top: 20px; 
    background-color:whitesmoke;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    border-radius: 20px;
    align-content: center;
}
[dir="ltr"] .main-content {
    margin-right: 20px; 
    margin-left: 20px;
    border-right: 7px solid #eb4d4b;
    border-left: none;
}
[dir="rtl"] .main-content{
    margin-left: 20px; 
    margin-right:20px;
    border-left: 7px solid #eb4d4b;  
    border-right: none;
}
/*************************************************************************************/
/*HomePge sections
/************************************************************************************/
.mainsection-col{
 border-radius: 20px;
 background-color: #706fd3;
 margin-top:10px;

    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    padding: 0.9rem;
    font-size: 17px;
    font-weight: 400;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}
.mainsection-col::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    pointer-events: none;  /* Add this line */
}

.mainsection-col:hover::before {
    width: 300px;
    height: 300px;
}

.mainsection-col:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
}

.mainsection-col:active {
    transform: translateY(-1px);
}
[dir="ltr"] .mainsection-col{
border-left:5px solid whitesmoke;
margin-left: 10px;
}
[dir="rtl"] .mainsection-col{
border-right:5px solid whitesmoke;
margin-right:10px;   
}
.mainsection-col a {
    font-family: 'ElMessiri', sans-serif;
    text-decoration: none;
    color: whitesmoke;
    text-align: center;
    position: relative;  /* Add this */
    z-index: 1;          /* Add this */
    display: block;      /* Add this to make the entire area clickable */
}
.main-content {
    flex: 1;
}
@media (min-width: 1024px) and (max-width: 1440px) {
    .main-content h1{
        font-size: 25px;
    }
      .main-content h3{
        font-size: 20px;
    }
    [dir="ltr"] .main-content {
    margin-right: 10px; 
    margin-left: 20px;
}
[dir="rtl"] .main-content{
    margin-left: 10px; 
    margin-right: 20px;
}
}
/*----------------------------------------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------------------------------------*/
/****** Dashboard main-content ****/
.dash-main-content {
    margin-top: 80px; 
    margin-right: 20px; 
    margin-left: 20px;
    background-color: #e6ebef;
    border-right: 10px solid #eb4d4b;
}
/******* Dashboard sidenav close button**********/
.sidenavclose i{
    cursor:pointer;
    text-decoration: none;
    display: block;
    transition: 0.3s;
    padding-top:15px;
  }
  .sidenavclose i{
    color: #f0f0f0;
  }
  .secsidenav .closebtn {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 30px;
    margin-right: 10px;
  }
/*------------------------------------------------
****** SECTIONS SIDENAVBAR
------------------------------------------------*/
.secsidenav {
    height: calc(100vh - 65px);
    width: 260px;
    position: fixed;
    z-index: 1;
    margin-top: .1px;
    background-color: #34495e;
    overflow-y: auto;
    border-radius: 20px;
    display: flex; /* ADD THIS */
    flex-direction: column; /* ADD THIS */
}

/* Remove overflow-y from parent since we need flex */
.secsidenav {
    overflow-y: hidden; /* Change this */
}

.just-padding {
    flex: 1; /* Takes up available space */
    overflow-y: auto; /* Scrollable content goes here */
}

/* Add to your .secsidenav .bottom-menu-item section */
.secsidenav .bottom-menu-item {
    margin-top: auto;
    background-color: #34495e;
    padding: 5px; /* Add padding */
    margin-bottom: 30px;
}

.secsidenav .bottom-menu-item .list-group-item {
    background-color: transparent;
    border: 1px solid whitesmoke;
    border-radius: 5px;
    padding: 15px;
    display: flex;
    align-items: center;
}

.secsidenav .bottom-menu-item .list-group-item i {
    color: #bedce3;
    font-size: 25px;
}
  /* Icons spacing in RTL */
  html[dir="rtl"] .secsidenav .bottom-menu-item .list-group-item i {
    margin-left: 10px;
  }
.secsidenav .bottom-menu-item .list-group-item span {
    color: white;
    font-size: 17px;
    font-family: 'ElMessiri', sans-serif;
    font-weight: bold;
    margin-left: 10px;
}

.secsidenav .bottom-menu-item .list-group-item:hover i,
.secsidenav .bottom-menu-item .list-group-item:hover span {
    color: #eb4d4b;
}

/* Sidenav position for LTR */
html[dir="ltr"] .secsidenav {
    left: 0;
    border-left: 7px solid #eb4d4b;
    border-right: none;
}

/* Sidenav position for RTL */
html[dir="rtl"] .secsidenav {
    right: 0;
    border-right: 7px solid #eb4d4b;
    border-left: none;
}
  
/* Custom Scrollbar Style for WebKit Browsers */
.secsidenav::-webkit-scrollbar {
    width: 10px; /* Width of the scrollbar */
}

.secsidenav::-webkit-scrollbar-thumb {
    background-color: #eb4d4b; /* Color of the scroll thumb */
    border-radius: 10px; /* Rounded corners of the scroll thumb */
    border: 2px solid #34495e; /* Border around the scroll thumb */
}

.secsidenav::-webkit-scrollbar-track {
    background-color: #2c3e50; /* Color of the scroll track */
}

/* Custom Scrollbar Style for Firefox */
.secsidenav {
    scrollbar-width: thin; /* Scrollbar width */
    scrollbar-color: #eb4d4b #2c3e50; /* Thumb and track colors */
}
/*----------- section side nav inside ----------------------*/
  .secsidenavlist{
    width:235px;
    margin-top: 20px;
    background-color: transparent;
    padding-bottom: 20px;
    padding-left: 5px;
    padding-right: 5px;
  }
  html[dir="ltr"] .secsidenavlist {
    margin-left:5px;
    text-align: left;
  }
  html[dir="rtl"] .secsidenavlist {
    margin-right: 5px;
    text-align: right;
    direction: rtl;
  }
  .secsidenavlist .list-group-item {
    display: flex;
    align-items: center;
    padding: 15px 15px 15px 15px;
    background-color: transparent;
    border: 1px solid whitesmoke;
    border-radius: 5px;
    text-align: center;
    margin-top: 2px;
  }
  
  /* Icons spacing in LTR */
  html[dir="ltr"] .secsidenavlist .list-group-item i {
    margin-right: 10px;
  }
  
  /* Icons spacing in RTL */
  html[dir="rtl"] .secsidenavlist .list-group-item i {
    margin-left: 10px;
  }
  
  /*prevent text wrapping */
  .hidden-sm-down {
    white-space: nowrap;
  }
.secsidenavlist a{
    background-color: transparent;
    text-align:left;
    border: none;
    padding:20px;
}
.secsidenavlist a i{
    color:#bedce3;
    font-size: 25px;
}
.secsidenavlist a span{
    color:white;
    font-size: 17px;
    font-family: 'ElMessiri', sans-serif;
    font-weight: bold;
    margin-left:5px; 
}
.secsidenavlist a:hover span{
    color:#eb4d4b;
}
.secsidenavlist a:hover i{
    color:#eb4d4b;
}
/*----------------------------------------------------------- */
/***LAPTOP******/
@media (min-width: 1024px) and (max-width: 1440px) {
    .secsidenav{
       width:220px;
    }
    .secsidenavlist{
        width:195px;
        padding-bottom: 20px;
       
      }
    .secsidenavlist a{
        padding:10px;
    }
    .secsidenavlist a i{
        font-size: 23px;
    }
    .secsidenavlist a span{
        font-size: 12px;
    }
}
/*------------------------------------------------
****** General styles for nav-tabs
------------------------------------------------*/
.nav-tabs {
    border-bottom: 2px solid #34495e;
    margin-bottom: 10px;
    font-family: 'ElMessiri', sans-serif;  
}

.nav-tabs .nav-item {
    margin-bottom: 3px;
}

.nav-tabs .nav-link {
    border: 1px solid transparent;
    border-radius: 10px;
    color: #495057;
    background-color: #f8f9fa;
    padding: 10px 20px;
    transition: background-color 0.3s, color 0.3s;
    margin:3px;
}

.nav-tabs .nav-link:hover {
    background-color: #e9ecef;
    color: #007bff;
}

.nav-tabs .nav-link.active {
    color: #fff;
    background-color: #34495e;
    border-color: #dee2e6 #dee2e6 #fff;
}

/* Customizing the active tab */
.nav-tabs .nav-link.active:after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: #007bff;
}
.findform{
  font-family: 'ElMessiri', sans-serif;  
  background-color: #34495e;
  border:2px solid whitesmoke;
  color:white;
  padding: 10px 10px 10px 10px;
  border-radius: 20px;
}
/*find form Submit Button */
    .findform .submit-btn {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        border: none;
        border-radius: 12px;
        padding: 0.7rem;
        font-size: .9rem;
        font-weight: 600;
        color: #ffffff;
        text-transform: uppercase;
        letter-spacing: 1px;
        cursor: pointer;
        transition: all 0.4s ease;
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
        position: relative;
        overflow: hidden;
    }

    .findform .submit-btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
    }

    .findform .submit-btn:hover::before {
        width:30px;
        height: 30px;
    }

    .findform .submit-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
    }

    .findform .submit-btn:active {
        transform: translateY(-1px);
    }
    /*find form reset Button */
    .findform .reset-btn {
        background: linear-gradient(135deg, #787a80 0%, #37323d 100%);
        border: none;
        border-radius: 12px;
        padding: 0.7rem;
        font-size: .9rem;
        font-weight: 600;
        color: #ffffff;
        text-transform: uppercase;
        letter-spacing: 1px;
        cursor: pointer;
        transition: all 0.4s ease;
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
        position: relative;
        overflow: hidden;
        margin-left:3px;
        margin-right:3px;
    }

    .findform .reset-btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
    }

    .findform .reset-btn:hover::before {
        width:30px;
        height: 30px;
    }

    .findform .reset-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
    }

    .findform .reset-btn:active {
        transform: translateY(-1px);
    }
      /*find form reset Button */
    .findform .reset-btn {
        background: linear-gradient(135deg, #787a80 0%, #37323d 100%);
        border: none;
        border-radius: 12px;
        padding: 0.7rem;
        font-size: .9rem;
        font-weight: 600;
        color: #ffffff;
        text-transform: uppercase;
        letter-spacing: 1px;
        cursor: pointer;
        transition: all 0.4s ease;
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
        position: relative;
        overflow: hidden;
        margin-left:3px;
        margin-right:3px;
    }

    .findform .reset-btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
    }

    .findform .reset-btn:hover::before {
        width:30px;
        height: 30px;
    }

    .findform .reset-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
    }

    .findform .reset-btn:active {
        transform: translateY(-1px);
    }
@media (min-width: 1024px) and (max-width: 1440px) {
    .nav-tabs .nav-link {
        font-size: 12px;
        padding: 8px 12px;
    }
    /*---------- all find form class --------------------------*/
    .findform input{
        font-size: 10px;  
    }
    .findform label{
       font-size: 10px;
       font-weight: bold;
    }
     .findform select{
       font-size: 10px;
    }
     .findform button{
       font-size: 10px;
    }
}
/* Responsive styles */
@media (max-width: 768px) {
    .nav-tabs .nav-item {
        width: 100%;
        text-align: center;
    }

    .nav-tabs .nav-link {
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }

    .nav-tabs .nav-link.active {
        border-color: #dee2e6;
    }
}

/*------------------------------------------------
****** SECTIONS Main Part
------------------------------------------------*/
.section-content{
    margin-top:100px;
    background-color: #d2dae2;
    padding-bottom: 30px;
}
html[dir="ltr"] .section-content {
    margin-left: 270px;
    margin-right:10px;
  }
  
  /* Content offset for RTL */
  html[dir="rtl"] .section-content {
    margin-right: 270px;
    margin-left:10px;
  }
.dash-section-content{
    margin-top:100px;
    margin-left:10px;
    margin-right:10px;
    background-color: #d2dae2;
    padding-bottom: 30px;
}
.hidediv {
    display: none;
}
.mainsections{
    margin-top:20px;
}
.showdiv .stat{
    padding:20px;
    font-size: 25px;
    font-weight: bold;
    color: #0b0b0b;
}
.showdiv .stat a{
    color:#0e0d0d;
    text-decoration: none;  
}
.showdiv .stat a:hover {
    color:#eb4d4b;
     
}
.showdiv .stat span{
    display:block;
}
/*-----------------------------------*/
.showdiv .main1{
    background-color:#ecf0f1;
    font-family: 'ElMessiri', sans-serif;
    color: #34495e;
    font-weight: bold;
    border-radius: 10px;
}
.showdiv .main1 i{
    font-weight: bold;
    padding : 20px;
    font-size: 35px;
    color:#227093;
}
html[dir="ltr"] .showdiv .main1 {
 border-left: 10px solid #34495e;
 border-right: none;
}
html[dir="rtl"] .showdiv .main1 {
 border-right: 10px solid #34495e;
 border-left: none;
}
/*-----------------------------------*/
.showdiv .main2{
    background-color:#ecf0f1;
    font-family: 'ElMessiri', sans-serif;
    color: #34495e;
    font-weight: bold;
    border-radius: 10px;
}
.showdiv .main2 i{
    font-weight: bold;
    padding : 20px;
    font-size: 35px;
    color:#227093;
}
html[dir="ltr"] .showdiv .main2 {
 border-left: 10px solid #eb4d4b;
 border-right: none;
}
html[dir="rtl"] .showdiv .main2 {
 border-right: 10px solid #eb4d4b;
 border-left: none;
}

/*-----------------------------------------------*/
.showdiv .main3{
    background-color:#ecf0f1;
    font-family: 'ElMessiri', sans-serif;
    color: #34495e;
    font-weight: bold;
    border-radius: 10px;
}
.showdiv .main3 i{
    font-weight: bold;
    padding : 20px;
    font-size: 35px;
    color:#227093;
}
html[dir="ltr"] .showdiv .main3 {
 border-left: 10px solid #218c74;
 border-right: none;
}
html[dir="rtl"] .showdiv .main3 {
 border-right: 10px solid #218c74;
 border-left: none;
}
/*-----------------------------------------------------*/
.showdiv .main4{
    background-color:#ecf0f1;
    font-family: 'ElMessiri', sans-serif;
    color: #34495e;
    font-weight: bold;
    border-radius: 10px;
}
.showdiv .main4 i{
    font-weight: bold;
    padding : 20px;
    font-size: 35px;
    color:#227093;
}
html[dir="ltr"] .showdiv .main4 {
 border-left: 10px solid #ffb142;
 border-right: none;
}
html[dir="rtl"] .showdiv .main4 {
 border-right: 10px solid #ffb142;
 border-left: none;
}
/*-----------------------------------------------------*/
.showdiv .maintotal{
    background-color:#f7f1e3;
    font-family: 'ElMessiri', sans-serif;
    color: #34495e;
    font-weight: bold;
    border-radius: 10px;
}
.showdiv .maintotal i{
    font-weight: bold;
    padding : 20px;
    font-size: 35px;
    color:#227093;
}
html[dir="ltr"] .showdiv .maintotal {
 border-left: 10px solid #d1ccc0;
 border-right: none;
}
html[dir="rtl"] .showdiv .maintotal {
 border-right: 10px solid #d1ccc0;
 border-left: none;
}
/*-----------------------------------------------------*/
@media (min-width: 1024px) and (max-width: 1440px) {
   .section-content{ 
        margin-top:70px;
    }
    html[dir="ltr"] .section-content {
    margin-left: 230px;
    margin-right:10px;
  }
  
  /* Content offset for RTL */
  html[dir="rtl"] .section-content {
    margin-right: 230px;
    margin-left:10px;
  }
  .showdiv .stat{
    padding:15px;
    font-size: 20px;
}
  .showdiv .stat h2{
    font-size: 20px;
}
}
/* ----------------------
**** Main Table
------------------------- */
.main-table{
    -webkit-box-shadow:0 3px 10px #ccc;
    -moz-box-shadow:0 3px 10px #ccc;
    box-shadow:0 3px 10px #ccc;
}
.bigtable{
    width:100%;
    position: relative;
    
}
.bigtable .totalresult td{
    text-align: center;
    width: fit-content;
    background-color:#2c3e50;
    color:white;
    font-size:20px;
    font-weight: bold;
    font-family: 'ElMessiri', sans-serif;
    border-radius: 10px;
}
.bigtable .hrbig th{
    text-align: center;
    width: fit-content;
    background-color:#2c3e50;
    color:floralwhite;
    font-family: 'ElMessiri', sans-serif;
    font-weight: bold;
    position: sticky; top: 0; z-index: 1;
    border-radius: 10px;
}
.bigtable .tdbig{
    text-align: center;
    vertical-align: middle !important;
    width:max-content;
    font-size:small;
    font-weight: bold;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    background-color: #fff;
    color: #333;
    border-radius: 10px;
}
.bigtablebtn .btn{
    margin-bottom:50px;
    font-weight: bold;
}
.main-table .btn {
    padding:1px 5px;
}
.activate{
    margin-left:5px;
}
.det{
    color:whitesmoke;
    background-color:#2c3e50 ;
    font-family: 'ElMessiri', sans-serif;
}
.bigtable .tdbig:nth-child(odd) td{
    background-color: #f3f3f3;
    color: #353434; 
}
.scrolhere{
    overflow-x: auto; white-space: nowrap; overflow-y: auto; max-height: 580px;
}
.scrolhere::-webkit-scrollbar {
    width: 10px; 
}
.scrolhere::-webkit-scrollbar-thumb {
    background-color: #eb4d4b; /* Color of the scroll thumb */
    border-radius: 8px; /* Rounded corners of the scroll thumb */
    border: 2px solid #34495e; /* Border around the scroll thumb */
}
.scrolhere::-webkit-scrollbar-track {
    background-color: #2c3e50; /* Color of the scroll track */
}
/* Custom Scrollbar Style for Firefox */
.scrolhere {
    scrollbar-width: thin; /* Scrollbar width */
    scrollbar-color: #eb4d4b #2c3e50; /* Thumb and track colors */
}
@media (min-width: 1024px) and (max-width: 1440px) {
    .bigtable .hrbig{
        font-size: 12px;
    }
    .bigtable .tdbig{
        font-size: 10px;
    }
    .scrolhere{
    overflow-x: auto; white-space: nowrap; overflow-y: auto; max-height: 300px;
}
.bigtable .totalresult td{
    font-size: 14px;
}
}
/*--------------------------------------------------------*/
.table-responsive .d-flex {
    font-family: 'ElMessiri', sans-serif;
}
@media (min-width: 1024px) and (max-width: 1440px) {
    .table-responsive form.d-flex {
        width: 40% !important;
    }

    .table-responsive #search ,.table-responsive #search2, .table-responsive #searchSystem{
        font-size: 12px;
        padding: 4px 10px;
    }

    .table-responsive #projectFilter ,.table-responsive #projectFilter2{
        width: 200px !important;
        font-size: 12px;
        padding: 4px 10px;
    }
      .table-responsive #exportScope{
        font-size: 12px;
        padding: 4px 20px;
    }
    .table-responsive .d-flex .btn {
        font-size: 12px;
        padding: 4px 10px;
    }

    .table-responsive .d-flex .btn i {
        font-size: 14px;
        margin-right: 4px;
    }
}

/* ------------------------
**** All projects Dashboards
------------------------- */
.navbi .togglebuttonclass{
      
    padding: 3px 3px 3px 3px;    
    width: auto;         
    height: auto;       
    line-height: 1;
}
.navbi .togglebuttonclass i{
    font-size: 20px;
    text-align: center;
}
/* ------------------------
**** All pages Header
------------------------- */
.page-header{
    text-align: center;
    background-color: #34495e;
    color:white;
    padding-top: 20px;
    margin-top: 0%;
    font-size:x-large;
    font-family: 'ElMessiri', sans-serif;
    font-weight: bold;
    border-radius: 10px;
    font-weight: 700;
    margin-bottom: 25px;
}
html[dir="rtl"] .page-header {
   border-right:10px solid #eb4d4b;
   border-left: none;
}
html[dir="ltr"] .page-header {
   border-left:10px solid #eb4d4b;
   border-right: none;
}
.page-header i{
    margin-right:10px;
    font-size:30px;
}
.inputform{
        
        width:100%;
}
@media (min-width: 1024px) and (max-width: 1440px) {
    .page-header{
        font-size: medium;
        padding-top:10px ;
    }
    .page-header i{
    margin-right:10px;
    font-size:20px;
}
}
/* ------------------------
**** Input forms for all data
------------------------- */
.inputform{
    margin-top:20px;
    border-radius: 20px;
}
.inputform hr{
    color:#eb4d4b ;
}
.inputform label{
    margin-right:10px;
    background-color: #34495e;
    color:white;
    text-align:center;
    font-family: 'ElMessiri', sans-serif;
    font-weight:bold;
    font-size:medium;
    padding: 10px 10px 10px 10px;
}
html[dir="ltr"] .inputform label {
   border-left: 5px solid #eb4d4b;
   border-right:none;
}
html[dir="rtl"] .inputform label {
   border-right: 5px solid #eb4d4b;
   border-left:none;
}
.inputform input[type='submit']{
    margin-left:20px;
    font-weight: bold;
    
}
.inputform input[type='varchar'] ,input[type='date'], input[type='year']{
    font-weight: bold;
    font-family:'Times New Roman', Times, serif;
    
}
@media (min-width: 1024px) and (max-width: 1440px) {
    .inputform label{
        font-size: 10px;
        padding: 6px 6px 6px 6px;
    }
    .inputform input[type='submit']{
        font-size: 12px;
    }
    .inputform input[type='varchar'] ,input[type='date'], input[type='year'], input[type='time'], input[type='text'],input[type='number']
    ,input[type='file'],input[type='double']{
        font-size: 10px;
    }
    .inputform select{
        font-size: 10px;
    }
}
/*-------------------------------------------------------------------------------*/
/*** General classes
/*-------------------------------------------------------------------------------*/

/*---- ordring styles on pages ------*/

.ordering{
    font-weight: bold;
}

.ordering .active{

    color:rgb(189, 64, 64);
}


/*-------------------------------------------------------------------------------*/

/*---------------------------Items page---------------------------------------*/
.col-sm-6 .asterisk{
    font-size: 30px;
    position: absolute;
    right: 51%; /* Adjust the right value as needed */
    top: 50%; /* Position it in the middle vertically */
    transform: translateY(-50%); /* Center it vertically */
    color: rgb(235, 104, 104);
    display: inline-block;
}
.col-sm-3 .asterisk{
    position: absolute;
    font-size: 25px;
    color: rgb(235, 104, 104);
    display: inline-block;
    margin-top:.2%;
    margin-left:-1.5%;
}
/*---------------------------------------------------------------------------*/
/* Bootstrap Editing*/
.form-control{
    position: relative;
    display: inline-block;
    border-radius: 0 !important;
}

/*-- Submit Button To data Input Forms  --*/
.submitbtn{
    padding-top:30px;
   
}
.submitbtn button {
    font-weight: bold;
    font-size: 18px; 
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.submitbtn button .fa-solid.fa-plus {
    
    padding-bottom: 10px;
    color:#eb4d4b;
    font-weight: bold;
    font-size: 20px;
}
@media (min-width: 1024px) and (max-width: 1440px) {
    .submitbtn{
    padding-top:8px;
}
.submitbtn button {
    font-size: 12px; 
}
}
/*--------------------------------
********Confirmation message box 
---------------------------------*/

.message-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    text-align: center;
}

.alert-success ,.alert-danger{
    width:500px;
    padding: 20px;
    border-radius: 10px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
}
.iconstyle{
    color:#30336b;
    font-weight: bold;
    font-size: 30px;
    padding-right: 20px;
}
.message{
    color: #130f40;
    font-size: 17px;
    font-weight: bold;
}
/*----------------------------------------------------------*/
/*----------------------------
*** Error message of dataList
-----------------------------*/
.error {
    border-color: red;
}
.error::placeholder {
    color: red;
}
/*-------------------------------------------------------------
**********ADMIN PAGES
---------------------------------------------------------------*/
/* ----------------------------
********Dashboard Page
---------------------------- */

.home-stats .stat{
    padding:20px;
    font-size: 15px;
    color: #FFF;
    border-radius: 10px;
    margin-top:20px;

}
.home-stats .stat a{
    color:#FFF;
    text-decoration: none;  
}
.home-stats .stat a:hover {
    color:black;
     
}
.home-stats .stat span{
    display:block;
    font-size: 50px;
}
.home-stats .members{
background-color: #95a5a6;
}
.home-stats .pending{
    background-color: #7f8c8d;   
}
.home-stats .items{
    background-color: #34495e;    
}
.home-stats .comments{
    background-color: #2c3e50;   
}
.home-stats .vehicle{
    background-color:#D6EAF8;   
}
.home-stats .accident{
    background-color:#85C1E9;   
}
.home-stats .open{
    background-color:#2874A6;   
}
/*-----------------------------*/
.latest{
    margin-top:30px;
}
/*----------------------------------*/
.card-header{
    font-family:'Courier New', Courier, monospace;
    font-size:20px;
    font-weight: bold;
}
.card-header i{
    color:#34495e;
}
/*----------------------------------*/
.latest-users{
    margin-bottom: 0;
  
}
.latest-users li{
    font-size:15px;
    padding: 5px 8px;
    overflow:hidden;
}
.latest-users li:nth-child(even){
    background-color:#34ace0;
}
.latest-users li:nth-child(odd){
    background-color:#ffb142;
}
.latest-users .btn-success .btn-info{
    padding: 3px 5px;
}
.latest-users  .btn-info{
    margin-right:5px;
}
/*-----------------------------------------------------*/
/*****SIDE NAVEBARE DASHBOARD
/*----------------------------------------------------*/

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top:0;
    left: 0;
    background-image: linear-gradient(to right, rgb(231, 246, 173), rgb(247, 164, 164), rgb(252, 101, 252));
    overflow-x: hidden;
    transition: 0.5s;
    padding-top:20px;
    
  }
  .sidenavclose i{
    cursor:pointer;
    font-size:30px;
    color:#34495e;
    padding-bottom:10px;
  }
  .sidenav .closebtn a {
    padding: 5px 5px 5px 10px;
    text-decoration: none;
    font-size: 25px;
    color:#ffffff;
    display: block;
    transition: 0.3s;
  }
  
  .sidenav .closebtn a:hover {
    color: #f1f1f1;
  }
  .sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 20px;
    margin-left: 50px;
  }
  
  #main {
    transition: margin-left .5s;
    padding: 16px;
    
  }
  
  @media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
  }
  /*--------Items in sidenavbar---------*/
  /*------------------------------------*/
  .just-padding {
    padding:0;
    margin-top:0;
   
}

.list-group.list-group-root {
    padding: 0;
    overflow: hidden;
}
.listgroup{
    width:220px;
    color: #34495e;
    margin-left:0;
    
}
.listgroup .title{
    font-size: 20px;
    font-family: 'ElMessiri';
    font-weight:bold;
    color: #34ace0;
}
.listgroup .subtitle{
    font-size: 18px;
    font-family: 'Times New Roman', Times, serif;
    font-weight:bold;
    color:#ffb142
}
.list-group.list-group-root .list-group {
    margin-bottom: 0;
  

}

.list-group.list-group-root .list-group-item {
    border-radius: 0;
   
}

.list-group.list-group-root > .list-group-item:first-child {
    border-top-width: 0;
  
}

.list-group.list-group-root > .list-group > .list-group-item {
    padding-left: 30px;
}

.list-group.list-group-root > .list-group > .list-group > .list-group-item {
    padding-left: 45px;
}

.list-group-item .glyphicon {
    margin-right: 5px;
    color:aqua;
}
/*-------------------------------------------------------------------------*/
/*--------------- Page Load Wrapper -------------------*/
/* Loader Wrapper - Fullscreen */
#loader-wrapper {
    position: fixed;
    width: 100%;
    height: 100%;
    background: white;
    top: 0;
    left: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  /* Loader Shape (Spinner) */
  .loader {
    border: 10px solid #f3f3f3;
    border-top: 10px solid #3498db;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    animation: spin 1s linear infinite;
  }
  
  /* Animation */
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
/*-------------------------------------------------------------------------*/
/*------------------------*/
/*** CHARTS STYLE
/*-----------------------*/
.vehiclechart{
  max-width: 600px;
  width: 100%;         /* Responsive full width up to max-width */
  height:600px;
  margin: auto;
  position: relative;  /* helps Chart.js sizing */
}
.accidentchart {
  max-width: 700px;
  width: 100%;         /* Responsive full width up to max-width */
  height:500px;
  margin: auto;
  position: relative;  /* helps Chart.js sizing */
}
.vehiclechart h5,
.accidentchart h5 {
    font-family: 'ElMessiri', sans-serif;
    font-size: large;
}
/* Let canvas fill the container */
.vehiclechart canvas,
.accidentchart canvas {
  display: block;      /* remove inline gaps */
  width: 100% !important;
  height: 100% !important;
}

/* Responsive breakpoint */
@media (min-width: 1024px) and (max-width: 1440px) {
  .vehiclechart {
    max-width: 400px;  /* smaller max width on medium screens */
    height : 400px;
  }
  .accidentchart {
    max-width: 500px;  /* smaller max width on medium screens */
    height:300px;
  }
  .vehiclechart h5,
.accidentchart h5 {
    font-family: 'ElMessiri', sans-serif;
    font-size: medium;
}
#filterForm select{
    font-size:10px;
}
#filterForm button{
    font-size:10px;
}
}
/******* workshop charts *****/
.chart-container {
    display: inline-block;
    width: 100%; /* or fixed width if you want */
    max-width: 300px; /* optional */
}

.chart-label {
    font-weight: bold;
    font-size: large;
    color: #090025;
    font-family: 'ElMessiri', sans-serif;
}


/*-------------------------------------------------------------------------*/
/*--------------DropDown Menu**---------------------------------*/
[dir="ltr"] a[aria-expanded="true"] .fa-angle-down {
  transform: rotate(-90deg);
  transition: 0.3s;
}
[dir="rtl"] a[aria-expanded="true"] .fa-angle-down {
  transform: rotate(90deg);
  transition: 0.3s;
}
[dir="ltr"] .list-group-item {
  display: flex;
  align-items: center;
}

[dir="ltr"] .list-group-item .fa-angle-down {
  margin-left: auto; /* pushes it to the far right */
}

[dir="rtl"] .list-group-item {
  display: flex;
  align-items: center;
}
[dir="rtl"] .list-group-item .fa-angle-down {
  margin-right: auto; /* pushes it to the far right */
}

/*---------------------------------------------------*/
/*--Parts Forms Input --*/
.is-invalid { border: 2px solid #dc3545 !important; background:#fff0f0; }
.qty-error { font-size: 0.85rem; }
/*----------------------------------------------------*/
/*--ajax table --*/
.ajaxtable th{
    text-align: center;
    font-family: 'ElMessiri', sans-serif;
    color: #227093;
    font-weight: bold;
}

.ajaxtable td{
    text-align:center;
    font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
.ajaxtable td i{
   font-size: 25px;
}
/*----------------------------------------------------*/
/*-- table header area search print excel style --*/
.tableheaderarea{
    background-color:#dfe6e9;
    border:1px solid whitesmoke;
    border-radius: 10px;
    margin-top:20px;
    height: 50px;
}
.tableheaderarea .searcharea{
    width:30%;  
}
[dir="ltr"] .tableheaderarea .searcharea{
 margin-left:10px;
}
[dir="rtl"] .tableheaderarea .searcharea{
 margin-right:10px;
}
[dir="ltr"] .tableheaderarea .printarea{
 margin-right:10px;
}
[dir="rtl"] .tableheaderarea .printarea{
 margin-left:10px;
}
/*----------------------------------------------------*/


    .item-selector {
        margin-top: 8px;
        border: 2px solid #007bff;
        background: #e7f3ff;
        font-weight: 500;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .qty-error {
        font-size: 12px;
        margin-top: 5px;
        display: block;
    }
    
    #itemsTable td {
        vertical-align: top;
    }
/*------------------------------------------------------------------------*/
/************************ Table Summary ********************************/
 .capital-card {
            margin: 40px auto;
            max-width: 800px;
            background: #fff;
            border-radius: 16px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            overflow: hidden;
        }
        .capital-header {
            background: linear-gradient(135deg, #007bff, #00bcd4);
            color: white;
            padding: 20px;
            font-size: 22px;
            font-weight: 600;
            font-family: 'ElMessiri', sans-serif;
        }
        .tablesummary {
            margin: 0;
        }
        .tablesummary thead th {
            background: #f1f3f5;
            font-weight: 600;
            font-family: 'ElMessiri', sans-serif;
        }
       .tablesummary tfoot td {
            font-weight: bold;
            background: #e9ecef;
        }
/*------------------------------------------------------------------*/
/************ New form shap *************************/
 .fancy-card {
        background: #ffffff;
        border-radius: 20px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
        padding: 40px;
        max-width: 1100px;
        margin: 40px auto;
        transition: all 0.3s ease;
    }
    .fancy-card:hover {
        transform: translateY(-5px);
    }
    .section-title {
        font-size: 20px;
        font-weight: 600;
        color: #0d6efd;
         margin: 20px 0 15px 0;
    }
    [dir="rtl"] .section-title{
         border-right: 5px solid #0d6efd;
         padding-right: 10px;
    }
     [dir="ltr"] .section-title{
         border-left: 5px solid #0d6efd;
         padding-left: 10px;
    }
    .form-label {
        font-weight: 500;
        width:160px;
    }
    .btn-info, .btn-primary {
        border-radius: 8px;
        font-weight: 600;
    }
    #itemsTable {
        border-radius: 10px;
        overflow: hidden;
    }
    #itemsTable th {
        background-color: #f1f5f9;
        color: #0d6efd;
        font-weight: 600;
        text-align: center;
    }
    #itemsTable td {
        vertical-align: middle;
    }
/*---------------------------------------------------------------*/
/**************************************************************************************************/
/********** nav bar drop down user menu styling **************************************************/
/* Dropdown Menu Styling */
.nav-item.dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: rgba(255, 218, 121, 0.1);
}

.nav-item.dropdown .dropdown-toggle:hover {
    background: rgba(255, 218, 121, 0.2);
    transform: translateY(-2px);
}

.dropdown-menu {
    min-width: 260px;
    padding: 0;
    margin-top: 12px !important;
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    animation: slideDown 0.3s ease;
    overflow: hidden;
}

/* Position dropdown to the right in LTR, left in RTL */
.dropdown-menu-end {
    right: 0 !important;
    left: auto !important;
}

/* For RTL layouts */
[dir="rtl"] .dropdown-menu-end {
    right: auto !important;
    left: 0 !important;
}

/* Alternative: If you want to force it to always align right regardless of direction */
.nav-item.dropdown .dropdown-menu {
    transform-origin: top right;
}

[dir="rtl"] .nav-item.dropdown .dropdown-menu {
    transform-origin: top left;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* User Info Header */
.dropdown-header {
    padding: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
}

.user-avatar {
    font-size: 45px;
    color: #ffda79;
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.user-name {
    font-weight: 600;
    font-size: 16px;
}

.user-role {
    font-size: 12px;
    opacity: 0.9;
}

/* Dropdown Items */
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    transition: all 0.2s ease;
    font-size: 14px;
}

.dropdown-item i {
    font-size: 18px;
    width: 20px;
    color: #667eea;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding-left: 25px;
}

[dir="rtl"] .dropdown-item:hover {
    padding-left: 20px;
    padding-right: 25px;
}

.dropdown-item:hover i {
    transform: scale(1.1);
}

/* Logout Item Special Styling */
.logout-item {
    color: #dc3545;
}

.logout-item i {
    color: #dc3545;
}

.logout-item:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

/* Divider */
.dropdown-divider {
    margin: 0;
    opacity: 0.1;
}

/* Ensure dropdown is visible on small screens */
@media (max-width: 768px) {
    .dropdown-menu {
        min-width: 240px;
        right: 10px !important;
    }
    
    [dir="rtl"] .dropdown-menu {
        right: auto !important;
        left: 10px !important;
    }
}
/******************************************************************************************/