.text-official {
  color: #006e38 !important;
}

.t-black {
  color: #000 !important;
}

.t-white {
  color: #ffffff !important;
}

.bg-official {
  background: linear-gradient(to right, #caf6c0, #006e38) !important;
}

/* Style for the page loader container */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Ensure it's on top of everything */
}

/* Style for the loader icon */
.loader-icon {
  font-size: 3rem; /* Adjust the size as needed */
  animation: spin 1s linear infinite; /* Create a rotation animation */
}

/* Keyframes for the rotation animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Style for the content (visible when loading is complete) */
.content {
  display: none; /* Initially hide the content */
  text-align: center;
  padding: 20px;
}

/* Sidebar */
.navbar-vertical .navbar-nav > .nav-item .nav-link.active {
  color: #fff !important;
  background-color: #fff !important;
}

.navbar-vertical .navbar-nav > .nav-item .nav-link.active .icon {
  background-image: linear-gradient(
    310deg,
    #caf6c0 0%,
    #006e38 100%
  ) !important;
  color: #000 !important;
}

.btn-primary,
.btn.bg-gradient-primary {
  color: #fff !important;
}

.btn-primary:hover,
.btn.bg-gradient-primary:hover {
  color: #fff !important;
}

.icon-shape i {
  color: #000 !important;
  opacity: 0.8;
  top: 11px;
  position: relative;
}

.bg-gradient-primary {
  background-image: linear-gradient(310deg, #caf6c0 0%, #006e38 100%) !important;
}

.navbar-vertical .navbar-nav > .nav-item .nav-link.active {
  color: #344767 !important;
  background-color: #fff !important;
}

/*botton-nav*/

.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  width: calc(100% - 16px);
  /* Subtract the left and right padding */
  background-color: #fff;
  overflow-x: scroll;
  white-space: nowrap;
  color: white;
  z-index: 9999;
  scroll-snap-type: x mandatory;
  border-radius: 16px;
  /* Add rounded corners */
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  /* Add shadow */
  margin: 8px;
  /* Add distance from the top and bottom */
}

.bottom-nav::-webkit-scrollbar {
  display: none; /* for Chrome, Safari, and Opera */
}

.bottom-nav a {
  text-align: center;
  padding: 12px;
  text-decoration: none;
  font-size: 18px;
  color: #344767;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 25%;
  scroll-snap-align: start;
}

.bottom-nav a span {
  display: none;
}

.bottom-nav a:hover {
  background: linear-gradient(to right, #caf6c0, #006e38) !important;
  color: #fff;
}

.bottom-nav a.active {
  background: linear-gradient(to right, #caf6c0, #006e38) !important;
  color: #000;
}

/* Show the bottom nav on small screens */
@media screen and (max-width: 600px) {
  .bottom-nav {
    display: flex;
  }

  .bottom-nav a span {
    display: block;
  }
}

.modal-body-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.slide-right-to-left-enter {
  animation: slideRightToLeftEnter 0.5s forwards;
}

.slide-right-to-left-exit {
  animation: slideRightToLeftExit 0.5s forwards;
}

@keyframes slideRightToLeftEnter {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideRightToLeftExit {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(-100%);
    opacity: 0;
  }
}
