/* ============================================================
   WonderPass Design System v2
   Tokens → Base → Components → Utilities
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,400;0,14..32,500;0,14..32,600;0,14..32,700;1,14..32,400&display=swap');

/* ----------------------------------------------------------
   DESIGN TOKENS
   ---------------------------------------------------------- */
:root {
  /* Purple scale */
  --wp-purple-50:  #faf5ff;
  --wp-purple-100: #f3e8ff;
  --wp-purple-200: #e9d5ff;
  --wp-purple-300: #d8b4fe;
  --wp-purple-400: #c084fc;
  --wp-purple-500: #a855f7;
  --wp-purple-600: #9333ea;
  --wp-purple-700: #7c3aed;
  --wp-purple-800: #6d28d9;
  --wp-purple-900: #581c87;

  /* Semantic colour */
  --wp-accent:        #7c3aed;
  --wp-accent-hover:  #6d28d9;
  --wp-accent-light:  #ede9fe;
  --wp-accent-on:     #ffffff;

  /* Surfaces */
  --wp-bg:            #ffffff;
  --wp-bg-subtle:     #f9fafb;
  --wp-bg-muted:      #f3f4f6;
  --wp-surface:       #ffffff;
  --wp-border:        #e5e7eb;
  --wp-border-subtle: #f3f4f6;

  /* Text */
  --wp-text-primary:   #111827;
  --wp-text-secondary: #6b7280;
  --wp-text-tertiary:  #9ca3af;
  --wp-text-on-accent: #ffffff;

  /* Status */
  --wp-success:        #059669;
  --wp-success-light:  #d1fae5;
  --wp-error:          #dc2626;
  --wp-error-light:    #fee2e2;
  --wp-warning:        #d97706;
  --wp-warning-light:  #fef3c7;

  /* Typography */
  --wp-font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Type scale */
  --wp-text-xs:   0.75rem;
  --wp-text-sm:   0.875rem;
  --wp-text-base: 1rem;
  --wp-text-lg:   1.125rem;
  --wp-text-xl:   1.25rem;
  --wp-text-2xl:  1.5rem;
  --wp-text-3xl:  1.875rem;
  --wp-text-4xl:  2.25rem;
  --wp-text-5xl:  3rem;
  --wp-text-6xl:  3.75rem;

  /* Spacing (4px base) */
  --wp-space-1:  0.25rem;
  --wp-space-2:  0.5rem;
  --wp-space-3:  0.75rem;
  --wp-space-4:  1rem;
  --wp-space-5:  1.25rem;
  --wp-space-6:  1.5rem;
  --wp-space-8:  2rem;
  --wp-space-10: 2.5rem;
  --wp-space-12: 3rem;
  --wp-space-16: 4rem;
  --wp-space-20: 5rem;
  --wp-space-24: 6rem;

  /* Border radius */
  --wp-radius-sm:   6px;
  --wp-radius-md:   8px;
  --wp-radius-lg:   12px;
  --wp-radius-xl:   16px;
  --wp-radius-2xl:  24px;
  --wp-radius-full: 9999px;

  /* Shadows */
  --wp-shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
  --wp-shadow-sm: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --wp-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.05);
  --wp-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --wp-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.03);

  /* Transitions */
  --wp-ease-fast: 150ms ease;
  --wp-ease-base: 200ms ease;
  --wp-ease-slow: 300ms ease;

  /* Layout */
  --wp-max-width: 1200px;
  --wp-nav-height: 64px;
}

/* ----------------------------------------------------------
   RESET & GLOBAL
   ---------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--wp-font);
  font-size: var(--wp-text-base);
  line-height: 1.6;
  color: var(--wp-text-primary);
  background: var(--wp-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--wp-font); }

/* Focus visible — keyboard only */
:focus-visible {
  outline: 2px solid var(--wp-accent);
  outline-offset: 2px;
  border-radius: var(--wp-radius-sm);
}

/* ----------------------------------------------------------
   LAYOUT UTILITIES
   ---------------------------------------------------------- */
.wp-container {
  width: 100%;
  max-width: var(--wp-max-width);
  margin: 0 auto;
  padding: 0 var(--wp-space-6);
}

.wp-section    { padding: var(--wp-space-24) 0; }
.wp-section-sm { padding: var(--wp-space-16) 0; }

@media (max-width: 768px) {
  .wp-container  { padding: 0 var(--wp-space-4); }
  .wp-section    { padding: var(--wp-space-16) 0; }
  .wp-section-sm { padding: var(--wp-space-12) 0; }
}

