.top_header_bar {
  background-color: #91dcff;
  height: 80px;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1004;
  border-bottom: 1px solid #e2e8f0;
}

#account_icon_space {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100%;
  background-color: white;
  box-shadow: none;
  transition: right 0.4s ease;
  z-index: 10002;
  display: flex;
  flex-direction: column;
  padding: 0px;
  box-sizing: content-box !important;
}

#account_icon_space.show {
  right: 0 !important;
  opacity: 1 !important;
  box-sizing: content-box !important;
  box-shadow: -5px 0 5px rgba(0, 0, 0, 0.2);
}

.RMR {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  height: 60px;
  width: auto;
  top: 15px;
  left: 15px;
  z-index: 1001;
  box-sizing: content-box !important;
}

.center {
  margin-top: 10%;
  margin-bottom: 10%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: content-box !important;
}

.inquence_nav {
  width: 100%;
  display: none;
  justify-content: center;
  flex-direction: column;
  /* Stack the navigation items vertically */
  align-items: start;
  /* Align the items to the start (left side) */
}

.inquence_ul {
  list-style-type: none;
  margin: 0;
  position: relative;
  padding: 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.inquence_li {
  list-style-type: none;
  position: relative;
  padding: 0.625rem 0 0.5rem;
  display: flex;
  flex-direction: row;
  align-items: center;
}

/* Optional: Remove the margin on the last item to balance spacing */
.inquence_li:last-child {
  margin-right: 0;
}

.inquence_li a {
  text-decoration: none;
  padding: 8px 20px;
  /* Spacing around the text */
  display: inline-flex;
  align-items: center;
  background-color: transparent;
  /* Ensure no background is applied */
  border: none;
  width: 100%;
  /* Remove any border */
  color: inherit;
  /* Use the inherited text color */
  position: relative;
  /* Add relative positioning to the anchor */
  overflow: hidden;
  /* Ensure the line is contained within the link */
}

.inquence_li a:hover {
  color: #379eff;
  /* Change text color on hover */
  box-shadow: none;
  border-radius: 0;
  /* Ensure no rounding */
}

.inquence_li a:hover::after {
  transform: translateX(0);
  /* Move the line into view on hover */
  box-shadow: none;
  border-radius: 0;
  /* Ensure no rounding */
}

.disable-hover {
  box-shadow: none;
  /* No hover shadow */
  pointer-events: none !important;
  /* Disable hover interactions */
}

.inquence_li_tour_home,
.inquence_li_tour_role,
.inquence_li_tour_message,
.inquence_li_tour_rating,
.inquence_li_tour_account,
.inquence_li_tour_logout {
  color: #379eff;
  /* Change text color on hover */
  box-shadow: none;
  border-radius: 0;
  /* Ensure no rounding */
  transform: translateX(0);
  /* Move the line into view on hover */
}

.inquence_li p {
  font-size: 17px;
  color: black;
  font-weight: 500;
  margin: 0.4rem 0;
}

.inquence_li p {
  text-decoration: none;
  padding: 8px 20px;
  /* Spacing around the text */
  display: inline-flex;
  align-items: center;
  background-color: transparent;
  /* Ensure no background is applied */
  border: none;
  /* Remove any border */
  color: inherit;
  /* Use the inherited text color */
  position: relative;
  /* Add relative positioning to the anchor */
  overflow: hidden;
  /* Ensure the line is contained within the link */
}

.inquence_li ::after {
  content: "";
  /* Create an empty pseudo-element */
  position: absolute;
  /* Position it absolutely */
  left: 0;
  /* Start from the left */
  bottom: 0;
  /* Position at the bottom of the link */
  width: 100%;
  /* Full width */
  height: 3px;
  /* Thickness of the line */
  background-color: #379eff;
  /* Color of the line */
  transform: translateX(-101%);
  /* Initially position it off-screen to the left */
  transition: transform 0.3s ease;
  /* Smooth transition for the animation */
  border-radius: 0;
  /* Ensure no rounding */
  box-shadow: none;
}

#inquence_user {
  font-size: 17px;
  color: black;
  font-weight: 500;
  margin: 0.4rem 0;
}

.logout_button {
  list-style-type: none;
  position: relative;
  align-items: center;
  padding: 0.625rem 0 0.5rem;
}

