/* wp-auth.css — visual styles for the WPAuth.renderAuthChip output and the
   /account.html layout. Self-contained so it can be linked from any page. */

/* ============================================================
   NAV-SHEET AUTH CHIP — prominent card at the top of the nav-sheet menu.
   Logged out  → "Sign in with Google" with a gold notification dot.
   Logged in   → avatar + name + "View My Account →".
   Separated from the menu list below by a thin divider for hierarchy.
   ============================================================ */
.nav-sheet__auth-slot {
  padding: 0 0 8px 0;
  margin: 0 0 4px 0;
  border-bottom: 1px solid hsla(30, 15%, 88%, 0.6);
}
.nav-sheet__auth-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  background: hsl(125, 18%, 95%); /* sage-light tint, gentle attention */
  border: 1px solid hsla(125, 18%, 70%, 0.35);
  border-radius: 12px;
  font: inherit;
  font-family: inherit;
  text-decoration: none;
  color: hsl(30, 10%, 12%);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease, border-color 0.15s ease;
  text-align: left;
}
.nav-sheet__auth-chip:hover {
  background: hsl(125, 18%, 92%);
  border-color: hsla(125, 18%, 65%, 0.5);
}
.nav-sheet__auth-chip:active {
  transform: scale(0.98);
}
.nav-sheet__auth-chip__icon {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(0, 0%, 100%);
  color: hsl(125, 18%, 42%);
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid hsla(125, 18%, 70%, 0.25);
}
.nav-sheet__auth-chip__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
/* Gold notification dot — ONLY appears in the logged-out state, signalling
   "you have a setting available you might want to act on". */
.nav-sheet__auth-chip--signin .nav-sheet__auth-chip__icon::after {
  content: '';
  position: absolute;
  top: -3px;
  right: -3px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: hsl(38, 75%, 55%);
  border: 2px solid hsl(125, 18%, 95%);
  box-shadow: 0 0 0 1px hsla(38, 60%, 40%, 0.25);
  animation: nav-auth-dot-pulse 2.4s ease-in-out infinite;
}
@keyframes nav-auth-dot-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.15); opacity: 0.85; }
}
.nav-sheet__auth-chip__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.nav-sheet__auth-chip__title {
  font-size: 14px;
  font-weight: 600;
  color: hsl(30, 10%, 12%);
  letter-spacing: 0.1px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-sheet__auth-chip__subtitle {
  font-size: 11.5px;
  color: hsl(30, 6%, 50%);
  font-weight: 500;
  letter-spacing: 0.1px;
}
.nav-sheet__auth-chip__arrow {
  color: hsl(30, 6%, 60%);
  flex-shrink: 0;
}
.nav-sheet__auth-chip:hover .nav-sheet__auth-chip__arrow {
  color: hsl(125, 18%, 42%);
}

/* ============================================================
   BENTO MENU CARDS — featured destinations as a 2x2 grid of
   tappable cards with custom-drawn line icons. Sits below the
   auth chip in the nav-sheet.
   ============================================================ */
.nav-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}
.nav-bento__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  min-height: 84px;
  padding: 12px 12px 11px;
  background: hsl(0, 0%, 100%);
  border: 1px solid hsl(30, 15%, 90%);
  border-radius: 14px;
  text-decoration: none;
  color: hsl(30, 10%, 12%);
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease, box-shadow 0.2s ease;
  overflow: hidden;
}
.nav-bento__card:hover {
  background: hsl(35, 50%, 99%);
  border-color: hsla(125, 18%, 60%, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px hsla(0, 0%, 0%, 0.05);
}
.nav-bento__card:active { transform: scale(0.98); }
.nav-bento__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: hsl(125, 18%, 95%);
  color: hsl(125, 18%, 38%);
  flex-shrink: 0;
}
.nav-bento__icon svg {
  width: 20px;
  height: 20px;
}
.nav-bento__card--accent .nav-bento__icon {
  background: hsl(38, 45%, 95%);
  color: hsl(38, 50%, 38%);
}
.nav-bento__label {
  display: flex; flex-direction: column; gap: 1px;
}
.nav-bento__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.2px;
  color: hsl(30, 10%, 12%);
}
.nav-bento__subtitle {
  font-size: 11px;
  color: hsl(30, 6%, 55%);
  font-weight: 500;
  letter-spacing: 0.1px;
}