/* ----------------------------------------------------------
   TYPOGRAPHY
   ---------------------------------------------------------- */
.wp-display {
  font-size: clamp(2.5rem, 5vw, var(--wp-text-6xl));
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--wp-text-primary);
}

.wp-heading-1 {
  font-size: clamp(1.875rem, 3.5vw, var(--wp-text-5xl));
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--wp-text-primary);
}

.wp-heading-2 {
  font-size: clamp(1.5rem, 2.5vw, var(--wp-text-4xl));
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--wp-text-primary);
}

.wp-heading-3 {
  font-size: var(--wp-text-2xl);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--wp-text-primary);
}

.wp-body-lg {
  font-size: var(--wp-text-lg);
  line-height: 1.7;
  color: var(--wp-text-secondary);
}

.wp-body {
  font-size: var(--wp-text-base);
  line-height: 1.6;
  color: var(--wp-text-secondary);
}

.wp-caption {
  font-size: var(--wp-text-sm);
  line-height: 1.5;
  color: var(--wp-text-tertiary);
}

.wp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--wp-space-2);
  font-size: var(--wp-text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wp-accent);
  margin-bottom: var(--wp-space-4);
}

.wp-accent-text { color: var(--wp-accent); }

/* ----------------------------------------------------------
   BUTTONS
   ---------------------------------------------------------- */
.wp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--wp-space-2);
  padding: 0.625rem var(--wp-space-5);
  font-family: var(--wp-font);
  font-size: var(--wp-text-sm);
  font-weight: 500;
  line-height: 1.5;
  border: 1.5px solid transparent;
  border-radius: var(--wp-radius-md);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--wp-ease-fast), border-color var(--wp-ease-fast),
              box-shadow var(--wp-ease-fast), transform var(--wp-ease-fast), color var(--wp-ease-fast);
  -webkit-user-select: none;
  user-select: none;
}

.wp-btn-sm { padding: 0.375rem var(--wp-space-3); font-size: var(--wp-text-xs); }
.wp-btn-lg {
  padding: 0.875rem var(--wp-space-8);
  font-size: var(--wp-text-base);
  font-weight: 600;
  border-radius: var(--wp-radius-lg);
}

/* Primary */
.wp-btn-primary {
  background: var(--wp-accent);
  color: var(--wp-text-on-accent);
  border-color: var(--wp-accent);
}
.wp-btn-primary:hover {
  background: var(--wp-accent-hover);
  border-color: var(--wp-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(124,58,237,0.35);
}
.wp-btn-primary:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Ghost / secondary */
.wp-btn-ghost {
  background: transparent;
  color: var(--wp-text-primary);
  border-color: var(--wp-border);
}
.wp-btn-ghost:hover {
  background: var(--wp-bg-subtle);
  border-color: var(--wp-text-tertiary);
}

/* Subtle / tinted */
.wp-btn-subtle {
  background: var(--wp-accent-light);
  color: var(--wp-accent);
  border-color: var(--wp-purple-200);
}
.wp-btn-subtle:hover {
  background: var(--wp-purple-200);
}

/* Danger */
.wp-btn-danger {
  background: var(--wp-error);
  color: white;
  border-color: var(--wp-error);
}
.wp-btn-danger:hover { opacity: 0.9; transform: translateY(-1px); }

/* Disabled state */
.wp-btn:disabled,
.wp-btn[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Full width */
.wp-btn-block { width: 100%; }

/* ----------------------------------------------------------
   FORM INPUTS
   ---------------------------------------------------------- */
.wp-label {
  display: block;
  font-size: var(--wp-text-sm);
  font-weight: 500;
  color: var(--wp-text-primary);
  margin-bottom: var(--wp-space-2);
}

.wp-input,
.wp-select,
.wp-textarea {
  width: 100%;
  padding: 0.625rem var(--wp-space-4);
  font-family: var(--wp-font);
  font-size: var(--wp-text-sm);
  color: var(--wp-text-primary);
  background: var(--wp-bg);
  border: 1.5px solid var(--wp-border);
  border-radius: var(--wp-radius-md);
  transition: border-color var(--wp-ease-fast), box-shadow var(--wp-ease-fast);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.wp-input:hover, .wp-select:hover, .wp-textarea:hover {
  border-color: var(--wp-text-tertiary);
}
.wp-input:focus, .wp-select:focus, .wp-textarea:focus {
  border-color: var(--wp-accent);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.12);
}
.wp-input::placeholder { color: var(--wp-text-tertiary); }

.wp-textarea { resize: vertical; min-height: 100px; }

.wp-field { margin-bottom: var(--wp-space-5); }

.wp-field-hint {
  font-size: var(--wp-text-xs);
  color: var(--wp-text-tertiary);
  margin-top: var(--wp-space-1);
}

.wp-field-error {
  font-size: var(--wp-text-xs);
  color: var(--wp-error);
  margin-top: var(--wp-space-1);
}

.wp-input.error, .wp-select.error { border-color: var(--wp-error); }

/* Search input */
.wp-search-wrap {
  position: relative;
}
.wp-search-icon {
  position: absolute;
  left: var(--wp-space-4);
  top: 50%;
  transform: translateY(-50%);
  color: var(--wp-text-tertiary);
  pointer-events: none;
  font-size: 16px;
}
.wp-search-input {
  width: 100%;
  padding: 0.75rem var(--wp-space-4) 0.75rem var(--wp-space-10);
  font-family: var(--wp-font);
  font-size: var(--wp-text-sm);
  color: var(--wp-text-primary);
  background: var(--wp-bg-subtle);
  border: 1.5px solid var(--wp-border);
  border-radius: var(--wp-radius-lg);
  outline: none;
  transition: all var(--wp-ease-fast);
}
.wp-search-input:focus {
  background: var(--wp-bg);
  border-color: var(--wp-accent);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.1);
}
.wp-search-input::placeholder { color: var(--wp-text-tertiary); }

/* ----------------------------------------------------------
   BADGE / PILL
   ---------------------------------------------------------- */
.wp-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--wp-space-1);
  padding: 0.25rem var(--wp-space-3);
  font-family: var(--wp-font);
  font-size: var(--wp-text-xs);
  font-weight: 500;
  border-radius: var(--wp-radius-full);
  white-space: nowrap;
  line-height: 1.4;
}
.wp-badge-purple  { background: var(--wp-accent-light);    color: var(--wp-accent); }
.wp-badge-neutral { background: var(--wp-bg-muted);        color: var(--wp-text-secondary); }
.wp-badge-success { background: var(--wp-success-light);   color: var(--wp-success); }
.wp-badge-warning { background: var(--wp-warning-light);   color: var(--wp-warning); }
.wp-badge-error   { background: var(--wp-error-light);     color: var(--wp-error); }