.logout_button a {
  text-decoration: none;
  padding: 14px 13px;
  /* Spacing around the text */
  display: inline-flex;
  align-items: center;
  background-color: lightgray;
  border: none;
  /* Remove any border */
  border-radius: 10px;
  color: inherit;
  /* Use the inherited text color */
  position: relative;
  /* Add relative positioning to the anchor */
  overflow: hidden;
  /* Ensure the line is contained within the link */
}

.logout_button a:hover {
  background-color: #379eff;
  /* Change text color on hover */
  box-shadow: none;
  border-radius: 10px;
}

.inquence_welcome-message {
  display: flex;
  align-items: center;
  margin-top: auto;
  gap: 10px;
  padding-left: 20px;
  padding-right: 20px;
}

#extra-menu {
  right: auto;
}

.inquence_li:hover > .inquence_li {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s, 0s;
}

.inquence_li:not(:hover) {
  pointer-events: auto;
}

.inquence_sub-item {
  width: 235px;
  display: flex;
  align-items: center;
  gap: 0.725rem;
  cursor: pointer;
  padding: 0.5rem 1.5rem;
}

.inquence_sub_item_hover_effect {
  background-color: rgba(232, 232, 232, 0.4);
  z-index: 100020;
}

.inquence_sub_item_hover_effect .material-icons-outlined {
  color: #ff9800;
  transform: scale(1.1) translateY(-2px);
  cursor: pointer;
}

.inquence_sub_item_hover_effect .inquence_sub-item p {
  color: #000;
  cursor: pointer;
}

.inquence_sub-item:hover {
  background-color: rgba(232, 232, 232, 0.4);
}

.inquence_sub-item:hover .material-icons-outlined {
  color: #ff9800;
  transform: scale(1.1) translateY(-2px);
  cursor: pointer;
}

.inquence_sub-item:hover p {
  color: #000;
  cursor: pointer;
}

.inquence_sub-item p {
  font-size: 0.85rem;
  color: #888888;
  font-weight: 500;
  margin: 0.4rem 0;
  flex: 1;
}

.inquence_sub-item a span,
.inquence_sub-item a p {
  display: inline-block;
}

.inquence_sub-item a {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0px;
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 1004;
  box-sizing: unset !important;
}

.menu_hamburger {
  padding: 20px;
  right: 0px;
  top: 0px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 4px;
  background-color: black;
  border-radius: 2px;
  transition: background-color 0.3s;
}

.hamburger:hover span {
  background-color: #379eff;
}

.profile_icon_pic {
  width: 20%;
  border-radius: 50%;
}

.blue-dot {
  display: none;
  align-items: center;
  justify-content: center;
  position: relative;
  right: 40px;
  bottom: 5px;
  cursor: pointer;
  width: 20px;
  height: 20px;
  background-color: #379eff;
  border-radius: 50%;
  color: white;
  font-size: 12px;
  text-align: center;
  line-height: 16px;
}

.blue-dot::after {
  width: 0px;
}

.notifications_blue_dot {
  display: none;
  align-items: center;
  justify-content: center;
  position: relative;
  right: 40px;
  bottom: 5px;
  cursor: pointer;
  width: 20px;
  height: 20px;
  background-color: #379eff;
  border-radius: 50%;
  color: white;
  font-size: 12px;
  text-align: center;
  line-height: 16px;
}

.notifications_blue_dot::after {
  width: 0px;
}

.home-button {
  position: absolute;
  top: 0px;
  right: 15px;
  max-width: 95px;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 16px;
  background-color: #0095f6;
  color: white;
  border: none;
  cursor: pointer;
  padding: 10px 20px;
  font-size: 15px;
  border-radius: 10px;
  margin-top: 15px;
  display: block;
  width: 100%;
}

.home-button:hover {
  background-color: #007acb;
}

.input-wrapper {
  position: relative;
  margin-bottom: 30px; /* Ensure space for floating error message */
  width: 100%;
}

.input-error-message {
  position: absolute;
  top: 100%;
  left: 0px;
  color: red;
  font-size: 13px;
  margin-top: 4px;
  display: none; /* Show only when needed */
}

.error_highlight {
  border: 1px solid #f44336 !important;
}

.glowing-button {
  border: 2px solid #0095f6;
  border-radius: 5px;
  cursor: pointer;
  animation: glow-outline 2s infinite;
}

@keyframes glow-outline {
  0% {
    box-shadow: 0 0 5px #0095f6;
  }

  50% {
    box-shadow: 0 0 12px #0095f6;
  }

  100% {
    box-shadow: 0 0 5px #0095f6;
  }
}
