/* Masáže Layla – rezervácie (prototyp). Spoločné tokeny pre zákaznícku časť aj administráciu. */
:root {
  --bg: #f6efe5; --bg-2: #efe5d6; --paper: #fffaf2; --paper-2: #fbf5ec;
  --ink: #24170f; --ink-2: #5c4a3b; --muted: #8a7663; --line: rgba(36, 23, 15, .11); --line-2: rgba(36, 23, 15, .2);
  --accent: #7a6555; --accent-d: #5f4d40; --accent-soft: #ece1d3; --ok: #4f6b4a; --ok-soft: #e3eadb; --warn: #a65f3e; --warn-soft: #f4e2d6;
  --serif: "Playfair Display", Georgia, serif; --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 18px; --r-s: 12px; --ease: cubic-bezier(.2, .8, .2, 1); --spring: cubic-bezier(.34, 1.4, .5, 1);
  --shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 10px 30px -18px rgba(36, 23, 15, .45);
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.45 var(--sans); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 10px; }

.btn { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; padding: 0 1.4em; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 600; font-size: 15.5px; letter-spacing: .01em; transition: transform .25s var(--spring), background .2s, opacity .2s; }
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .35; pointer-events: none; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.soft { background: var(--accent-soft); color: var(--ink); }
.btn.sm { min-height: 40px; font-size: 14px; padding: 0 1.05em; }
.btn svg { width: 18px; height: 18px; flex: none; }

.chip { display: inline-flex; align-items: center; justify-content: center; gap: .35em; min-height: 42px; padding: 0 1em; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; transition: background .2s, color .2s, box-shadow .2s, transform .25s var(--spring); white-space: nowrap; }
.chip:active { transform: scale(.95); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.chip small { font-weight: 400; opacity: .7; font-size: 12.5px; }

.field { position: relative; display: block; }
.field input, .field textarea, .field select { width: 100%; min-height: 56px; padding: 22px 16px 8px; border-radius: 14px; border: 0; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 16px; outline: none; transition: box-shadow .2s; resize: none; }
.field select { padding-top: 22px; appearance: none; }
.field textarea { min-height: 88px; padding-top: 26px; }
.field input:focus, .field textarea:focus, .field select:focus { box-shadow: inset 0 0 0 1.5px var(--ink); }
.field span { position: absolute; left: 16px; top: 17px; color: var(--muted); pointer-events: none; transition: transform .2s var(--ease), font-size .2s; transform-origin: left top; }
.field input:focus + span, .field input:not(:placeholder-shown) + span, .field textarea:focus + span, .field textarea:not(:placeholder-shown) + span, .field select + span { transform: translateY(-10px); font-size: 12px; }
.field.err input { box-shadow: inset 0 0 0 1.5px var(--warn); }
.field .opt { position: absolute; right: 14px; top: 18px; font-size: 12px; color: var(--muted); pointer-events: none; }

.toast { position: fixed; left: 50%; bottom: calc(96px + var(--safe-b)); transform: translate(-50%, 20px); opacity: 0; background: var(--ink); color: var(--paper); padding: 11px 16px; border-radius: 12px; font-size: 14px; max-width: min(92vw, 420px); z-index: 60; transition: opacity .25s, transform .35s var(--spring); pointer-events: none; box-shadow: 0 14px 40px -12px rgba(0,0,0,.5); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

.wordmark { display: inline-block; width: 87px; height: 20px; background: var(--ink); -webkit-mask: url(img/layla_logotype.svg) center/contain no-repeat; mask: url(img/layla_logotype.svg) center/contain no-repeat; }
.test-ribbon { background: repeating-linear-gradient(-45deg, #2b1d14 0 12px, #33241a 12px 24px); color: #f1e4d2; font-size: 12px; letter-spacing: .02em; text-align: center; padding: 6px 12px; }
.test-ribbon b { font-weight: 600; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
.field .req { font-style: normal; color: var(--warn); margin-left: 1px; }
