/* =============================================================
   ESSENCE BY DEVONTEE — assets/css/auth-nav.css
   Styling for Sign In / Account nav elements.
   Loaded AFTER style.css and pages.css on every page.
   ============================================================= */

/* ── Desktop nav account button (pill style, matches brand) ── */
.nav-account-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 400;
  text-decoration: none;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 30px;
  transition: all 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-account-btn svg {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
}
.nav-account-btn:hover {
  color: var(--green-dark);
  background: var(--green-light);
  border-color: var(--green-light);
}
.nav-account-name {
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Hide the account pill in the main nav row on mobile —
   it lives inside the hamburger menu instead (see below) */
@media (max-width: 768px) {
  .nav-account-btn { display: none !important; }
}

/* ── Mobile hamburger menu: Account section stands apart ───── */
@media (max-width: 768px) {
  .mobile-menu ul li.mobile-auth-divider {
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: none;
    padding-top: 18px;
    margin-top: 8px;
  }

  .mobile-menu ul li a.mobile-auth-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 10px 28px;
    padding: 16px 20px;
    border-radius: 4px;
    font-size: 11px;
    letter-spacing: 3px;
  }

  /* Sign In — solid brand button, the primary action, stands out clearly */
  .mobile-menu ul li a.mobile-auth-signin {
    background: var(--green-accent, #2d7a3a);
    color: #ffffff !important;
    border: 1px solid var(--green-accent, #2d7a3a);
  }
  .mobile-menu ul li a.mobile-auth-signin:hover {
    background: var(--green-light, #4caf63);
    border-color: var(--green-light, #4caf63);
  }

  /* Create Account — outlined secondary action */
  .mobile-menu ul li a.mobile-auth-signup {
    background: transparent;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.35);
  }
  .mobile-menu ul li a.mobile-auth-signup:hover {
    border-color: var(--green-light, #4caf63);
    color: var(--green-light, #4caf63) !important;
    background: rgba(255,255,255,0.04);
  }

  /* Logged-in state: account pill + sign out — same visual weight as
     the Sign In / Create Account pairing above, just for logged-in users */
  .mobile-menu ul li a.mobile-auth-account {
    background: var(--green-accent, #2d7a3a);
    color: #ffffff !important;
    border: 1px solid var(--green-accent, #2d7a3a);
  }
  .mobile-menu ul li a.mobile-auth-account:hover {
    background: var(--green-light, #4caf63);
    border-color: var(--green-light, #4caf63);
  }
  .mobile-menu ul li a.mobile-auth-signout {
    background: transparent;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.35);
  }
  .mobile-menu ul li a.mobile-auth-signout:hover {
    border-color: #e57373;
    color: #e57373 !important;
    background: rgba(255,255,255,0.04);
  }
}