/* Filter pills (interactive) */
.wp-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--wp-space-2);
  padding: 0.375rem var(--wp-space-4);
  font-family: var(--wp-font);
  font-size: var(--wp-text-sm);
  font-weight: 500;
  border-radius: var(--wp-radius-full);
  border: 1.5px solid var(--wp-border);
  background: var(--wp-bg);
  color: var(--wp-text-secondary);
  cursor: pointer;
  transition: all var(--wp-ease-fast);
  white-space: nowrap;
}
.wp-pill:hover {
  border-color: var(--wp-accent);
  color: var(--wp-accent);
  background: var(--wp-accent-light);
}
.wp-pill.active {
  background: var(--wp-accent);
  border-color: var(--wp-accent);
  color: white;
}

/* ----------------------------------------------------------
   CREDIT CHIP
   ---------------------------------------------------------- */
.wp-credit-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--wp-space-2);
  padding: 0.375rem var(--wp-space-4);
  background: var(--wp-accent-light);
  border: 1.5px solid var(--wp-purple-200);
  border-radius: var(--wp-radius-full);
  font-size: var(--wp-text-sm);
  font-weight: 600;
  color: var(--wp-accent);
  transition: all var(--wp-ease-fast);
  cursor: default;
}
.wp-credit-chip-icon {
  font-size: 12px;
  line-height: 1;
}

/* ----------------------------------------------------------
   CARD
   ---------------------------------------------------------- */
.wp-card {
  background: var(--wp-surface);
  border: 1px solid var(--wp-border);
  border-radius: var(--wp-radius-xl);
  overflow: hidden;
}
.wp-card-interactive {
  transition: box-shadow var(--wp-ease-base), transform var(--wp-ease-base);
  cursor: pointer;
}
.wp-card-interactive:hover {
  box-shadow: var(--wp-shadow-lg);
  transform: translateY(-2px);
}

