input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear,
input[type="password"]::-webkit-credentials-auto-fill-button,
input[type="password"]::-webkit-inner-spin-button,
input[type="password"]::-webkit-clear-button {
  display: none !important;
}

.navbar, .footer {
  display: none !important;
}

.blue-bg {
  background-color: #eff8ff;
  margin-left: 0 !important;
  margin-right: 0 !important;
  min-height: 100vh !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-container {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
}
.form-container
.password-wrapper {
  position: relative;
}
.form-container
.password-wrapper i {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  cursor: pointer;
  color: #888;
}
.form-container
.error {
  color: red;
  font-size: 0.875rem;
}
.form-container
.heading {
  text-align: center;
  margin: 10px 0;
}
.form-container
.sub-heading {
  text-align: center;
  color: rgba(33, 37, 41, 0.75);
  font-size: 16px;
  margin: 0 0 10px;
}
.form-container label {
  font-weight: normal;
}
.form-container
.password-toggle-icon {
  color: gray;
  font-size: 0.75em;
}
.form-container input.form-control,
.form-container .form-check-label {
  font-size: 14px;
}
.form-links {
  text-align: center;
  margin-top: 0.5rem !important;
}
.form-links a {
  /* color: rgba(33, 37, 41, 0.75); */
  font-size: 0.75em;
  margin: 0 5px;
}
.password-toggle-icon {
  cursor: pointer;
}













.error-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #dc3545; /* Bootstrap danger red */
  color: white;
  padding: 7.5px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  font-size: 1em;
  font-weight: 500;
}

.hidden {
  display: none;
}

.close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}






/* Loaders CSS > Start */

.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.7); /* Light overlay */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9998;
}

.loader-img {
  width: 60px;
  height: 60px;
}

/* Second Loader CSS */
  .loader2 {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    border: 3px solid;
    border-color: #002147 #002147 transparent transparent;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
  }
  .loader2::after,
  .loader2::before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    border: 3px solid;
    border-color: transparent transparent #fde428 #fde428;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    animation: rotationBack 0.5s linear infinite;
    transform-origin: center center;
  }
  .loader2::before {
    width: 32px;
    height: 32px;
    border-color: #002147 #002147 transparent transparent;
    animation: rotation 1.5s linear infinite;
  }

  @keyframes rotation {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  @keyframes rotationBack {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(-360deg);
    }
  }

  /* Third Loader CSS */
  .loader3 {
      color: #002147;
      font-size: 10px;
      width: 1em;
      height: 1em;
      border-radius: 50%;
      position: relative;
      text-indent: -9999em;
      animation: mulShdSpin 1.3s infinite linear;
      transform: translateZ(0);
    }

    @keyframes mulShdSpin {
      0%, 100% {
        box-shadow: 0 -3em 0 0.2em, 
                    2em -2em 0 0em, 
                    3em 0 0 -1em, 
                    2em 2em 0 -1em, 
                    0 3em 0 -1em, 
                    -2em 2em 0 -1em, 
                    -3em 0 0 -1em, 
                    -2em -2em 0 0;
      }
      12.5% {
        box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 
                    3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, 
                    -2em 2em 0 -1em, -3em 0 0 -1em, 
                    -2em -2em 0 -1em;
      }
      25% {
        box-shadow: 0 -3em 0 -0.5em, 
                    2em -2em 0 0, 3em 0 0 0.2em, 
                    2em 2em 0 0, 0 3em 0 -1em, 
                    -2em 2em 0 -1em, -3em 0 0 -1em, 
                    -2em -2em 0 -1em;
      }
      37.5% {
        box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em,
                    3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, 
                    -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
      }
      50% {
        box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em,
                    3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, 
                    -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
      }
      62.5% {
        box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em,
                    3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, 
                    -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
      }
      75% {
        box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 
                    3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, 
                    -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
      }
      87.5% {
        box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 
                    3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, 
                    -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
      }
    }
    /* Fourth Loader CSS */
    .loader4 {
      width: 20px;
      height: 20px;
      border-radius: 50%;
      display: inline-block;
      position: relative;
      border: 1.5px solid;
      border-color: #002147 #002147 transparent transparent;
      box-sizing: border-box;
      animation: rotation 1s linear infinite;
    }

    .loader4::after,
    .loader4::before {
      content: '';
      box-sizing: border-box;
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      bottom: 0;
      margin: auto;
      border: 1.5px solid;
      border-color: transparent transparent #fde428 #fde428;
      width: 16px;
      height: 16px;
      border-radius: 50%;
      animation: rotationBack 0.5s linear infinite;
      transform-origin: center center;
    }

    .loader4::before {
      width: 12px;
      height: 12px;
      border-color: #002147 #002147 transparent transparent;
      animation: rotation 1.5s linear infinite;
    }

    @keyframes rotation {
      0% {
        transform: rotate(0deg);
      }
      100% {
        transform: rotate(360deg);
      }
    }
    @keyframes rotationBack {
      0% {
        transform: rotate(0deg);
      }
      100% {
        transform: rotate(-360deg);
      }
    }


