/* Main Navigation */
.nav-option {
  position: relative;
  width: 100%;
  height: 27px;
  border-radius: 6px;
  padding: 0px 10px;
  display: flex;
  align-items: center;
  gap: 10px;

  transition: all 0.5s ease-in-out;
}

.main-nav.small .nav-option {
  padding: 0px 5px;
  border-radius: 7px;
}

.nav-option.active {
  background-color: rgba(245, 245, 245, 1);
}

.nav-option span {
  font-size: 18px;
  color: rgba(28, 27, 31, 1);
}

.nav-option.active span {
  font-variation-settings: "FILL" 1;
}

.nav-option-name {
  width: 100%;
  font-size: 11px;
  font-weight: 500;
  color: rgba(0, 0, 0, 1);

  white-space: nowrap;
  text-overflow: ellipsis;

  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.5s ease-in-out;
}

.notifications-indicator {
  height: 17px;
  padding: 0px 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 500;
  color: rgba(109, 109, 109, 1);
  border-radius: 3px;
  background-color: rgba(245, 245, 245, 1);
}

.nav-option-name.hide {
  opacity: 0;
  visibility: hidden;
}

.nav-user {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 0px 25px;
  cursor: pointer;
  transition: all 0.5s ease-in-out;
}

.main-nav.small .nav-user {
  padding: 0px 11px;
}

.nav-user-image {
  min-width: 32px;
  width: 32px;
  height: 32px;
  background-color: rgba(245, 245, 245, 1);
  border: 2px solid rgba(234, 234, 234, 1);
  border-radius: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: capitalize;
  font-size: 11px;
  font-weight: 600;
}

.nav-user-info {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.5s ease-in-out;
}

.nav-user-info.hide {
  opacity: 0;
  visibility: hidden;
}

.nav-user-name {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: capitalize;
}

.nav-user-role {
  font-size: 10px;
  font-weight: 400;
  color: rgba(172, 172, 172, 1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-user-indicator span {
  font-size: 12px;
  color: rgba(28, 27, 31, 1);
}

.nav-option-label {
  position: absolute;
  z-index: 999;
  height: 21px;
  padding: 0px 11px;
  background-color: black;
  color: rgba(234, 234, 234, 1);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;

  left: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease-in-out;
}

.nav-option:hover .nav-option-label {
  left: 36px;
  opacity: 1;
  visibility: visible;
}

.nav-user:hover .nav-option-label {
  left: 48px;
  opacity: 1;
  visibility: visible;
}

.nav-option-label::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 6px solid black;
}

/* Nav Popup */
.nav-popup {
  position: absolute;
  z-index: 9999;
  bottom: 10px;
  left: 90%;
  width: 200px;
  padding: 15px 0px;
  background-color: rgba(255, 255, 255, 1);
  border-radius: 10px;
  box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease-in-out;
}

.nav-popup.view {
  opacity: 1;
  visibility: visible;
  left: calc(100% + 18px);
  bottom: 27px;
}

.nav-pop-user {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 0px 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(240, 240, 240, 1);
}

.nav-pop-options {
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-bottom: 1px solid rgba(240, 240, 240, 1);
}

.nav-pop-option {
  font-size: 11px;
  font-weight: 400;
  color: rgba(101, 101, 101, 1);
}

.nav-pop-signout {
  padding: 0px 20px;
  padding-top: 10px;
}

.nav-signout {
  display: flex;
  align-items: center;
  justify-content: space-between;

  font-size: 11px;
  font-weight: 500;
  color: black;

  cursor: pointer;
}

.nav-signout span {
  font-size: 16px;
  color: rgba(28, 27, 31, 1);
}
