/* =====================================================
   Hair Booking - Design System v1
   שחור חם + פליז. Suez One (כותרות) / Heebo (גוף)
   ===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Suez+One&family=Heebo:wght@300;400;500;700&display=swap');

:root {
  --bg: #0E0C09;
  --surface: #17130E;
  --surface-2: #211B12;
  --line: #302818;
  --gold: #C9A24B;
  --gold-bright: #E8C97D;
  --gold-dim: rgba(201,162,75,.14);
  --ink: #F3ECDD;
  --muted: #A79B84;
  --danger: #C96B5A;
  --ok: #8FAF7E;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Heebo', sans-serif;
  background: var(--bg);
  color: var(--ink);
  direction: rtl;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
h1, h2, h3, .display { font-family: 'Suez One', serif; font-weight: 400; line-height: 1.25; }

/* ---- חתימה: פס ברבר-פול אלכסוני ---- */
.pole {
  height: 6px;
  background: repeating-linear-gradient(
    -45deg,
    var(--gold) 0 14px,
    transparent 14px 28px,
    #8a6f33 28px 42px,
    transparent 42px 56px
  );
  border-radius: 3px;
  opacity: .85;
}
.pole--thin { height: 3px; opacity: .5; }

/* ---- layout ---- */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 460px; margin: 0 auto; padding: 0 20px; }

/* ---- כפתורים ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Heebo', sans-serif; font-size: 16px; font-weight: 500;
  padding: 13px 26px; border-radius: var(--radius); border: 0; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .15s;
  text-decoration: none; color: var(--bg); background: var(--gold);
}
.btn:hover { background: var(--gold-bright); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }
.btn--ghost { background: transparent; color: var(--gold); border: 1px solid var(--gold); }
.btn--ghost:hover { background: var(--gold-dim); color: var(--gold-bright); }
.btn--danger { background: transparent; color: var(--danger); border: 1px solid var(--danger); }
.btn--sm { padding: 8px 16px; font-size: 14px; border-radius: 10px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }

/* ---- טפסים ---- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; font: inherit; color: var(--ink);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px;
  transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
}
.hint { font-size: 13px; color: var(--muted); margin-top: 5px; }
.hint.ok { color: var(--ok); }
.hint.bad { color: var(--danger); }

/* ---- כרטיסים ---- */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
}
.card--pad-lg { padding: 32px; }

/* ---- טבלה ---- */
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: right; color: var(--muted); font-weight: 500; padding: 10px 12px; border-bottom: 1px solid var(--line); }
td { padding: 12px; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }

/* ---- תגיות סטטוס ---- */
.tag { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 500; }
.tag--pending   { background: rgba(201,162,75,.15); color: var(--gold-bright); }
.tag--active    { background: rgba(143,175,126,.15); color: var(--ok); }
.tag--suspended { background: rgba(201,107,90,.15); color: var(--danger); }
.tag--cancelled { background: rgba(167,155,132,.15); color: var(--muted); }

/* ---- toast ---- */
.toast {
  position: fixed; bottom: 24px; right: 50%; transform: translateX(50%);
  background: var(--surface-2); color: var(--ink); border: 1px solid var(--gold);
  padding: 13px 22px; border-radius: 12px; box-shadow: var(--shadow);
  z-index: 999; font-size: 15px; opacity: 0; pointer-events: none;
  transition: opacity .25s, bottom .25s;
}
.toast.show { opacity: 1; bottom: 34px; }
.toast.err { border-color: var(--danger); }

/* ---- misc ---- */
.muted { color: var(--muted); }
.gold { color: var(--gold); }
.center { text-align: center; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 28px; } .mt-4 { margin-top: 44px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 28px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.grow { flex: 1; }
.hidden { display: none !important; }

/* ---- סקרולבר ---- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 5px; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
