/**
 * Styles for restricted menu items
 */

/* Restricted menu item styling */
.menu-item-restricted {
  cursor: not-allowed !important;
  opacity: 0.6;
  position: relative;
  margin-left: 10px;
}

.menu-item-restricted a {
  cursor: not-allowed !important;
  pointer-events: none;
  color: #999 !important;
}

/* Tooltip styling */
.tooltip {
  position: absolute;
  z-index: 9999;
  display: block;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: normal;
  line-height: 1.42857143;
  text-align: left;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  letter-spacing: normal;
  word-break: normal;
  word-spacing: normal;
  word-wrap: normal;
  white-space: normal;
  filter: alpha(opacity=0);
  opacity: 0;
}

.tooltip.in {
  filter: alpha(opacity=90);
  opacity: 0.9;
}

.tooltip.top {
  padding: 5px 0;
  margin-top: -3px;
}

.tooltip.right {
  padding: 0 5px;
  margin-left: 3px;
}

.tooltip.bottom {
  padding: 5px 0;
  margin-top: 3px;
}

.tooltip.left {
  padding: 0 5px;
  margin-left: -3px;
}

.tooltip-inner {
  max-width: 280px;
  min-width: 200px;
  padding: 10px 15px;
  color: #fff;
  text-align: left;
  background-color: #000;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.tooltip-arrow {
  position: absolute;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
}

.tooltip.top .tooltip-arrow {
  bottom: 0;
  left: 50%;
  margin-left: -5px;
  border-width: 5px 5px 0;
  border-top-color: #000;
}

.tooltip.bottom .tooltip-arrow {
  top: 0;
  left: 50%;
  margin-left: -5px;
  border-width: 0 5px 5px;
  border-bottom-color: #000;
}

.tooltip.right .tooltip-arrow {
  top: 50%;
  left: 0;
  margin-top: -5px;
  border-width: 5px 5px 5px 0;
  border-right-color: #000;
}

.tooltip.left .tooltip-arrow {
  top: 50%;
  right: 0;
  margin-top: -5px;
  border-width: 5px 0 5px 5px;
  border-left-color: #000;
}

/* Additional styling for better UX */
.menu-item-restricted:hover {
  opacity: 0.8;
}

/* Make sure accessible items are fully visible */
.menu-item-accessible {
  opacity: 1 !important;
}

.menu-item-accessible a {
  cursor: pointer !important;
  pointer-events: auto !important;
}

/* Fix menu dropdown alignment */
.menu--main .menu-item-restricted {
  display: block;
  width: 100%;
}

.menu--main .menu-item-restricted a {
  display: block;
  padding: 8px 15px;
  white-space: nowrap;
}

/* Ensure consistent styling with other menu items */
nav .menu-item-restricted a {
  text-decoration: none;
}

/* Mobile menu alignment fix */
@media (max-width: 991px) {
  .menu-item-restricted a {
    padding: 10px 20px;
  }
}