/* Utility row — secondary destinations as a single text strip */
.nav-bento__utility {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 6px 0 8px;
  padding: 10px 6px;
  border-top: 1px solid hsla(30, 15%, 88%, 0.5);
  border-bottom: 1px solid hsla(30, 15%, 88%, 0.5);
}
.nav-bento__utility-link {
  flex: 1;
  padding: 8px 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: hsl(30, 8%, 35%);
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
  letter-spacing: 0.2px;
}
.nav-bento__utility-link:active,
.nav-bento__utility-link:hover {
  background: hsl(35, 50%, 95%);
  color: hsl(30, 10%, 12%);
}
.nav-bento__utility-divider {
  width: 1px;
  background: hsla(30, 15%, 85%, 0.6);
  margin: 6px 0;
}

/* ============================================================
   PRIMARY CTAs — big, inviting, instinct-grabbing buttons that
   sit at the bottom of the nav-sheet. Replaces the small Book
   link CTA. WhatsApp button comes IN from the floating cluster.
   ============================================================ */
.nav-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 2px;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 14px;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
  border: 0;
  width: 100%;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px hsla(0, 0%, 0%, 0.12), 0 2px 4px hsla(0, 0%, 0%, 0.06);
  filter: brightness(1.04);
}
.nav-cta:active { transform: scale(0.99); }
.nav-cta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
}
.nav-cta__icon svg { width: 22px; height: 22px; }
.nav-cta__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.nav-cta__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.2px;
  line-height: 1;
}
.nav-cta__subtitle {
  font-size: 12px;
  letter-spacing: 0.3px;
  opacity: 0.85;
}
.nav-cta__arrow {
  flex-shrink: 0;
  opacity: 0.8;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.nav-cta:hover .nav-cta__arrow {
  transform: translateX(3px);
  opacity: 1;
}

/* Primary CTA — Book a Workshop. Sage-filled, cream text. The dominant
   action in the menu; everything else is contextual. */
.nav-cta--primary {
  background: linear-gradient(135deg, hsl(125, 18%, 42%) 0%, hsl(125, 22%, 36%) 100%);
  color: hsl(35, 50%, 97%);
}
.nav-cta--primary .nav-cta__icon {
  background: hsla(0, 0%, 100%, 0.18);
  color: hsl(35, 50%, 97%);
}

/* Secondary CTA — WhatsApp Us. Light green tinted, dark green text + icon.
   Recognisably WhatsApp without being a giant green slab. */
.nav-cta--whatsapp {
  background: hsl(142, 38%, 94%);
  color: hsl(142, 50%, 22%);
  border: 1px solid hsla(142, 50%, 60%, 0.3);
}
.nav-cta--whatsapp .nav-cta__icon {
  background: hsl(142, 60%, 36%);
  color: hsl(0, 0%, 100%);
}

/* ============================================================
   POWERED BY APHYX — discreet agency credit at the bottom of
   the nav-sheet. Small, centered, low-contrast. Tappable.
   ============================================================ */
.nav-sheet__poweredby {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid hsla(30, 15%, 88%, 0.5);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: hsl(30, 6%, 55%);
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav-sheet__poweredby:hover { color: hsl(30, 10%, 12%); }
.nav-sheet__poweredby strong {
  font-weight: 600;
  color: hsl(30, 10%, 30%);
  letter-spacing: 0.2px;
}
.nav-sheet__poweredby:hover strong { color: hsl(125, 18%, 42%); }
.nav-sheet__poweredby svg {
  opacity: 0.6;
  transition: opacity 0.15s ease;
}
.nav-sheet__poweredby:hover svg { opacity: 1; }





.wp-auth-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 100px;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid hsl(30, 15%, 90%);
  background: hsl(0, 0%, 100%);
  color: hsl(30, 10%, 12%);
  transition: background 0.15s ease, transform 0.15s ease;
  text-decoration: none;
}
.wp-auth-chip:hover { background: hsl(35, 50%, 99%); }
.wp-auth-chip:active { transform: scale(0.97); }
.wp-auth-chip--signed-in {
  padding: 4px 4px 4px 4px;
  gap: 8px;
  background: transparent;
  border-color: transparent;
}
.wp-auth-chip__avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.wp-auth-chip__name {
  font-weight: 500;
  font-size: 13px;
  color: inherit;
  text-decoration: none;
  max-width: 140px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wp-auth-chip__name:hover { color: hsl(125, 18%, 42%); }
.wp-auth-chip__signout {
  background: transparent;
  border: 0;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 12px;
  color: hsl(30, 6%, 55%);
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.wp-auth-chip__signout:hover {
  color: hsl(30, 10%, 12%);
  background: hsl(35, 50%, 95%);
}

/* Banner shown on cart/checkout when user is logged out */
.auth-prompt-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: hsl(174, 28%, 96%);
  border: 1px solid hsl(174, 14%, 85%);
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 13px;
  color: hsl(30, 10%, 25%);
}
.auth-prompt-banner__icon {
  flex-shrink: 0;
  color: hsl(125, 18%, 42%);
}
.auth-prompt-banner__text { flex: 1; line-height: 1.5; }
.auth-prompt-banner__text strong { color: hsl(30, 10%, 12%); }

/* ── /account.html page styling ──────────────────────────────────────────── */
.account-page { padding: 100px 0 80px; min-height: 100vh; background: hsl(35, 50%, 97%); }
.account-page__inner { max-width: 880px; margin: 0 auto; padding: 0 24px; }
.account-page__header {
  display: flex; gap: 16px; align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid hsl(30, 15%, 90%);
  margin-bottom: 32px;
}
.account-page__avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
}
.account-page__name { font-family: 'Cormorant Garamond', serif; font-size: 28px; font-weight: 500; margin: 0; }
.account-page__email { font-size: 13px; color: hsl(30, 6%, 55%); margin-top: 2px; }
.account-page__sign-out {
  margin-left: auto;
  padding: 8px 16px; border-radius: 8px;
  background: transparent; border: 1px solid hsl(30, 15%, 90%);
  color: hsl(30, 10%, 12%); font-size: 13px; font-weight: 500; cursor: pointer;
}
.account-page__sign-out:hover { background: hsl(35, 50%, 95%); }

.account-section { margin-bottom: 40px; }
.account-section__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 500;
  margin: 0 0 16px;
  color: hsl(30, 10%, 12%);
}

