body {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
}

@media (min-width: 991.98px) {
  main {
    padding-left: 240px;
  }
}

.navbar-brand {
  color: #F5F5F5;
}
.nav-link {
  color: #F5F5F5;
  font-weight: 700;
}
.nav-link:hover {
  color: #a3a3a3;
}
.navbar-toggler {
  color: #fff;
  border: 0;
  margin-right: 5px;
}



/* Navbar Customizations */
.list-group-item {
  color: #333333;

  border: 1px solid #8fd192;
  background-color: #D4FFD6;

  border-left: 1px solid #8fd192 !important;
  border-right: 1px solid #8fd192 !important;
}

.list-group-item.last {
  border-bottom: 1px solid #8fd192 !important;
  border-bottom-left-radius: 5px !important;
  border-bottom-right-radius: 5px !important;
}

.green {
  color: #28a745 !important;
}
.yellow {
  color: #ffc107 !important;
}
.red {
  color: #dc3545 !important;
}
.blue {
  color: #007bff !important;
}
/* Navbar Customizations */

/* Card Customizations */
.card-header {
  font-weight: 700;
}
.card-body {
  background-color: #F5F5F5;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}
/* Card Customizations */

/* Sidebar */
.sidebar{
  position: fixed;

  top: 0;
  bottom: 0;
  left: 0;
  
  padding-right: 14px;
  padding-left: 14px;
  padding-top: 52px;

  width: 240px;

  height: 100%;
  z-index: 600;
  transition: all 0.5s ease;
  background-color: #212529;
}
@media (max-width: 991.98px) {
  .sidebar {
    width: 100%;
  }
}

.sidebar .logo-details{
  height: 60px;
  display: flex;
  align-items: center;
  position: relative;
}
.sidebar .logo-details .icon{
  opacity: 0;
  transition: all 0.5s ease;
}
.sidebar .logo-details .logo_name{
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  opacity: 0;
  transition: all 0.5s ease;
}
.sidebar .logo-details .icon,
.sidebar .logo-details .logo_name{
  opacity: 1;
}
.sidebar .logo-details #btn{
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  font-size: 22px;
  transition: all 0.4s ease;
  font-size: 23px;
  text-align: center;
  cursor: pointer;
  transition: all 0.5s ease;
}
.sidebar .logo-details #btn{
  text-align: right;
}
.sidebar i{
  color: #fff;
  height: 60px;
  min-width: 50px;
  font-size: 28px;
  text-align: center;
  line-height: 60px;
}
.sidebar .nav-list{
  margin-top: 20px;
  height: 100%;
  padding: 0;
}

.sidebar .nav-list .nav-sublist {
  background-color: #fff;
  padding: 0;
  margin: 0;

  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;

  margin-top: -5px;
}
.sidebar .nav-list .nav-sublist li {
  margin: 0;
  background: none;
}
.sidebar .nav-list .nav-sublist li a {
  border: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  background: none;
}
.sidebar .nav-list .nav-sublist li a:hover,
.sidebar .nav-list .nav-sublist li.active a {
  background: #cacaca;
}
.sidebar .nav-list .nav-sublist li a .links_name,
.sidebar .nav-list .nav-sublist li a i {
  color: #212529;
}

