/* Fix body overflow to allow page scrolling */
body {
  overflow: auto !important;
}

.main {
  max-height: none !important;
}

/* PhAIL Navbar Styling */

.phail-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 2rem;
  background-color: #0a1929;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.navbar-brand {
  font-size: 1.25rem;
  font-weight: 600;
  color: #f9fafb;
  text-decoration: none;
  transition: color 0.2s ease;
}

.navbar-brand:hover {
  color: rgb(177, 231, 79);
}

.navbar-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.navbar-links a {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  color: rgb(107, 114, 128);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  background-color: transparent;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.08s ease;
}

.navbar-links a:hover {
  color: rgb(177, 231, 79);
  background-color: rgba(177, 231, 79, 0.1);
}

/* Active link - matches current page with glow effect */
.navbar-links a.active {
  background-color: rgb(177, 231, 79);
  color: rgb(2, 6, 23);
  font-weight: 400;
  box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.9), 0 10px 24px rgba(177, 231, 79, 0.35);
}

.navbar-links a.active:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(177, 231, 79, 0.5);
}

/* Content page styling for About and Submit pages */

.content-page {
  max-width: 50rem;
  margin: 0 auto;
}

.content-section {
  margin-bottom: 2.5rem;
}

.content-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  margin-top: 0;
}

.content-section p {
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.content-section ul {
  line-height: 1.7;
  color: var(--text-secondary);
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.content-section li {
  margin-bottom: 0.5rem;
}

.content-section strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Responsive design */

@media (max-width: 768px) {
  .phail-navbar {
    flex-direction: column;
    height: auto;
    padding: 1rem;
  }

  .navbar-brand {
    margin-bottom: 1rem;
  }

  .navbar-links {
    gap: 1rem;
  }
}
