/* SalonPulse sign in pages: the glass film behind a frosted panel. Arial. Sage & Sand. */
:root {
    --ivory: #f5f2ec;
    --champagne: #e4d8c8;
    --sage: #a3ac99;
    --moss: #566354;
    --forest: #252c26;
    --ink: #1f1b18;
    --rose: #e3a593;
    --hair: rgba(245, 242, 236, .18);
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; background: var(--forest) url(/img/glass-poster.jpg) center / cover no-repeat; color: var(--ivory); font: 16px/1.55 Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
p { margin: 0; }

.sp { position: relative; min-height: 100svh; display: grid; grid-template-columns: 1fr minmax(380px, 460px); overflow: hidden; }
.sp-vid { position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sp-shade { position: fixed; inset: 0; background: linear-gradient(90deg, rgba(37, 44, 38, .78) 0%, rgba(37, 44, 38, .3) 50%, rgba(37, 44, 38, .1) 70%), linear-gradient(180deg, rgba(37, 44, 38, .35) 0%, rgba(37, 44, 38, 0) 30%, rgba(37, 44, 38, .55) 100%); }

/* the left: name and one line, set big at the foot of the film */
.sp-side { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 36px clamp(28px, 5vw, 72px) clamp(40px, 9vh, 96px); }
.sp-brand { font-weight: 700; font-size: 1.3rem; letter-spacing: -.03em; text-decoration: none; }
.sp-brand span { color: var(--sage); font-weight: 400; }
.sp-eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .74rem; font-weight: 700; color: var(--sage); margin-bottom: 18px; }
.sp-side h1 { margin: 0; font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: 1.02; letter-spacing: -.04em; font-weight: 700; max-width: 12ch; }
.sp-side .sp-sub { margin-top: 20px; max-width: 30rem; color: var(--champagne); opacity: .85; font-size: 1.08rem; }

/* the right: a pane of frosted glass the full height of the screen */
.sp-panel { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 56px clamp(28px, 4vw, 52px) 84px; background: rgba(37, 44, 38, .46); border-left: 1px solid var(--hair); backdrop-filter: blur(26px) saturate(1.2); -webkit-backdrop-filter: blur(26px) saturate(1.2); }
.sp-panel h2 { margin: 0 0 8px; font-size: 1.6rem; letter-spacing: -.03em; line-height: 1.15; }
.sp-panel .sp-lede { color: var(--champagne); opacity: .8; font-size: .96rem; margin-bottom: 30px; }
.sp-foot { position: absolute; left: clamp(28px, 4vw, 52px); right: clamp(28px, 4vw, 52px); bottom: 24px; display: flex; justify-content: space-between; gap: 16px; font-size: .78rem; color: rgba(245, 242, 236, .55); }
.sp-foot a { text-decoration: none; }
.sp-foot a:hover { color: var(--ivory); }

/* fields: a hairline under the words, nothing boxed in */
.sp-field { display: block; margin-bottom: 22px; }
.sp-field > span { display: block; text-transform: uppercase; letter-spacing: .16em; font-size: .7rem; font-weight: 700; color: var(--sage); margin-bottom: 6px; }
.sp-field input { width: 100%; height: 46px; padding: 0; background: transparent; border: 0; border-bottom: 1px solid rgba(245, 242, 236, .35); border-radius: 0; color: var(--ivory); font: 1.05rem Arial, Helvetica, sans-serif; outline: none; transition: border-color .2s; }
.sp-field input::placeholder { color: rgba(245, 242, 236, .38); }
.sp-field input:focus { border-bottom-color: var(--champagne); }
.sp-field input:-webkit-autofill { -webkit-text-fill-color: var(--ivory); box-shadow: 0 0 0 40px #39423a inset; caret-color: var(--ivory); }
.sp-code input { font-size: 1.7rem; letter-spacing: .5em; height: 56px; }

/* buttons: pills, as on salonflow.co.uk */
.sp-btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 52px; padding: 0 24px; margin-top: 8px; border-radius: 999px; border: 1px solid var(--champagne); background: var(--champagne); color: var(--ink); font: 700 .98rem Arial, Helvetica, sans-serif; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, transform .15s; }
.sp-btn:hover { background: var(--ivory); border-color: var(--ivory); transform: translateY(-1px); }
.sp-btn.ghost { background: transparent; color: var(--ivory); border-color: rgba(245, 242, 236, .4); }
.sp-btn.ghost:hover { background: rgba(245, 242, 236, .1); border-color: var(--ivory); }
.sp-or { display: flex; align-items: center; gap: 14px; margin: 22px 0 14px; font-size: .8rem; color: rgba(245, 242, 236, .55); }
.sp-or::before, .sp-or::after { content: ""; flex: 1; border-top: 1px solid var(--hair); }
.sp-link { display: inline-block; margin-top: 22px; font-size: .9rem; color: var(--champagne); text-underline-offset: 3px; }

/* messages: a line of colour down the side, no boxes */
.sp-msg { margin: 0 0 24px; padding: 2px 0 2px 14px; border-left: 2px solid var(--sage); font-size: .95rem; color: var(--ivory); }
.sp-msg.bad { border-left-color: var(--rose); }
.sp-who { font-size: 1.05rem; margin-bottom: 24px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }

/* staff PIN pad, for the salon's shared tablet */
.pin-who { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--hair); }
.pin-who button { background: none; border: 0; padding: 0; color: var(--champagne); font: .9rem Arial, Helvetica, sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pin-input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.pin-dots { display: flex; justify-content: center; gap: 14px; height: 16px; margin: 6px 0 22px; }
.pin-dots i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid rgba(245, 242, 236, .6); transition: background .15s; }
.pin-dots i.on { background: var(--champagne); border-color: var(--champagne); }
.pin-dots i.spare { border-style: dashed; opacity: .4; }
.pin-pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.pin-pad button { height: 58px; border-radius: 16px; border: 1px solid var(--hair); background: rgba(245, 242, 236, .06); color: var(--ivory); font: 400 1.4rem Arial, Helvetica, sans-serif; cursor: pointer; transition: background .15s; }
.pin-pad button:hover { background: rgba(245, 242, 236, .14); }
.pin-pad button:active { background: rgba(228, 216, 200, .3); }
.pin-pad .key-small { font-size: .9rem; color: var(--champagne); }
.pin-hint { margin-top: 14px; font-size: .84rem; color: rgba(245, 242, 236, .6); }

@media (max-width: 900px) {
    .sp { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
    .sp-side { padding: 22px 22px 34px; min-height: 38svh; }
    .sp-side h1 { font-size: clamp(2.2rem, 10vw, 3.2rem); }
    .sp-side .sp-sub { display: none; }
    .sp-panel { justify-content: flex-start; padding: 32px 22px 84px; border-left: 0; border-top: 1px solid var(--hair); border-radius: 22px 22px 0 0; }
    .sp-shade { background: linear-gradient(180deg, rgba(37, 44, 38, .45) 0%, rgba(37, 44, 38, .15) 40%, rgba(37, 44, 38, .5) 100%); }
}
@media (prefers-reduced-motion: reduce) {
    .sp-btn { transition: none; }
}

/* a page with no panel: the paused salon */
.sp-solo { grid-template-columns: 1fr; }
