/**
 * Investor Portal Menu Styles
 * 
 * Special styling for the investor portal menu item on the investors page.
 * Uses the site's teal color for the portal link with a pipe separator.
 */

/* Investor Portal Menu Item */
.investor-portal-menu-item {
  display: flex;
  align-items: center;
  margin-left: 0.5rem;
  white-space: nowrap;
}

/* Menu Separator */
.menu-separator {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.9rem;
  font-weight: 300;
  margin-right: 1.5rem;
  user-select: none;
}

/* Investor Portal Link */
.investor-portal-link {
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--color-accent-main) !important;
  /* Use site's teal color */
  text-decoration: none;
  transition: all 0.3s ease;
  text-transform: none;
  padding: 0.25rem 1.2rem;
  border-radius: 100px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(126, 228, 179, 0.1);
  /* Subtle teal background */
  border: 1px solid rgba(126, 228, 179, 0.2);
}

/* Portal Arrow Icon */
.portal-arrow {
  font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', 'FontAwesome' !important;
  font-size: 0.8rem;
  color: currentColor;
  transition: transform 0.3s ease;
}

/* Hover effect for investor portal link */
.investor-portal-link:hover {
  background: rgba(126, 228, 179, 0.2);
  color: var(--color-accent-main) !important;
  box-shadow: 0 0 8px rgba(126, 228, 179, 0.4);
  transform: translateY(-1px);
  border-color: rgba(126, 228, 179, 0.4);
}

/* Arrow animation on hover */
.investor-portal-link:hover .portal-arrow {
  transform: translateX(3px);
}

/* Active state */
.investor-portal-link:active {
  transform: translateY(0);
  box-shadow: 0 0 4px rgba(126, 228, 179, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .investor-portal-menu-item {
    margin-left: 0.5rem;
  }

  .menu-separator {
    font-size: 0.8rem;
    margin-right: 0.8rem;
  }

  .investor-portal-link {
    font-size: 0.8rem;
    padding: 0.2rem 1rem;
  }
}

@media (max-width: 576px) {
  .investor-portal-menu-item {
    margin-left: 0.3rem;
  }

  .menu-separator {
    font-size: 0.75rem;
    margin-right: 0.6rem;
  }

  .investor-portal-link {
    font-size: 0.75rem;
    padding: 0.2rem 0.8rem;
  }
}

/* Responsive spacing adjustments */
@media (max-width: 768px) {
  .investor-portal-menu-item {
    margin-left: 0.3rem;
  }
}

@media (max-width: 576px) {
  .investor-portal-menu-item {
    margin-left: 0.2rem;
  }
}

/* not dropdown-menu class */
nav ul li a:hover {
  color: var(--color-accent-main) !important;
  box-shadow: 0 0 4px rgba(126, 228, 179, 0.5) !important;
}

nav ul li a:hover:not(.dropdown-item) {
  background: rgba(126, 228, 179, 0.15) !important;
}

.dropdown-trigger:hover {
  background: rgba(126, 228, 179, 0.15) !important;
  color: var(--color-accent-main) !important;
  box-shadow: 0 0 4px rgba(126, 228, 179, 0.5) !important;
}

.dropdown-item-text::after {
  background: linear-gradient(90deg, var(--color-accent-main), var(--color-accent-main)) !important;
}

/* Mobile Investor Portal Link Styles */
.mobile-investor-portal-link {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--color-accent-main) !important;
  text-decoration: none;
  transition: all 0.3s ease;
  text-transform: none;
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(126, 228, 179, 0.1);
  border: 1px solid rgba(126, 228, 179, 0.2);
  width: fit-content;
}

.mobile-investor-portal-link i {
  font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', 'FontAwesome' !important;
}

.mobile-investor-portal-link:hover {
  background: rgba(126, 228, 179, 0.2);
  color: var(--color-accent-main) !important;
  box-shadow: 0 0 8px rgba(126, 228, 179, 0.4);
  transform: translateY(-1px);
  border-color: rgba(126, 228, 179, 0.4);
}

.mobile-investor-portal-link:active {
  transform: translateY(0);
  box-shadow: 0 0 4px rgba(126, 228, 179, 0.3);
}

.mobile-investor-portal-link .portal-arrow {
  font-size: 0.9rem;
}

.mobile-investor-portal-link:hover .portal-arrow {
  transform: translateX(3px);
}