/* Loaders CSS > End */

.hidden {
  display: none;
}

#frmErrorMessage {
  visibility: visible;
  color: red;
  min-height: 1.5em;
  font-size: 12px;
  margin-bottom: 5px;
  margin-top: 5px;
}

input:checked {
  background-color: #002147 !important;
  border-color: #002147 !important;
}



/* Layout Style Sheet */
body {
  margin: 0;
  font-family: 'Century Gothic', sans-serif !important;
  font-weight: 500;
  background-color: #fff;
}
.wrapper {
  display: flex;
  height: 100vh;
}
.sidebar {
  margin: 0;
  width: 270px;
  background-color: #e8f1fb;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.sidebar .logo {
  margin-bottom: 30px;
  margin-top: 30px;
  cursor: pointer;
}
.sidebar .logo > p {
  font-size: 20px;
  margin: 10px 0;
  color: #182e58;
  text-align: center;
}
.sidebar .logo img {
  display: none;
  max-width: 100%;
  height: auto;
}
.sidebar .nav {
  display: block;
  margin: 15px 0;
}
.sidebar .nav > li > a {
  color: #808080;
  font-weight: 500;
  padding: 10px 15px;
  cursor: pointer;
  margin: 0;
  border-radius: 3px;
  user-select: none;
}
.sidebar .nav > li.active > a {
  background-color: #002147;
  color: #fff;
  /* border-radius: 4px; */
}
html[data-lang="ar-AE"] .sidebar .nav {
  padding: 0;
}
.sidebar > .nav > li > a:hover {
  color: #002147;
  background-color: #d0e2f5;
}
.sidebar > .nav > li.active > a:hover {
  color: #fff;
  background-color: #002147;
}
#navSelectCompany {
  border: none;
  width: auto;
  font-size: 0.75em;
  padding: .375rem;
  margin-bottom: 0;
  box-shadow: none;
  margin-left: 22px;
}
.sidebar ul {
  margin-bottom: 0;
  flex-grow: 1;
}
.fta-badge {
  padding: 10px;
  text-align: center;
  font-size: 12px;
  font-weight: bold;
}
.fta-badge > div {
  width: 220px;
  margin: auto;
}
.fta-badge > div > p {
  color: #002248;
  font-size: 12px;
  text-align: left;
  margin: 0;
}
html[data-lang="ar-AE"] .fta-badge > div > p {
  text-align: right !important;
  font-weight: bold !important;
  line-height: 3 !important;
}
.fta-badge > div > img {
  width: inherit;
}
.main {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  margin: 0;
}
.header {
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-size: 16px;
  color: #002147;
}
.logout a {
  cursor: pointer;
  color: #002147;
  font-weight: 500;
  text-decoration: none;
}
.content h3 {
  color: #002147;
}
.content>h3>span.pull-left {
    font-weight: 600;
}
.pull-left {
  float: left !important;
}