/* Venue card */
.wp-venue-card {
  background: var(--wp-surface);
  border: 1px solid var(--wp-border);
  border-radius: var(--wp-radius-xl);
  overflow: hidden;
  transition: box-shadow var(--wp-ease-base), transform var(--wp-ease-base);
  cursor: pointer;
}
.wp-venue-card:hover {
  box-shadow: var(--wp-shadow-lg);
  transform: translateY(-3px);
}
.wp-venue-card-image {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: var(--wp-bg-muted);
}
.wp-venue-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--wp-ease-slow);
}
.wp-venue-card:hover .wp-venue-card-image img {
  transform: scale(1.03);
}
.wp-venue-card-img-badges {
  position: absolute;
  top: var(--wp-space-3);
  left: var(--wp-space-3);
}
.wp-venue-card-fav {
  position: absolute;
  top: var(--wp-space-3);
  right: var(--wp-space-3);
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: var(--wp-shadow-sm);
  cursor: pointer;
  transition: transform var(--wp-ease-fast);
  border: none;
}
.wp-venue-card-fav:hover { transform: scale(1.15); }
.wp-venue-card-fav.active { color: #ef4444; }
.wp-venue-card-body    { padding: var(--wp-space-4); }
.wp-venue-card-meta    {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--wp-space-2);
}
.wp-venue-card-category {
  font-size: var(--wp-text-xs);
  font-weight: 500;
  color: var(--wp-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.wp-venue-card-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: var(--wp-text-xs);
  font-weight: 600;
  color: var(--wp-text-primary);
}
.wp-venue-card-rating .star { color: #f59e0b; }
.wp-venue-card-name {
  font-size: var(--wp-text-base);
  font-weight: 600;
  color: var(--wp-text-primary);
  letter-spacing: -0.01em;
  margin-bottom: var(--wp-space-1);
}
.wp-venue-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--wp-space-3);
  padding-top: var(--wp-space-3);
  border-top: 1px solid var(--wp-border-subtle);
}
.wp-venue-card-location {
  font-size: var(--wp-text-xs);
  color: var(--wp-text-tertiary);
}
.wp-venue-card-credits {
  font-size: var(--wp-text-sm);
  font-weight: 700;
  color: var(--wp-accent);
}
.wp-venue-card-credits span {
  font-size: var(--wp-text-xs);
  font-weight: 400;
  color: var(--wp-text-tertiary);
}

/* ----------------------------------------------------------
   NAV (shared base)
   ---------------------------------------------------------- */
.wp-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--wp-nav-height);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--wp-border-subtle);
}
.wp-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--wp-max-width);
  margin: 0 auto;
  padding: 0 var(--wp-space-6);
}
.wp-nav-logo {
  font-size: var(--wp-text-lg);
  font-weight: 700;
  color: var(--wp-text-primary);
  letter-spacing: -0.03em;
  text-decoration: none;
}
.wp-nav-logo span { color: var(--wp-accent); }
.wp-nav-links {
  display: flex;
  align-items: center;
  gap: var(--wp-space-8);
  list-style: none;
}
.wp-nav-links a {
  font-size: var(--wp-text-sm);
  font-weight: 500;
  color: var(--wp-text-secondary);
  transition: color var(--wp-ease-fast);
}
.wp-nav-links a:hover { color: var(--wp-text-primary); }
.wp-nav-actions {
  display: flex;
  align-items: center;
  gap: var(--wp-space-3);
}

/* ----------------------------------------------------------
   MODAL
   ---------------------------------------------------------- */
.wp-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: var(--wp-space-4);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--wp-ease-base);
}
.wp-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
@media (min-width: 640px) {
  .wp-modal-overlay { align-items: center; }
}
.wp-modal {
  background: var(--wp-surface);
  border-radius: var(--wp-radius-2xl) var(--wp-radius-2xl) 0 0;
  width: 100%;
  max-width: 520px;
  max-height: 92dvh;
  overflow-y: auto;
  transform: translateY(24px);
  transition: transform var(--wp-ease-base);
  box-shadow: var(--wp-shadow-xl);
}
.wp-modal-overlay.open .wp-modal { transform: translateY(0); }
@media (min-width: 640px) {
  .wp-modal { border-radius: var(--wp-radius-2xl); transform: scale(0.96); }
  .wp-modal-overlay.open .wp-modal { transform: scale(1); }
}
.wp-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--wp-space-5) var(--wp-space-6);
  border-bottom: 1px solid var(--wp-border-subtle);
}
.wp-modal-title {
  font-size: var(--wp-text-lg);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.wp-modal-close {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--wp-bg-muted);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wp-text-secondary);
  font-size: 16px;
  transition: background var(--wp-ease-fast);
}
.wp-modal-close:hover { background: var(--wp-border); }
.wp-modal-body    { padding: var(--wp-space-6); }
.wp-modal-footer  {
  padding: var(--wp-space-4) var(--wp-space-6);
  border-top: 1px solid var(--wp-border-subtle);
  display: flex;
  gap: var(--wp-space-3);
  justify-content: flex-end;
}

