/* Shared LPPM UNUSIA Public Topbar & Sticky Navbar (consistent across Tailwind & Bootstrap pages) */
.lppm-navbar-wrap {
  position: sticky;
  top: 0;
  z-index: 1030;
  background-color: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, sans-serif;
}

.lppm-navbar-wrap *,
.lppm-navbar-wrap *::before,
.lppm-navbar-wrap *::after {
  box-sizing: border-box;
}

.lppm-topbar {
  background-color: #065f46;
  color: #ecfdf5;
  font-size: 12px;
  line-height: 1.4;
  padding: 8px 16px;
  border-bottom: 1px solid rgba(6, 78, 59, 0.25);
}

.lppm-topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.lppm-topbar-contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.lppm-topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ecfdf5 !important;
  text-decoration: none !important;
  transition: color 0.15s ease;
}

.lppm-topbar-link:hover {
  color: #ffffff !important;
}

.lppm-topbar-link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.lppm-topbar-uni {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #a7f3d0;
}

.lppm-nav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 16px;
}

.lppm-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lppm-nav-brand {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  text-decoration: none !important;
}

.lppm-nav-brand img {
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

.lppm-nav-desktop {
  display: none;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: #334155;
}

.lppm-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 6px;
  color: #334155 !important;
  text-decoration: none !important;
  transition: background-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.lppm-nav-link:hover {
  background-color: #ecfdf5;
  color: #047857 !important;
}

.lppm-nav-link.is-accent {
  color: #047857 !important;
  font-weight: 600;
}

.lppm-nav-link svg {
  width: 14px;
  height: 14px;
  color: #94a3b8;
  flex-shrink: 0;
}

.lppm-dropdown {
  position: relative;
}

.lppm-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  padding-top: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
  z-index: 1050;
}

.lppm-dropdown-menu.is-wide {
  min-width: 290px;
}

.lppm-dropdown-menu.is-medium {
  min-width: 260px;
}

.lppm-dropdown-menu.is-right {
  min-width: 270px;
  left: auto;
  right: 0;
}

.lppm-dropdown:hover .lppm-dropdown-menu,
.lppm-dropdown:focus-within .lppm-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lppm-dropdown-card {
  border-radius: 12px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
  padding: 8px 0;
  font-size: 14px;
}

.lppm-dropdown-item {
  display: block;
  padding: 8px 16px;
  color: #334155 !important;
  text-decoration: none !important;
  line-height: 1.45;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.lppm-dropdown-item:hover {
  background-color: #ecfdf5;
  color: #047857 !important;
}

.lppm-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lppm-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #475569;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.lppm-nav-toggle:hover {
  background-color: #f1f5f9;
  color: #065f46;
}

.lppm-nav-toggle svg {
  width: 24px;
  height: 24px;
}

.lppm-nav-panel {
  margin-top: 12px;
  padding: 16px 0 12px;
  border-top: 1px solid #f1f5f9;
}

.lppm-nav-panel.hidden {
  display: none !important;
}

.lppm-nav-mobile-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
}

.lppm-nav-mobile-link {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: #334155 !important;
  text-decoration: none !important;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.lppm-nav-mobile-link:hover {
  background-color: #ecfdf5;
  color: #047857 !important;
}

.lppm-nav-mobile-link.is-accent {
  color: #047857 !important;
  font-weight: 600;
}

.lppm-nav-mobile-cta-wrap {
  padding-top: 8px;
}

.lppm-nav-mobile-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px 16px;
  border-radius: 8px;
  background-color: #047857;
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none !important;
  transition: background-color 0.15s ease;
}

.lppm-nav-mobile-cta:hover {
  background-color: #065f46;
  color: #ffffff !important;
}

@media (min-width: 640px) {
  .lppm-topbar-inner {
    flex-direction: row;
  }

  .lppm-nav {
    padding: 14px 24px;
  }
}

@media (min-width: 1024px) {
  .lppm-nav {
    padding: 14px 32px;
  }

  .lppm-nav-desktop {
    display: flex;
  }

  .lppm-nav-toggle,
  .lppm-nav-panel {
    display: none !important;
  }
}
