/* iGel Beauty POS: shared look. Gold for the brand, pink for actions, white canvas, plum text. */
:root {
  --gold: #d4a82e;
  --gold-text: #8f6c12;
  --gold-wash: #fbf4e1;
  --pink: #d63a78;
  --pink-bright: #eb4c89;
  --pink-wash: #fde7f0;
  --blush: #fff7f9;
  --plum: #2a1f2d;
  --plum-soft: #6b5d6e;
  --line: #ece4e8;
  --gray: #f4f2f1;
  --ok: #157a4a;
  --ok-wash: #e3f5ec;
  --warn: #9a5b00;
  --warn-wash: #fff1d6;
  --busy: #8a3b12;
  --busy-wash: #fde9de;
  --radius: 14px;
  --tap: 56px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--plum);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; height: 100%; background: #fff; }
button { font: inherit; color: inherit; cursor: pointer; }
button:focus-visible, input:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }
.num { font-variant-numeric: tabular-nums; }

/* Brand mark */
.brand { display: flex; align-items: baseline; gap: .35rem; font-weight: 800; font-size: 1.35rem; letter-spacing: -.01em; white-space: nowrap; }
.brand .gold { color: var(--gold-text); font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 700; }
.brand .pink { color: var(--pink-bright); }
.brand-sep { width: 1px; height: 1.1rem; background: var(--line); align-self: center; }

.demo-flag { font-size: .75rem; font-weight: 700; color: var(--warn); background: var(--warn-wash); border-radius: 999px; padding: .2rem .6rem; }

/* Language switch */
.langs { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: #fff; }
.langs button { border: 0; background: none; min-width: 44px; height: 36px; border-radius: 999px; font-weight: 700; font-size: .85rem; color: var(--plum-soft); }
.langs button[aria-pressed="true"] { background: var(--plum); color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: var(--tap); padding: 0 1.25rem;
  border-radius: var(--radius); border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: 1rem;
  transition: transform .08s ease, background .15s ease; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--pink); border-color: var(--pink); color: #fff; }
.btn-primary:hover { background: #c22f69; }
.btn-gold { background: var(--gold-wash); border-color: #ecd9a4; color: var(--gold-text); }
.btn-ghost { background: none; border-color: transparent; color: var(--plum-soft); }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* Pills */
.pill { display: inline-flex; align-items: center; gap: .3rem; font-size: .78rem; font-weight: 700; border-radius: 999px; padding: .2rem .6rem; white-space: nowrap; }
.pill-next { background: var(--pink-wash); color: #a3215a; }
.pill-free { background: var(--ok-wash); color: var(--ok); }
.pill-busy { background: var(--busy-wash); color: var(--busy); }
.pill-break { background: var(--gray); color: var(--plum-soft); }
.pill-req { background: var(--gold-wash); color: var(--gold-text); }
.pill-appt { background: var(--pink-wash); color: #a3215a; }

/* Modal */
.modal { position: fixed; inset: 0; background: rgba(42, 31, 45, .45); display: grid; place-items: center; padding: 1rem; z-index: 20; }
.modal[hidden] { display: none; }
.sheet { background: #fff; border-radius: 20px; width: min(560px, 100%); max-height: calc(100vh - 2rem); overflow: auto; padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(42, 31, 45, .25); }
.sheet h2 { margin: 0 0 1rem; font-size: 1.3rem; }

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