.nav-sublist li.active a,
.nav-sublist li a:hover {
  border-radius: 0;
}
.nav-sublist li:last-child.active a,
.nav-sublist li:last-child a:hover {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.sidebar li{
  position: relative;
  margin: 8px 0;
  list-style: none;
}
.sidebar li .tooltip{
  position: absolute;
  top: -20px;
  left: calc(100% + 15px);
  z-index: 3;
  background: #fff;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 400;
  opacity: 0;
  white-space: nowrap;
  pointer-events: none;
  transition: 0s;
}
.sidebar li:hover .tooltip{
  opacity: 1;
  pointer-events: auto;
  transition: all 0.4s ease;
  top: 50%;
  transform: translateY(-50%);
}
.sidebar li .tooltip{
  display: none;
}
.sidebar input{
  font-size: 15px;
  color: #FFF;
  font-weight: 400;
  outline: none;
  height: 50px;
  width: 100%;
  width: 50px;
  border: none;
  border-radius: 12px;
  transition: all 0.5s ease;
  background: #212529;
}
.sidebar input{
  padding: 0 20px 0 50px;
  width: 100%;
}
.sidebar .bx-search{
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  font-size: 22px;
  background: #212529;
  color: #FFF;
}
.sidebar .bx-search:hover{
  background: #212529;
  color: #FFF;
}
.sidebar .bx-search:hover{
  background: #FFF;
  color: #212529;
}

.sidebar li a.dropdown{
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background-color: #fff;
  color: #212529;
}
.sidebar li a.dropdown.collapsed{
  border-radius: 5px;
  background-color: #212529;
}
.sidebar li a.dropdown.collapsed:hover,
.sidebar li.active a.dropdown{
  background-color: #fff;
  color: #212529;
}

.sidebar li a.dropdown .links_name,
.sidebar li a.dropdown i{
  color: #212529;
}
.sidebar li a.dropdown.collapsed .links_name,
.sidebar li a.dropdown.collapsed i{
  color: #fff;
}
.sidebar li a.dropdown:hover .links_name,
.sidebar li a.dropdown:hover i,
.sidebar li.active a.dropdown .links_name,
.sidebar li.active a.dropdown i{
  color: #212529;
}

.sidebar li a{
  display: flex;
  height: 100%;
  width: 100%;
  align-items: center;
  text-decoration: none;
  transition: all 0.4s ease;
  background: #212529;
  border-radius: 5px;
}
.sidebar li .separator{
  height: 5px;
  width: 100%;
  border-radius: 0;

  content: ' ';
  background-color: #a8a8a8;
}
.sidebar li a:hover,
.sidebar li.active a{
  background: #fff;
}
.sidebar li a .links_name{
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: 0.4s;
}
.sidebar li a .links_name{
  opacity: 1;
  pointer-events: auto;
}
.sidebar li a:hover .links_name,
.sidebar li a:hover i,
.sidebar li.active a .links_name,
.sidebar li.active a i{
  transition: all 0.5s ease;
  color: #212529;
}
.sidebar li i{
  height: 50px;
  line-height: 50px;
  font-size: 18px;
  border-radius: 12px;
}
.sidebar li.profile{
  position: fixed;
  height: 60px;
  width: 78px;
  left: 0;
  bottom: -8px;
  padding: 10px 14px;
  background: #212529;
  transition: all 0.5s ease;
  overflow: hidden;
}
.sidebar li.profile{
  width: 250px;
}
.sidebar li .profile-details{
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}
.sidebar li img{
  height: 45px;
  width: 45px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 10px;
}
.sidebar li.profile .name,
.sidebar li.profile .job{
  font-size: 15px;
  font-weight: 400;
  color: #fff;
  white-space: nowrap;
}
.sidebar li.profile .job{
  font-size: 12px;
}
.sidebar .profile #log_out{
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background: #212529;
  width: 100%;
  height: 60px;
  line-height: 60px;
  border-radius: 0px;
  transition: all 0.5s ease;
}
.sidebar .profile #log_out{
  width: 50px;
  background: none;
}
.home-section{
  position: relative;
  background: #E4E9F7;
  min-height: 100vh;
  top: 0;
  left: 78px;
  width: calc(100% - 78px);
  transition: all 0.5s ease;
  z-index: 2;
}
.home-section .text{
  display: inline-block;
  color: #212529;
  font-size: 25px;
  font-weight: 500;
  margin: 18px
}
@media (max-width: 420px) {
  .sidebar li .tooltip{
    display: none;
  }
}
/* Sidebar */

/* Table */
tbody {
  font-size: 12px;
  vertical-align: middle !important;
}

/* Table Head */
table thead tr th,
table tbody tr th {
  background-color: #E0E0E0 !important; /* Light grey */ 
  color: #333333 !important; /* Dark grey text */
}

/* Table Body */
table tbody tr td {
  background-color: #F0F0F0 !important; /* Very light grey */
  color: #333333 !important; /* Dark grey text */
}

/* Optional: Styling for rows and hover effect */
table tbody tr {
  border-bottom: 1px solid #D0D0D0 !important; /* Subtle border for rows */
}

