/* =============================================================================
   Aurelia Hills — Shared design tokens + base components (Shipment 10a Phase 1)

   Load BEFORE any app-specific CSS:
     <link rel="stylesheet" href="/shared/design.css">

   Contains: CSS variables, buttons, toast. App-specific styles (portal-idbar,
   calendar cells, forms) stay in each app's own HTML for now — they'll move
   here in later phases if worth sharing.
   ========================================================================== */

:root {
  --bg: #F5F0E8;
  --bg-card: #FFFFFF;
  --bg-deep: #EDE5D6;
  --ink: #1F1B16;
  --ink-soft: #57514A;
  --ink-faint: #8B8278;
  --gold: #B8956A;
  --gold-deep: #8C6F4D;
  --green: #3D4A3F;
  --line: #E2D8C7;
  --line-soft: #EFE8DA;
  --danger: #B84A4A;
  --shadow-soft: 0 1px 2px rgba(31,27,22,0.04), 0 8px 24px rgba(31,27,22,0.04);
  --shadow-lift: 0 2px 8px rgba(31,27,22,0.06), 0 24px 48px rgba(31,27,22,0.08);
  --display: 'Fraunces', 'Times New Roman', serif;
  --body: 'Manrope', system-ui, sans-serif;
}

/* Buttons — pill-shaped, four variants */
.btn {
  padding: 16px 28px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary { background: var(--ink); color: white; }
.btn-primary:hover { background: var(--gold-deep); transform: translateY(-1px); }
.btn-primary:disabled { background: var(--ink-faint); cursor: not-allowed; transform: none; }
.btn-whatsapp { background: #25D366; color: white; }
.btn-whatsapp:hover { background: #1DA851; transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-danger { background: transparent; color: var(--danger); border: 1px solid #E5C8C8; }
.btn-danger:hover { background: var(--danger); color: white; border-color: var(--danger); }

/* Toast — fixed at bottom, slides up on .show */
.toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--ink);
  color: white;
  padding: 14px 22px;
  border-radius: 100px;
  font-size: 13px;
  z-index: 999;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: var(--shadow-lift);
  font-weight: 500;
  max-width: 90vw;
  text-align: center;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.error { background: var(--danger); }
