* {
  box-sizing: border-box;
  font-family: 'Cairo', sans-serif;
  /* box-shadow: 0rem 0.16667rem 0.33333rem rgba(0, 0, 0, 0.16); */
}

a {text-decoration: none; color: unset}

nav.navbar {
  background-color: #fff;
}

body {
  background-color: #f4f6fe;
  color: #1f3b64;
}
.dark-mode {
  background-color: #333 !important;
  color: #fff;
  --bs-table-bg: #333;
  --bs-table-color: #fff;
}
.dark-mode .bg-white, .dark-mode .card, .dark-mode table {
  background-color: #3c3c3c !important;
  color: #fff;
  --bs-table-bg: #444;
  --bs-table-color: #fff;
}
body.dark-mode nav.navbar, body.dark-mode .sidebar, body.dark-mode .sidebar * {
  background-color: #222;
  color: #eee !important;
}

.notifications .dropdown-toggle::after {display: none !important}

.notification-icon {
  position: relative;
  display: inline-block;
  cursor: pointer;
}
.notification-icon .fa-bell {
  font-size: 20px;
  /* color: #333; */
}
.notification-icon .badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: #f00;
  color: #fff;
  font-size: 12px;
  padding: 0 6px;
  height: 20px;
  text-align: center;
  line-height: 20px;
  border-radius: 50%;
  font-weight: bold;
}

.form-switch .form-check-input {
  height: 20px;
  width: 2.3em;
}

.btn-primary {
  background-color: #1f3b64;
  border-color: #1f3b64;
}

i {
  /* color: #1f3b64; */
  width: 1.1em;
}

.settings-nav .nav-link {
  color: unset;
}
.settings-nav .nav-link.active {
  display: none;
}

/* Sidebar */
.sidebar {
  background-color: #fff;
  height: calc(100vh - 70px);
  width: 15rem;
  position: sticky;
  top: 70px;
  box-shadow: var(--bs-box-shadow) !important;
  color: #000;
}

.sidebar .logo {
  text-align: center;
  padding: 1rem 0;
  letter-spacing: 1.5px;
  color: #222;
}

.sidebar .links {
  font-size: 0.9rem;
  overflow-y: auto;
  /* height: calc(100% - 3.7rem); */
  /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
}

.sidebar .links::-webkit-scrollbar {
  display: none;
}

.sidebar:hover .links::-webkit-scrollbar {
  display: block;
}

.sidebar .links .link {
  display: flex;
  align-items: center;
  font-weight: bold;
  padding: 1.2rem 1.8rem;
}

.sidebar .links svg, .sidebar .links i {
  margin-left: 1.3rem;
  fill: #78828a;
  font-size: 20px;
}

.sidebar .link.active, .sidebar .link:hover, .accordion-button:hover, .accordion-button.active {
  background-color: #f8fafb !important;
  color: #000 !important;
}

.dark-mode .sidebar .link.active, .dark-mode .sidebar .link:hover {
  background-color: #333 !important;
  color: #f8fafb !important;
}


table.rounded {
  border-radius: 0.5rem !important;
  overflow: hidden;
}
