/* =====================================
   Obepro Help Dropdown Luxury
   Targets ONLY menu item flagged by JS:
   .obepro-help-menu and .obepro-help-submenu
   ===================================== */

.obepro-help-menu{ position: relative; }

.obepro-help-menu .obepro-help-submenu{
  width: 248px;
  min-width: 220px;
  max-width: 280px;
  margin-top: 10px;
  padding: 10px 10px;

  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.16);
  backdrop-filter: blur(8px);

  left: auto !important;
  right: 0 !important;

  list-style: none;
  overflow: hidden;

  transform-origin: top right;

  z-index: 99999;
  position: absolute;
}

/* Prevent huge default panels */
.obepro-help-menu .obepro-help-submenu li{
  margin: 0 !important;
  padding: 0 !important;
}

.obepro-help-menu .obepro-help-submenu a{
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 10px 10px;
  border-radius: 10px;

  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.1px;

  color: #111827 !important;
  text-decoration: none !important;
  line-height: 1.2;
}

.obepro-help-menu .obepro-help-submenu a:hover,
.obepro-help-menu .obepro-help-submenu a:focus{
  background: rgba(17, 24, 39, 0.06);
  outline: none;
}

/* Divider after first item */
.obepro-help-menu .obepro-help-submenu li:first-child{
  padding-bottom: 6px !important;
  margin-bottom: 6px !important;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

/* Small caret */
.obepro-help-menu .obepro-help-submenu:before{
  content: "";
  position: absolute;
  top: -7px;
  right: 18px;
  width: 12px;
  height: 12px;
  background: rgba(255,255,255,0.98);
  border-left: 1px solid rgba(17, 24, 39, 0.10);
  border-top: 1px solid rgba(17, 24, 39, 0.10);
  transform: rotate(45deg);
}

/* Show on hover/focus-within */
.obepro-help-menu .obepro-help-submenu{ display: none; }
.obepro-help-menu:hover .obepro-help-submenu,
.obepro-help-menu:focus-within .obepro-help-submenu{ display: block; }

@media (max-width: 768px){
  .obepro-help-menu .obepro-help-submenu{
    width: 92vw;
    max-width: 340px;
    right: 10px !important;
  }
}
