/* Eagle Barbershop: confirmed-booking screen (ebk) v1
   Presentation only. Scoped to .ebk. Fonts already on the site: Cinzel, Oswald, Inter.
   Render ONLY inside the existing server-confirmed success branch.                      */
 
.ebk{--ivory:#f4efe6;--muted:#c9c2b5;--brass:#c9a24b;--brass2:#e8cd85;--hair:rgba(201,162,75,.3);
  --grad:linear-gradient(100deg,#9b7a2e 0%,#f3dc9a 35%,#c9a24b 55%,#f7e3a8 75%,#a8842f 100%);
  position:relative;display:flex;flex-direction:column;gap:14px;margin:10px 0 6px;width:100%;
  font-family:Inter,system-ui,sans-serif;font-size:17px;line-height:1.45;color:var(--ivory);-webkit-font-smoothing:antialiased}
.ebk *{box-sizing:border-box}
 
/* ---------- 1. BOOKED plate (stays pinned at the top of the chat while the section scrolls) ---------- */
.ebk-plate{position:sticky;top:6px;z-index:3;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:14px;
  padding:16px 18px 14px 14px;border-radius:16px;overflow:hidden;color:#15110a;
  background:var(--grad);background-size:220% 100%;
  box-shadow:0 14px 34px rgba(0,0,0,.6),inset 0 1px 0 rgba(255,255,255,.6),inset 0 0 0 1px rgba(90,69,24,.4);
  animation:ebk-stamp .75s cubic-bezier(.2,1.3,.3,1) both}
.ebk-plate::before{content:"";position:absolute;left:0;right:0;top:0;height:5px;  /* barber-pole edge */
  background:repeating-linear-gradient(-45deg,#15110a 0 6px,#f4efe6 6px 9px,#15110a 9px 15px,#8a6c2a 15px 21px);opacity:.85}
.ebk-plate::after{content:"";position:absolute;inset:0;pointer-events:none;  /* one sheen pass, then still */
  background:linear-gradient(100deg,transparent 35%,rgba(255,255,255,.55) 50%,transparent 65%);transform:translateX(-120%);
  animation:ebk-sheen 1.4s .5s ease-out both}
.ebk-seal{width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:#15110a;color:var(--brass2);
  box-shadow:0 0 0 3px rgba(21,17,10,.25),inset 0 0 0 2px var(--brass),inset 0 0 0 5px #15110a,inset 0 0 0 6px rgba(232,205,133,.45)}
.ebk-seal svg{width:28px;height:28px}
.ebk-word{display:block;margin:0;font-family:Cinzel,serif;font-weight:700;font-size:clamp(40px,11vw,54px);line-height:.95;letter-spacing:.12em}
.ebk-when{display:block;margin-top:6px;font-size:16px;font-weight:600;line-height:1.3}
 
/* ---------- 2. Appointment ticket ---------- */
.ebk-ticket{position:relative;border-radius:18px;padding:20px 20px 18px;border:1px solid rgba(232,205,133,.42);
  background:radial-gradient(120% 70% at 100% 0%,rgba(201,162,75,.14),transparent 60%),#13110e;
  box-shadow:inset 0 0 0 4px #13110e,inset 0 0 0 5px rgba(201,162,75,.12)}
.ebk-status{display:flex;align-items:center;gap:10px;margin:0;font-family:Oswald,sans-serif;font-weight:500;font-size:14px;
  letter-spacing:.16em;text-transform:uppercase;color:#bfe6cc}
.ebk-status::before{content:"";width:10px;height:10px;border-radius:50%;background:#7fd39b;box-shadow:0 0 0 4px rgba(127,211,155,.15)}
.ebk-service{margin:12px 0 0;font-family:Cinzel,serif;font-weight:700;font-size:clamp(26px,7vw,32px);line-height:1.1;
  background:var(--grad);background-size:200% 100%;-webkit-background-clip:text;background-clip:text;color:transparent}
.ebk-barber{margin:4px 0 0;font-size:18px;color:var(--ivory)}
.ebk-wings{display:block;width:180px;max-width:70%;height:auto;margin:16px 0 14px}
.ebk-facts{display:grid;grid-template-columns:1fr 1fr;gap:14px 18px;margin:0}
.ebk-fact{margin:0}
.ebk-fact--wide{grid-column:1 / -1}
.ebk-fact dt{font-family:Oswald,sans-serif;font-size:13px;letter-spacing:.2em;text-transform:uppercase;color:var(--brass2)}
.ebk-fact dd{margin:4px 0 0;font-size:19px;font-weight:600;line-height:1.3;color:var(--ivory)}
.ebk-fact--time dd{font-family:Cinzel,serif;font-weight:700;font-size:26px;letter-spacing:.02em}
.ebk-fact dd small{display:block;font-size:15px;font-weight:400;color:var(--muted)}
.ebk-dir{display:inline-flex;align-items:center;gap:10px;min-height:48px;margin-top:10px;padding:0 18px;border-radius:12px;
  border:1px solid rgba(201,162,75,.55);color:var(--brass2);text-decoration:none;font-family:Oswald,sans-serif;font-weight:500;
  font-size:15px;letter-spacing:.14em;text-transform:uppercase;transition:background .25s,border-color .25s}
.ebk-dir:hover{background:rgba(201,162,75,.12);border-color:var(--brass2)}
.ebk-dir svg{width:18px;height:18px;flex:none}
 
/* ---------- 3. Calendar: clearly optional and separate ---------- */
.ebk-cal{border-radius:18px;padding:18px;border:1.5px dashed rgba(244,239,230,.24);background:rgba(244,239,230,.02)}
.ebk-cal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0}
.ebk-cal-title{margin:0;font-family:Cinzel,serif;font-weight:700;font-size:19px;line-height:1.2;color:var(--ivory)}
.ebk-optional{flex:none;font-family:Oswald,sans-serif;font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:var(--muted);
  border:1px solid rgba(244,239,230,.22);border-radius:99px;padding:5px 10px}
.ebk-cal-note{margin:8px 0 14px;font-size:16px;color:var(--muted)}
.ebk-cal-note strong{color:var(--ivory);font-weight:600}
.ebk-btn{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:56px;padding:0 18px;border-radius:14px;
  font:inherit;font-family:Oswald,sans-serif;font-weight:500;font-size:16px;letter-spacing:.12em;text-transform:uppercase;text-decoration:none;
  cursor:pointer;transition:background .25s,border-color .25s,color .25s,transform .15s}
.ebk-btn:active{transform:scale(.985)}
.ebk-btn svg{width:20px;height:20px;flex:none}
.ebk-btn:focus-visible,.ebk-dir:focus-visible{outline:3px solid var(--brass2);outline-offset:3px}
.ebk-btn--cal{border:1px solid rgba(232,205,133,.6);background:#16140f;color:var(--brass2)}
.ebk-btn--cal:hover{background:#1f1b14}
.ebk-btn--cal .ebk-chev{margin-left:auto;transition:transform .3s}
.ebk-btn--cal[aria-expanded="true"] .ebk-chev{transform:rotate(180deg)}
.ebk-cal-links{display:grid;gap:10px;margin-top:10px;animation:ebk-rise .35s ease both}
.ebk-btn--link{border:1px solid rgba(244,239,230,.2);background:transparent;color:var(--ivory);text-transform:none;letter-spacing:.02em;
  font-family:Inter,sans-serif;font-weight:600;font-size:17px;justify-content:flex-start}
.ebk-btn--link:hover{border-color:var(--brass2);background:rgba(201,162,75,.08)}
.ebk-btn--link small{margin-left:auto;font-weight:400;font-size:14px;color:var(--muted)}
 
/* ---------- 4. Next actions (appears after the existing delay, below the ticket) ---------- */
.ebk-next{margin-top:4px;padding:18px;border-radius:18px;background:#100f0d;border:1px solid rgba(244,239,230,.1);animation:ebk-rise .5s ease both}
.ebk-next-title{margin:0 0 12px;font-family:Cinzel,serif;font-weight:700;font-size:20px;line-height:1.2;color:var(--ivory)}
.ebk-next-list{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.ebk-btn--book{border:0;color:#15110a;background:linear-gradient(180deg,#ead18c,#c9a24b);box-shadow:0 8px 22px rgba(201,162,75,.25),inset 0 1px 0 rgba(255,255,255,.5)}
.ebk-btn--book:hover{background:linear-gradient(180deg,#f2dca0,#d4ae56)}
.ebk-btn--resched{border:1px solid rgba(232,205,133,.55);background:transparent;color:var(--brass2)}
.ebk-btn--resched:hover{background:rgba(201,162,75,.1)}
.ebk-btn--cancel{border:1px solid rgba(232,160,148,.45);background:transparent;color:#f0b4a8}
.ebk-btn--cancel:hover{background:rgba(232,160,148,.08);border-color:#f0b4a8}
.ebk-btn--book,.ebk-btn--resched,.ebk-btn--cancel{justify-content:flex-start}
 
/* ---------- short phones: tighter, plate stays readable ---------- */
@media (max-height:700px){
  .ebk-plate{padding:12px 14px 10px 12px;gap:12px}
  .ebk-seal{width:48px;height:48px}.ebk-seal svg{width:24px;height:24px}
  .ebk-word{font-size:clamp(34px,10vw,44px)}
  .ebk-when{font-size:15px;margin-top:4px}
  .ebk-ticket{padding:16px}
  .ebk-wings{margin:12px 0 10px}
}
@media (max-width:360px){.ebk-facts{grid-template-columns:1fr}}
 
@keyframes ebk-stamp{0%{opacity:0;transform:scale(1.08)}60%{opacity:1;transform:scale(.985)}100%{transform:none}}
@keyframes ebk-sheen{to{transform:translateX(120%)}}
@keyframes ebk-rise{from{opacity:0;transform:translateY(10px)}}
@media (prefers-reduced-motion:reduce){.ebk *,.ebk *::before,.ebk *::after{animation:none!important;transition:none!important}}

/* Fit Claude's brass ticket to the existing chat without changing its state,
   calendar links, confirmation guards, scroll behaviour or next-action delay. */
.appointment-calendar.ebk{padding:0;border:0;border-radius:0;background:none;box-shadow:none;gap:10px;isolation:isolate;scroll-margin-top:8px}
.appointment-calendar.ebk .ebk-plate{top:0;padding:15px 14px;gap:12px;border-radius:9px;box-shadow:inset 0 1px 0 #fff5,0 5px 18px #0003;animation:none}
.appointment-calendar.ebk .ebk-plate::after{display:none}
.appointment-calendar.ebk .ebk-seal{width:46px;height:46px}
.appointment-calendar.ebk .ebk-word{margin:0;color:#15110a;font:700 clamp(28px,8vw,40px)/1.1 Cinzel,Georgia,serif;letter-spacing:.05em;text-transform:uppercase;text-wrap:wrap}
.appointment-calendar.ebk .ebk-when{margin:5px 0 0;color:#211a0b;font:600 16px/1.4 Inter,system-ui,sans-serif}
.ebk .ebk-ticket{padding:12px 16px 16px;border-radius:9px}
.ebk-brand{display:flex;align-items:center;justify-content:center;gap:12px;margin:0 0 8px;color:#e8cd85}
.ebk-brand img{display:block;object-fit:contain;flex:none}
.ebk-brand span{height:1px;flex:1;background:linear-gradient(90deg,transparent,#c9a24b)}
.ebk-brand span:last-child{transform:rotate(180deg)}
.ebk-date{margin:0;color:#f4efe6;font:600 18px/1.4 Inter,system-ui,sans-serif}
.ebk-time{margin:3px 0 12px;color:#e8cd85;font:700 27px/1.25 Cinzel,Georgia,serif}
.ebk .ebk-service{margin:0;color:#f4efe6;background:none;font:600 18px/1.4 Inter,system-ui,sans-serif}
.ebk .ebk-barber{display:flex;align-items:center;flex-wrap:wrap;gap:6px 16px;margin:4px 0 0;font:400 16px/1.5 Inter,system-ui,sans-serif}
.ebk-duration{display:inline-flex;align-items:center;gap:5px;color:#c9c2b5}
.ebk .ebk-cal{padding:12px;border-radius:9px}
.ebk .ebk-btn--cal{min-height:54px;padding:10px 14px;border-radius:5px;font:650 17px/1.35 Inter,system-ui,sans-serif;letter-spacing:0;text-transform:none;color:#15110a;background:linear-gradient(100deg,#e8cd85,#c9a24b)}
.ebk .ebk-cal-note{margin:10px 0 0;font:400 15px/1.5 Inter,system-ui,sans-serif}
.ebk-cal-links a{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:60px;padding:10px 12px;border:1px solid #6d5d3c;border-radius:5px;color:#f4efe6;background:#211d15;font:600 16px/1.4 Inter,system-ui,sans-serif}
.ebk-cal-links small{display:block;margin-top:3px;font-size:14px;font-weight:400;color:#c9c2b5}
.ebk-cal-links p,.ebk-notice{margin:6px 0 0;color:#c9c2b5;font:400 15px/1.5 Inter,system-ui,sans-serif}
.ebk-location{display:flex;align-items:start;gap:10px;min-height:48px;padding:6px 12px 10px;color:#e8cd85}
.ebk-location>svg{flex:none;margin-top:3px}
.ebk-location strong,.ebk-location small{display:block;font:600 16px/1.5 Inter,system-ui,sans-serif}
.ebk-location small{font-size:15px;font-weight:400;color:#c9c2b5}
.ebk-location em{display:flex;align-items:center;gap:5px;margin-top:6px;font:500 15px/1.5 Inter,system-ui,sans-serif;text-decoration:underline;text-underline-offset:3px}
.ebk :is(button,a):focus-visible{outline:3px solid #e8cd85;outline-offset:3px}
.booking-paths.ebk-next{grid-template-columns:1fr;padding:16px;border:1px solid #9b7d3966;border-radius:9px;background:#13110e;gap:10px;animation:none}
.booking-paths.ebk-next .ebk-next-title{margin:0 0 4px;color:#f4efe6;font:600 21px/1.35 Cinzel,Georgia,serif}
.booking-paths.ebk-next button{min-height:56px;padding:12px;text-align:left;border-radius:5px;font:600 16px/1.4 Inter,system-ui,sans-serif;letter-spacing:0;text-transform:none;background:transparent;border:1px solid #9b7d3988;color:#e8cd85}
.booking-paths.ebk-next button:first-of-type{color:#15110a;background:linear-gradient(100deg,#e8cd85,#c9a24b);border-color:#d9b766}
.booking-paths.ebk-next button:last-of-type{color:#f0b4a8;border-color:#e8a09473}
.booking-paths.ebk-next button svg{flex-shrink:0;width:20px;height:20px}
.booking-paths.ebk-next button:focus-visible{outline:3px solid #e8cd85;outline-offset:3px}
[data-testid="chat-messages"] [data-testid="proposal-card"][data-state="booked"]{padding:16px;border:1px solid #c9a24b;border-radius:8px;background:#17140f;color:#f4efe6;box-shadow:inset 0 0 0 4px #17140f,inset 0 0 0 5px #c9a24b33}
[data-testid="chat-messages"] [data-testid="proposal-card"][data-state="booked"]>div:first-child{gap:10px;margin:-16px -16px 14px;padding:12px 16px;background:linear-gradient(100deg,#e8cd85,#c9a24b);color:#15110a;font:700 28px/1.25 Cinzel,Georgia,serif;letter-spacing:.05em;text-transform:uppercase;border-radius:7px 7px 0 0}
[data-testid="chat-messages"] [data-testid="proposal-card"][data-state="booked"]>div:first-child svg{width:24px;height:24px;color:#15110a}
[data-testid="chat-messages"] [data-testid="proposal-card"][data-state="booked"] dl{font-size:16px;line-height:1.5;row-gap:6px}
[data-testid="chat-messages"] [data-testid="proposal-card"][data-state="booked"] dt{color:#c9c2b5}
[data-testid="chat-messages"] [data-testid="proposal-card"][data-state="booked"] dd{overflow-wrap:anywhere}
[data-testid="chat-messages"] [data-testid="proposal-card"][data-state="booked"]>p{font-size:16px;line-height:1.5;color:#e8cd85}
 
