/* Base layout */
.site-header {
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
}

.account-nav {

  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-weight: 600;
  text-decoration: none;
  color: #111827;
}

/* Navigation links */
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #374151;
}

.nav-links a:hover,
.nav-links a:focus {
  text-decoration: underline;
}

/* Emphasis */
.nav-item-warning a { color: #b45309; }
.nav-item-danger a { color: #b91c1c; }

/* Hamburger button */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ------------------
   Mobile styles
------------------- */
@media (max-width: 768px) {

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 4rem;
    right: 1rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
    min-width: 200px;

    /* Hidden by default */
    display: none;
  }

  .nav-links.is-open {
    display: flex;
  }
}