.pull-right {
  float: right !important;
}

/** Layout Style End **/


/** Action Button Inline Workaround > Start **/
/* Hide the dropdown button - English & Arabic */
td[aria-label="action menu"] .dropdown > button,
td[aria-label="قائمة الإجراء"] .dropdown > button {
    display: none !important;
}

/* Make dropdown menu always visible and styled as buttons - English & Arabic */
td[aria-label="action menu"] .dropdown-menu,
td[aria-label="قائمة الإجراء"] .dropdown-menu {
    position: static !important;
    transform: none !important;
    display: flex !important;
    gap: 5px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    min-width: auto !important;
    /* flex-wrap: wrap; */
    justify-content: flex-end;
}

/* Style dropdown items as icon buttons - English & Arabic */
td[aria-label="action menu"] .dropdown-item,
td[aria-label="قائمة الإجراء"] .dropdown-item {
    position: static !important;
    width: 25px !important;
    height: 25px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid #ddd !important;
    background: #f8f9fa !important;
    color: #002147 !important;
    text-decoration: none !important;
    border-radius: 4px !important;
    transition: all 0.2s !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    overflow: hidden !important;
}

/* Hide text content, show only icons - English & Arabic */
td[aria-label="action menu"] .dropdown-item,
td[aria-label="قائمة الإجراء"] .dropdown-item {
    font-size: 0 !important;
}

td[aria-label="action menu"] .dropdown-item span,
td[aria-label="action menu"] .dropdown-item i,
td[aria-label="قائمة الإجراء"] .dropdown-item span,
td[aria-label="قائمة الإجراء"] .dropdown-item i {
    font-size: 12px !important;
    margin: 0 !important;
}

/* Hover effects - English & Arabic */
td[aria-label="action menu"] .dropdown-item:hover,
td[aria-label="قائمة الإجراء"] .dropdown-item:hover {
    background: #002147 !important;
    color: #e8f1fb !important;
    text-decoration: none !important;
    border-color: #002147 !important;
    /* transform: scale(1.05) !important; */
}

/* Focus styles - English & Arabic */
td[aria-label="action menu"] .dropdown-item:focus,
td[aria-label="قائمة الإجراء"] .dropdown-item:focus {
    /* outline: 2px solid #007bff !important;
    outline-offset: 2px !important; */
}

/* Remove list styles - English & Arabic */
td[aria-label="action menu"] .dropdown-menu li,
td[aria-label="قائمة الإجراء"] .dropdown-menu li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Responsive adjustments - English & Arabic */
@media (max-width: 768px) {
    td[aria-label="action menu"] .dropdown-menu,
    td[aria-label="قائمة الإجراء"] .dropdown-menu {
        gap: 3px;
    }
    
    td[aria-label="action menu"] .dropdown-item,
    td[aria-label="قائمة الإجراء"] .dropdown-item {
        width: 20px !important;
        height: 20px !important;
    }
    
    td[aria-label="action menu"] .dropdown-item span,
    td[aria-label="action menu"] .dropdown-item i,
    td[aria-label="قائمة الإجراء"] .dropdown-item span,
    td[aria-label="قائمة الإجراء"] .dropdown-item i {
        font-size: 10px !important;
    }
}

/* ALTERNATIVE: Horizontal layout with text (uncomment to use) */
/*
td[aria-label="action menu"] .dropdown-item,
td[aria-label="قائمة الإجراء"] .dropdown-item {
    width: auto !important;
    height: auto !important;
    padding: 4px 8px !important;
    font-size: 12px !important;
}

td[aria-label="action menu"] .dropdown-item span,
td[aria-label="action menu"] .dropdown-item i,
td[aria-label="قائمة الإجراء"] .dropdown-item span,
td[aria-label="قائمة الإجراء"] .dropdown-item i {
    margin-right: 4px !important;
}
*/
/** Action Button Inline Workaround > End **/


#errorModalBody {
  max-height: 115px;
  overflow-y: auto !important;
}