table tbody tr:hover {
  background-color: #D0D0D0; /* Slightly darker grey on hover */
}

.table-btn {
  font-size: 10px;
}

.page-link, .page-link.disabled, .disabled > .page-link {
  background-color: #F0F0F0;
  color: #333333;
  border-color: #D0D0D0;
}
.page-link.active, .active > .page-link {
  background-color: #E0E0E0;
  color: #333333;
  border-color: #D0D0D0;
}

.page-link:hover {
  background-color: #F7F7F7;
  color: #333333;
  border-color: #D0D0D0;
}
/* Table */

/* Tabs */
.nav-tabs {
  border-bottom: none;
  padding: 0;
  margin-bottom: -1.2rem;
}

.nav-tabs .nav-link {
  color: #333;
  background-color: #c2c2c2;
  border: 1px solid #c2c2c2;
  border-bottom: none;
  padding: 0.75rem 1.25rem;
  margin-right: 5px;
  border-radius: 0.25rem 0.25rem 0 0;
}

.nav-tabs .nav-link.active {
  background-color: #E0E0E0;
  color: #333;
  border-color: #dee2e6 #E0E0E0 transparent;
}

.nav-tabs .nav-link:hover {
  background-color: #E0E0E0;
  color: #333;
  border-color: #dee2e6 #E0E0E0 transparent;
}
/* Tabs */

/* Modals */
.modal-content {
  background-color: #f9f9f9;
  border: none;
}
.modal-content .modal-header {
  background-color: #212529;
  color: #F5F5F5;
}
.modal-content .btn-close {
  color: #F5F5F5;
  background-color: #F5F5F5;
}
.modal-content .form-group {
  padding-bottom: 5px;
}
.modal-content .form-group:last-child {
  padding-bottom: 0;
}
/* Modals */

/* Bootstrap Select */
.bootstrap-select .dropdown-toggle,
.bootstrap-select .form-control {
  padding: 0.375rem 0.75rem;
  font-size: 0.9rem;
  line-height: 1.6;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  background-color: #f0f0f0;
  color: #333;
}

.select2-container--default .select2-selection--multiple {
  background-color: #f0f0f0 !important;
  border: 1px solid #dee2e6 !important;
  border-radius: 0.375rem !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
  border: 1px solid #5a5c5d !important;
  box-shadow: none !important;
}

.select2-container--default.select2-container--disabled .select2-selection--multiple {
  border: 1px solid #ced4da !important;
  border-radius: 0.375rem !important;
  background-color: #d3d2d2 !important;
  color: #333 !important;
}

.bootstrap-select .dropdown-menu {
  border-radius: 0.375rem;
  background-color: #E7E7E7;
}

.bootstrap-select .dropdown-menu .inner {
  max-height: 200px;
  overflow-y: auto;
}

.bootstrap-select .dropdown-toggle:focus {
  border-color: #212529;
  box-shadow: none !important;
  outline: none !important;
}

.form-group .bootstrap-select .dropdown-toggle:focus, .bootstrap-select>select.mobile-device:focus+.dropdown-toggle {
  outline: none !important;
  outline-offset: none !important;
  clear: all;
}

.bootstrap-select .dropdown-item.active,
.bootstrap-select .dropdown-item:active {
  background-color: #212529;
}
/* Bootstrap Select */

/* Alerts */
#alertContainer {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  z-index: 2000;
  padding: 1rem; /* Example padding */
}
/* Alerts */

/* Global form */
.form-group {
  padding-bottom: 10px;
}
.tab-form-section {
  padding-bottom: 10px;
}
.form-control {
  background-color: #f0f0f0 !important;
}
.form-control:disabled {
  background-color: #d3d2d2 !important;
}
.form-control:focus {
  border-color: #5a5c5d;
  box-shadow: none !important;
}
.form-control.disabled button {
  background-color: #d3d2d2 !important;
}
/* Global form */

/* FancyTables */
table .pag {
  background-color: transparent;
}
table .fancySearchRow input {
  font-size: 14px;
  padding-left: 10px;
  padding-top: 6px;
  padding-bottom: 6px;
  border: 1px solid #bbbbbb;
  border-radius: 0.375rem;
}
/* FancyTables */
