/* Navbar */
.navbar {
  width: 100%;
  background-color: var(--main);
  position: sticky;
  top: 0px;
  left: 0px;
  border-bottom: 1px solid var(--secondary);
  z-index: 999 !important;
}

.navbar .icons .user,
.offcanvas-header .user {
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar .icons .user img,
.offcanvas-header .user img {
  z-index: 10;
  border-radius: 50%;
  object-fit: cover;
}

.navbar .icons .user h6,
.offcanvas-header .user h6 {
  margin-left: -10px !important;
  z-index: 5;
  background-color: var(--primary);
  color: var(--secondary);
  text-transform: capitalize;
}

.responsive_button {
  background-color: var(--secondary);
  color: var(--primary);
  height: 30px;
  width: 30px;
  font-size: 18px;
  align-items: center;
  justify-content: center;
  margin: auto;
  padding: 5px;
  border-radius: 5px;
}

@media screen and (min-width: 1140px) {

  /* Navbar */
  .navbar {
    display: flex;
    justify-content: space-between;
    padding: 10px 50px;
  }

  .navbar .icons {
    display: flex;
    justify-content: end;
    align-items: center;
    column-gap: 15px;
  }

  .navbar .icons .user img,
  .offcanvas-header .user img {
    height: 40px;
    width: 40px;
  }

  .navbar .icons .user h6,
  .offcanvas-header .user h6 {
    font-size: 10px;
  }

  .responsive_button,
  .navlogo {
    display: none;
  }

}

@media screen and (min-width:767px) and (max-width:1140px) {

  /* Navbar */
  .navbar {
    display: block !important;
    padding: 10px 50px;
  }

  .navbar .icons {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .navbar .user img,
  .offcanvas-header .user img {
    height: 35px;
    width: 35px;
  }

  .navbar .user h6,
  .offcanvas-header .user h6 {
    font-size: 10px;
  }

  .responsive_button {
    display: flex;
  }

}

/* Tablet View 2 */
@media screen and (max-width:767px) {

  /* Navbar */
  .navbar {
    display: block !important;
    padding: 10px !important;
  }

  .navbar .icons {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .offcanvas-header .user {
    display: flex;
    align-items: center;
    justify-content: start;
  }

  .navbar .user {
    display: none !important;
  }

  .navbar .user img,
  .offcanvas-header .user img {
    height: 35px;
    width: 35px;
  }

  .navbar .user h6,
  .offcanvas-header .user h6 {
    font-size: 10px;
    padding: 5px 10px 5px 15px !important;
  }

  .responsive_button {
    display: flex;
  }

}

/* Style for the toggle switch */
/* .theme-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: var(--secondary);
    transition: 0.4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--main);
}

input:checked+.slider:before {
    transform: translateX(20px);
} */