/* ----------------------------------------------------------
   TABS
   ---------------------------------------------------------- */
.wp-tabs {
  display: flex;
  gap: var(--wp-space-1);
  border-bottom: 1px solid var(--wp-border);
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.wp-tabs::-webkit-scrollbar { display: none; }
.wp-tab {
  display: inline-flex;
  align-items: center;
  gap: var(--wp-space-2);
  padding: var(--wp-space-3) var(--wp-space-4);
  font-size: var(--wp-text-sm);
  font-weight: 500;
  color: var(--wp-text-secondary);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--wp-ease-fast), border-color var(--wp-ease-fast);
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: var(--wp-font);
}
.wp-tab:hover { color: var(--wp-text-primary); }
.wp-tab.active {
  color: var(--wp-accent);
  border-bottom-color: var(--wp-accent);
}

/* ----------------------------------------------------------
   QR / DIGITAL PASS
   ---------------------------------------------------------- */
.wp-pass-card {
  background: var(--wp-surface);
  border: 1px solid var(--wp-border);
  border-radius: var(--wp-radius-2xl);
  overflow: hidden;
  box-shadow: var(--wp-shadow-md);
}
.wp-pass-header {
  background: var(--wp-accent);
  padding: var(--wp-space-5) var(--wp-space-6);
  color: white;
}
.wp-pass-title {
  font-size: var(--wp-text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.wp-pass-subtitle {
  font-size: var(--wp-text-sm);
  opacity: 0.85;
  margin-top: var(--wp-space-1);
}
.wp-pass-body {
  padding: var(--wp-space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--wp-space-4);
}
.wp-pass-qr-wrap {
  background: var(--wp-bg-muted);
  border-radius: var(--wp-radius-xl);
  padding: var(--wp-space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
}
.wp-pass-code {
  font-size: var(--wp-text-3xl);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--wp-text-primary);
}
.wp-pass-meta {
  width: 100%;
  display: flex;
  gap: var(--wp-space-4);
}
.wp-pass-meta-item {
  flex: 1;
  background: var(--wp-bg-subtle);
  border-radius: var(--wp-radius-md);
  padding: var(--wp-space-3) var(--wp-space-4);
}
.wp-pass-meta-label {
  font-size: var(--wp-text-xs);
  color: var(--wp-text-tertiary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}
.wp-pass-meta-value {
  font-size: var(--wp-text-sm);
  font-weight: 600;
  color: var(--wp-text-primary);
}

/* ----------------------------------------------------------
   EMPTY STATE
   ---------------------------------------------------------- */
.wp-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--wp-space-16) var(--wp-space-6);
  gap: var(--wp-space-4);
}
.wp-empty-icon {
  font-size: 40px;
  opacity: 0.5;
}
.wp-empty-title {
  font-size: var(--wp-text-lg);
  font-weight: 600;
  color: var(--wp-text-primary);
}
.wp-empty-body {
  font-size: var(--wp-text-sm);
  color: var(--wp-text-secondary);
  max-width: 280px;
}

/* ----------------------------------------------------------
   LOADING SKELETON
   ---------------------------------------------------------- */
@keyframes wp-shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.wp-skeleton {
  background: linear-gradient(90deg, var(--wp-bg-muted) 25%, var(--wp-border-subtle) 50%, var(--wp-bg-muted) 75%);
  background-size: 800px 100%;
  animation: wp-shimmer 1.4s infinite linear;
  border-radius: var(--wp-radius-md);
}

/* ----------------------------------------------------------
   ALERT / TOAST
   ---------------------------------------------------------- */
.wp-alert {
  display: flex;
  align-items: flex-start;
  gap: var(--wp-space-3);
  padding: var(--wp-space-4);
  border-radius: var(--wp-radius-lg);
  font-size: var(--wp-text-sm);
}
.wp-alert-success { background: var(--wp-success-light); color: #065f46; }
.wp-alert-error   { background: var(--wp-error-light);   color: #991b1b; }
.wp-alert-warning { background: var(--wp-warning-light); color: #92400e; }
.wp-alert-info    { background: var(--wp-accent-light);  color: #4c1d95; }

/* ----------------------------------------------------------
   DIVIDER
   ---------------------------------------------------------- */
.wp-divider {
  border: none;
  border-top: 1px solid var(--wp-border);
  margin: var(--wp-space-8) 0;
}
.wp-divider-subtle {
  border: none;
  border-top: 1px solid var(--wp-border-subtle);
}

/* ----------------------------------------------------------
   HELPERS
   ---------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.wp-hidden { display: none !important; }