.account-card {
  background: hsl(0, 0%, 100%);
  border: 1px solid hsl(30, 15%, 90%);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 12px;
}
.account-card__top {
  display: flex; gap: 12px; align-items: flex-start;
  margin-bottom: 12px;
}
.account-card__meta {
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
  font-size: 12px; color: hsl(30, 6%, 55%);
}
.account-card__status {
  padding: 3px 10px; border-radius: 100px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.5px; text-transform: uppercase;
}
.account-card__status--active { background: hsl(125, 50%, 92%); color: hsl(125, 35%, 28%); }
.account-card__status--pending { background: hsl(38, 65%, 92%); color: hsl(38, 45%, 35%); }
.account-card__status--cancelled { background: hsl(0, 0%, 92%); color: hsl(0, 0%, 35%); }
.account-card__status--cancellation-requested { background: hsl(38, 65%, 92%); color: hsl(38, 45%, 35%); }
.account-card__title {
  font-size: 15px; font-weight: 600; margin: 0;
  color: hsl(30, 10%, 12%);
}
.account-card__line {
  font-size: 13px; color: hsl(30, 8%, 35%);
  margin: 4px 0;
  line-height: 1.55;
}
.account-card__items {
  margin: 8px 0 0; padding: 0;
  font-size: 13px; color: hsl(30, 8%, 35%);
  list-style: none;
}
.account-card__items li { padding: 2px 0; }
.account-card__actions {
  display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap;
}
.account-card__action {
  padding: 8px 14px; border-radius: 8px;
  font-size: 13px; font-weight: 500; cursor: pointer;
  border: 1px solid hsl(30, 15%, 90%);
  background: hsl(0, 0%, 100%); color: hsl(30, 10%, 12%);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.account-card__action:hover { background: hsl(35, 50%, 97%); }
.account-card__action--danger {
  border-color: hsl(0, 35%, 80%);
  color: hsl(0, 50%, 40%);
}
.account-card__action--danger:hover { background: hsl(0, 35%, 97%); }

.account-empty {
  padding: 32px 20px; text-align: center;
  background: hsl(0, 0%, 100%);
  border: 1px dashed hsl(30, 15%, 85%);
  border-radius: 12px;
  color: hsl(30, 6%, 55%);
  font-size: 13px;
}
.account-empty a { color: hsl(125, 18%, 42%); font-weight: 500; }

.account-signin-prompt {
  padding: 60px 24px; text-align: center;
  background: hsl(0, 0%, 100%);
  border: 1px solid hsl(30, 15%, 90%);
  border-radius: 12px;
}
.account-signin-prompt h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 500;
  margin: 0 0 8px; color: hsl(30, 10%, 12%);
}
.account-signin-prompt p {
  font-size: 14px; color: hsl(30, 8%, 35%);
  margin: 0 0 24px; line-height: 1.6;
}

@media (max-width: 768px) {
  .account-page { padding: 80px 0 100px; }
  .account-page__header { flex-wrap: wrap; }
  .account-page__sign-out { margin-left: 0; width: 100%; }
}
