/* ============ Daisy Nail Studio — Luxe Theme 2.0 ============ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;1,500&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --pink: #e0578c;
  --pink-dark: #c13a6b;
  --pink-deep: #93264e;
  --pink-soft: #fdeef5;
  --blush: #fff5f9;
  --cream: #fdf8f4;
  --ink: #35222c;
  --muted: #8f7583;
  --gold: #c9a24b;
  --gold-soft: #f4e8cf;
  --green: #24855b;
  --red: #d84351;
  --amber: #b8860b;
  --card: #ffffff;
  --border: #f3dbe5;
  --shadow: 0 2px 6px rgba(147, 38, 78, .05), 0 12px 32px rgba(193, 58, 107, .10);
  --shadow-lg: 0 4px 10px rgba(147, 38, 78, .06), 0 24px 60px rgba(193, 58, 107, .16);
  --radius: 20px;
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --grad: linear-gradient(135deg, #e0578c 0%, #c13a6b 55%, #a92e5c 100%);
  --grad-soft: linear-gradient(135deg, #ffe4ef 0%, #fff3ea 50%, #fdeaf3 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body { font-family: var(--font); background: var(--cream); color: var(--ink); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: var(--pink-dark); text-decoration: none; transition: color .15s ease; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.18; font-family: var(--font-display); letter-spacing: -.01em; }
h1 { font-weight: 700; }
img { max-width: 100%; }
code { background: var(--pink-soft); padding: 2px 7px; border-radius: 7px; font-size: .9em; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.mt { margin-top: 1rem; }
::selection { background: var(--pink); color: #fff; }

/* elegant thin scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #e8c7d5; border-radius: 99px; border: 2px solid var(--cream); }
::-webkit-scrollbar-thumb:hover { background: var(--pink); }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: .65rem 1.45rem; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 650; font-size: .93rem; cursor: pointer; text-decoration: none !important;
  transition: transform .18s cubic-bezier(.2,.8,.3,1.2), box-shadow .2s ease, background .2s ease, color .2s ease;
  position: relative; overflow: hidden; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(224, 87, 140, .38), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%);
  transform: translateX(-110%); transition: transform .5s ease; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(224, 87, 140, .5); }
.btn-primary:hover::after { transform: translateX(110%); }
.btn-outline { border-color: #efc2d4; color: var(--pink-dark); background: rgba(255,255,255,.8); backdrop-filter: blur(6px); }
.btn-outline:hover { background: var(--pink-soft); border-color: var(--pink); transform: translateY(-1px); }
.btn-ghost { color: var(--muted); background: transparent; }
.btn-ghost:hover { color: var(--pink-dark); background: var(--pink-soft); }
.btn-sm { padding: .38rem .95rem; font-size: .84rem; }
.btn-lg { padding: .9rem 2.2rem; font-size: 1.03rem; }
.btn-green { background: linear-gradient(135deg, #2e9e6b, #1f7a50); color: #fff; box-shadow: 0 5px 16px rgba(36, 133, 91, .35); }
.btn-green:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(36, 133, 91, .45); }
.btn-danger { background: var(--red); color: #fff; }
button.btn { font-family: var(--font); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn:active { transform: translateY(0) scale(.98); }

/* ---------- Public header — floating glass ---------- */
.site-header { background: rgba(255, 251, 248, .78); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid rgba(243, 219, 229, .7); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { max-width: 1140px; margin: 0 auto; padding: .65rem 1.2rem; display: flex; align-items: center; gap: 1.5rem; }
.brand { font-size: 1.22rem; font-weight: 700; color: var(--pink-deep); display: flex; align-items: center; gap: .5rem; font-family: var(--font-display); }
.brand .daisy { font-size: 1.5rem; }
.logo-img { width: 44px; height: 44px; border-radius: 50%; object-fit: contain; }
.logo-img.lg { width: 96px; height: 96px; }
.logo-img.xl { width: 190px; height: 190px; filter: drop-shadow(0 14px 28px rgba(224,87,140,.35)); animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-12px) rotate(2deg); } }
.nav { display: flex; gap: 1.15rem; margin-left: auto; align-items: center; flex-wrap: wrap; }
.nav a { color: var(--ink); font-weight: 600; font-size: .92rem; position: relative; padding: .2rem 0; }
.nav a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px;
  background: var(--grad); border-radius: 2px; transition: right .22s ease; }
.nav a:not(.btn):hover::after, .nav a:not(.btn).active::after { right: 0; }
.nav a.active, .nav a:hover { color: var(--pink-dark); text-decoration: none; }

.container { max-width: 1140px; margin: 0 auto; padding: 1.5rem 1.2rem 3rem; }

/* ---------- Hero — gradient mesh with floating blobs ---------- */
.hero { background: var(--grad-soft); border-radius: 32px; padding: 3.6rem 2.6rem; margin-top: 1.2rem;
  display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; position: relative; overflow: hidden;
  border: 1px solid rgba(255,255,255,.8); box-shadow: var(--shadow); }
.hero::before, .hero::after { content: ''; position: absolute; border-radius: 50%; filter: blur(46px); opacity: .55; pointer-events: none; }
.hero::before { width: 380px; height: 380px; background: radial-gradient(circle, #ffc9de 0%, transparent 70%); top: -120px; right: -80px; animation: blob 11s ease-in-out infinite; }
.hero::after { width: 300px; height: 300px; background: radial-gradient(circle, #ffe0c2 0%, transparent 70%); bottom: -110px; left: -60px; animation: blob 13s ease-in-out infinite reverse; }
@keyframes blob { 0%, 100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-24px, 18px) scale(1.12); } }
.hero > * { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.1rem, 4.5vw, 3.1rem); margin: .3rem 0 .9rem; color: var(--pink-deep); }
.hero h1, .section-title { background: linear-gradient(120deg, var(--pink-deep), var(--pink-dark) 60%, var(--gold));
  -webkit-background-clip: text; background-clip: text; }
.hero h1 { -webkit-text-fill-color: transparent; }
.hero .tag { letter-spacing: .18em; text-transform: uppercase; font-size: .76rem; color: var(--pink-dark); font-weight: 800;
  display: inline-flex; align-items: center; gap: .5rem; background: rgba(255,255,255,.7); border: 1px solid rgba(224,87,140,.25);
  padding: .35rem .9rem; border-radius: 999px; backdrop-filter: blur(4px); }
.hero-emoji { font-size: 5.5rem; }
.hero .actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.3rem; }

.badges { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.5rem; }
.badge { background: rgba(255,255,255,.85); border: 1px solid rgba(243,219,229,.9); padding: .4rem .9rem; border-radius: 999px;
  font-size: .8rem; font-weight: 650; color: var(--muted); backdrop-filter: blur(4px); box-shadow: 0 2px 8px rgba(193,58,107,.06);
  transition: transform .18s ease, color .18s ease; }
.badge:hover { transform: translateY(-2px); color: var(--pink-dark); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.2rem; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.card { background: rgba(255,255,255,.92); border: 1px solid rgba(243,219,229,.85); border-radius: var(--radius); padding: 1.45rem;
  box-shadow: var(--shadow); backdrop-filter: blur(8px); position: relative;
  transition: transform .22s cubic-bezier(.2,.8,.3,1.1), box-shadow .25s ease, border-color .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #eec4d6; }
.card h3 { margin: 0 0 .45rem; font-size: 1.12rem; }
.section-title { margin: 2.6rem 0 1.1rem; font-size: 1.65rem; display: flex; align-items: center; gap: .55rem; color: var(--pink-deep); }
.price { color: var(--pink-dark); font-weight: 800; font-size: 1.12rem; }
.strike { text-decoration: line-through; color: var(--muted); font-weight: 500; }
.pill { display: inline-block; background: var(--pink-soft); color: var(--pink-dark); border-radius: 999px; padding: .18rem .75rem;
  font-size: .77rem; font-weight: 700; letter-spacing: .015em; }
.pill-green { background: #e0f4ea; color: var(--green); }
.pill-amber { background: #f9efd8; color: var(--amber); }
.pill-red { background: #fce8ea; color: var(--red); }
.pill-gray { background: #f2ebef; color: var(--muted); }
.pill-blue { background: #e6effc; color: #2563ae; }

.svc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .6rem 0; border-bottom: 1px dashed var(--border); }
.svc-row:last-child { border-bottom: none; }
.svc-row { transition: padding-left .18s ease; }
.svc-row:hover { padding-left: .35rem; }
.svc-meta { font-size: .82rem; color: var(--muted); }

/* ---------- Booking wizard ---------- */
.steps { display: flex; gap: .45rem; margin: 1.2rem 0 1.7rem; flex-wrap: wrap; }
.step { flex: 1; min-width: 120px; text-align: center; padding: .6rem .4rem; border-radius: 12px; background: rgba(255,255,255,.85);
  border: 1px solid var(--border); font-size: .82rem; font-weight: 700; color: var(--muted); transition: all .2s ease; }
.step.done { background: #e0f4ea; color: var(--green); border-color: #bfe7d2; }
.step.now { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(224,87,140,.35); }

.choice-grid { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.choice { border: 2px solid var(--border); border-radius: 16px; background: rgba(255,255,255,.9); padding: 1.05rem; cursor: pointer;
  transition: all .18s ease; position: relative; }
.choice:hover { border-color: var(--pink); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(224,87,140,.14); }
.choice.selected { border-color: var(--pink); background: var(--pink-soft); box-shadow: 0 6px 18px rgba(224,87,140,.22); }
.choice input { position: absolute; opacity: 0; }
.choice .title { font-weight: 700; }

.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: .5rem; }
.slot { text-align: center; padding: .55rem .2rem; border-radius: 12px; border: 1.5px solid var(--border); background: rgba(255,255,255,.9);
  cursor: pointer; font-weight: 650; font-size: .88rem; transition: all .15s ease; }
.slot:hover { border-color: var(--pink); transform: translateY(-1px); }
.slot.selected { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 5px 14px rgba(224,87,140,.35); }
.slot.full { background: #f6f0f3; color: #c9b6c0; cursor: not-allowed; text-decoration: line-through; }

.form-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
label.fld { display: block; font-weight: 700; font-size: .84rem; margin-bottom: .3rem; color: var(--ink); letter-spacing: .01em; }
input[type=text], input[type=tel], input[type=email], input[type=date], input[type=time], input[type=month], input[type=number], input[type=password], select, textarea {
  width: 100%; padding: .65rem .9rem; border: 1.5px solid var(--border); border-radius: 12px; font-family: var(--font); font-size: .95rem;
  background: rgba(255,255,255,.95); color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 4px rgba(224,87,140,.14); }

.summary-box { background: linear-gradient(135deg, #fdeef5, #fff4ec); border-radius: 16px; padding: 1.15rem 1.35rem; border: 1px solid rgba(255,255,255,.9); }
.summary-box .row { display: flex; justify-content: space-between; padding: .25rem 0; font-size: .95rem; }
.summary-box .row.total { border-top: 2px solid #f4c8d8; margin-top: .5rem; padding-top: .6rem; font-weight: 800; font-size: 1.05rem; }

.alert { border-radius: 14px; padding: .95rem 1.2rem; margin: 1rem 0; font-size: .93rem; animation: slideIn .3s ease; }
@keyframes slideIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.alert-success { background: #e0f4ea; color: #17603d; border: 1px solid #bfe7d2; }
.alert-error { background: #fce8ea; color: #8c1f2b; border: 1px solid #f3bfc6; }
.alert-warn { background: #f9efd8; color: #7a5408; border: 1px solid #efd9a8; }
.alert-info { background: #e6effc; color: #1c4d84; border: 1px solid #bcd6f2; }

/* ---------- Confirmation ---------- */
.confirm-hero { text-align: center; padding: 2.5rem 1rem 1rem; }
.confirm-hero .big { font-size: 4rem; animation: pop .45s cubic-bezier(.2,.8,.3,1.4); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.notif-sim { border-left: 4px solid var(--green); background: #fff; border-radius: 12px; padding: .85rem 1.05rem; margin: .6rem 0;
  box-shadow: var(--shadow); font-size: .88rem; white-space: pre-wrap; }
.notif-sim .from { font-weight: 800; font-size: .8rem; color: var(--green); text-transform: uppercase; letter-spacing: .05em; }
.notif-sim.wa { border-left-color: #25d366; }
.notif-sim.email { border-left-color: #4285f4; }
.notif-sim.cal { border-left-color: var(--amber); }

/* ---------- WhatsApp simulator ---------- */
.wa-shell { max-width: 480px; margin: 1.5rem auto; border-radius: 26px; overflow: hidden; box-shadow: 0 24px 70px rgba(0,0,0,.22); border: 1px solid #e6e0da; }
.wa-header { background: #075e54; color: #fff; padding: .8rem 1rem; display: flex; align-items: center; gap: .7rem; }
.wa-header .avatar { width: 40px; height: 40px; background: var(--pink-soft); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.wa-header .name { font-weight: 700; }
.wa-header .status { font-size: .75rem; opacity: .85; }
.wa-body { background: #e5ddd5 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" opacity="0.06"><text x="6" y="36" font-size="26">🌼</text></svg>'); height: 480px; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.wa-msg { max-width: 82%; padding: .55rem .8rem; border-radius: 12px; font-size: .9rem; white-space: pre-wrap; box-shadow: 0 1px 1px rgba(0,0,0,.12); animation: slideIn .25s ease; }
.wa-msg.in { background: #fff; align-self: flex-start; border-top-left-radius: 3px; }
.wa-msg.out { background: #dcf8c6; align-self: flex-end; border-top-right-radius: 3px; }
.wa-msg .time { display: block; font-size: .68rem; color: #999; text-align: right; margin-top: .2rem; }
.wa-options { display: flex; flex-wrap: wrap; gap: .45rem; padding: .7rem; background: #f0f0f0; border-top: 1px solid #ddd; }
.wa-chip { background: #fff; border: 1.5px solid #075e54; color: #075e54; border-radius: 999px; padding: .4rem .95rem; font-size: .85rem; font-weight: 600; cursor: pointer; transition: all .15s ease; }
.wa-chip:hover { background: #075e54; color: #fff; }
.wa-input-row { display: flex; gap: .5rem; padding: .6rem; background: #f0f0f0; }
.wa-input-row input { flex: 1; border-radius: 999px; }
.typing { font-style: italic; color: #666; font-size: .8rem; }

/* ---------- Admin layout — deep plum glass sidebar ---------- */
.admin-shell { display: flex; min-height: 100vh; }
.sidebar { width: 236px; background: linear-gradient(175deg, #2f1c27 0%, #251019 60%, #2a0f1c 100%); color: #e8d8e0;
  padding: 1.2rem .95rem; flex-shrink: 0; position: relative; }
.sidebar::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(224,87,140,.4), transparent); }
.sidebar .brand { color: #fff; margin-bottom: 1.4rem; font-size: 1.05rem; }
.sidebar nav a { display: flex; align-items: center; gap: .6rem; color: #c8adba; padding: .52rem .75rem; border-radius: 11px;
  font-size: .89rem; font-weight: 600; margin-bottom: .15rem; transition: all .16s ease; }
.sidebar nav a:hover { background: rgba(255,255,255,.07); color: #fff; text-decoration: none; transform: translateX(3px); }
.sidebar nav a.active { background: var(--grad); color: #fff; box-shadow: 0 5px 16px rgba(224,87,140,.45); }
.sidebar .sect { font-size: .66rem; text-transform: uppercase; letter-spacing: .14em; color: #8d7280; margin: 1.15rem .5rem .45rem; }
.admin-main { flex: 1; padding: 1.7rem 2.1rem; max-width: calc(100vw - 236px);
  background: radial-gradient(1000px 500px at 85% -10%, #fdeef5 0%, transparent 55%), var(--cream); }
.admin-main h1 { margin-top: 0; font-size: 1.55rem; color: var(--pink-deep); }
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }

.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; margin-bottom: 1.4rem; }
.kpi { background: rgba(255,255,255,.92); border: 1px solid rgba(243,219,229,.85); border-radius: 16px; padding: 1.05rem 1.25rem;
  box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .22s ease; }
.kpi:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.kpi .label { font-size: .74rem; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); font-weight: 750; }
.kpi .value { font-size: 1.75rem; font-weight: 800; margin-top: .2rem; font-family: var(--font-display); }
.kpi .sub { font-size: .8rem; color: var(--muted); }
.kpi.accent { background: var(--grad); border: none; color: #fff; box-shadow: 0 10px 28px rgba(224,87,140,.4); }
.kpi.accent .label, .kpi.accent .sub { color: rgba(255,255,255,.85); }

table.data { width: 100%; border-collapse: collapse; background: rgba(255,255,255,.95); border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow); font-size: .89rem; }
table.data th { background: linear-gradient(135deg, #fdeef5, #fbe4ef); text-align: left; padding: .7rem .85rem; font-size: .74rem;
  text-transform: uppercase; letter-spacing: .07em; color: var(--pink-deep); }
table.data td { padding: .62rem .85rem; border-top: 1px solid #faeef3; vertical-align: top; }
table.data tr:hover td { background: #fff8fb; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 980px) { .two-col { grid-template-columns: 1fr; } .admin-main { max-width: 100vw; padding: 1rem; } .sidebar { width: 190px; } }

.chart-card { background: rgba(255,255,255,.95); border: 1px solid rgba(243,219,229,.85); border-radius: 16px; padding: 1.15rem 1.35rem; box-shadow: var(--shadow); }
.chart-card h3 { margin: 0 0 .8rem; font-size: 1rem; }

/* transcript */
.transcript { display: flex; flex-direction: column; gap: .45rem; }
.tr-line { max-width: 85%; padding: .5rem .8rem; border-radius: 14px; font-size: .88rem; }
.tr-line.ai { background: var(--pink-soft); align-self: flex-start; }
.tr-line.customer { background: #e6effc; align-self: flex-end; }
.tr-line .who { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

/* calendar view */
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .4rem; }
.cal-cell { background: rgba(255,255,255,.95); border: 1px solid var(--border); border-radius: 12px; min-height: 92px; padding: .4rem; font-size: .75rem; }
.cal-cell.head { min-height: auto; background: linear-gradient(135deg, #fdeef5, #fbe4ef); font-weight: 800; text-align: center; color: var(--pink-deep); }
.cal-cell.today { border-color: var(--pink); border-width: 2px; box-shadow: 0 0 0 3px rgba(224,87,140,.12); }
.cal-evt { background: var(--pink-soft); border-left: 3px solid var(--pink); padding: .15rem .3rem; border-radius: 6px; margin-top: .25rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.cal-evt.done { background: #e0f4ea; border-left-color: var(--green); }
.cal-evt.cancelled { background: #f6f0f3; border-left-color: #c9b6c0; text-decoration: line-through; }

/* invoice */
.invoice-sheet { background: #fff; max-width: 720px; margin: 1.5rem auto; padding: 2.4rem 2.7rem; border-radius: 18px; box-shadow: var(--shadow-lg); }
.invoice-head { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 3px solid var(--pink); padding-bottom: 1rem; margin-bottom: 1.3rem; flex-wrap: wrap; }
.invoice-sheet table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.invoice-sheet th { text-align: left; border-bottom: 2px solid var(--border); padding: .5rem .3rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.invoice-sheet td { padding: .5rem .3rem; border-bottom: 1px solid #f6ecf1; }
.invoice-total td { font-weight: 800; font-size: 1.05rem; border-top: 2px solid var(--pink); }
@media print { .no-print { display: none !important; } body { background: #fff; } .invoice-sheet { box-shadow: none; margin: 0; } .site-header, .footer { display: none !important; } }

/* rating */
.stars { font-size: 2rem; cursor: pointer; user-select: none; }
.stars span { opacity: .3; transition: all .12s ease; display: inline-block; }
.stars span.on { opacity: 1; transform: scale(1.12) rotate(-4deg); }

/* install / auth pages */
.install-page { display: flex; align-items: center; justify-content: center; min-height: 100vh;
  background: var(--grad-soft); position: relative; overflow: hidden; }
.install-page::before, .install-page::after { content: ''; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; }
.install-page::before { width: 480px; height: 480px; background: radial-gradient(circle, #ffc9de, transparent 70%); top: -140px; right: -100px; animation: blob 12s ease-in-out infinite; }
.install-page::after { width: 380px; height: 380px; background: radial-gradient(circle, #ffe0c2, transparent 70%); bottom: -120px; left: -80px; animation: blob 15s ease-in-out infinite reverse; }
.install-card { background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.9);
  border-radius: 28px; box-shadow: 0 24px 80px rgba(193,58,107,.25); padding: 2.6rem 2.9rem; max-width: 580px; text-align: center;
  margin: 1rem; position: relative; z-index: 1; animation: rise .5s cubic-bezier(.2,.8,.3,1.1); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.install-card h1 { color: var(--pink-deep); }
.logo-daisy { font-size: 3.2rem; }
.install-steps { text-align: left; background: var(--pink-soft); border-radius: 14px; padding: 1rem 1.2rem 1rem 2.4rem; }
.install-steps li { margin: .35rem 0; }
.install-links { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; margin: 1.2rem 0; }

/* ---------- Auth screens (admin login / staff portal) ---------- */
.auth-card { max-width: 430px; padding: 2.4rem 2.4rem 2rem; }
.auth-card .logo-ring { width: 104px; height: 104px; margin: 0 auto .6rem; border-radius: 50%;
  background: #fff; border: 2px solid var(--border); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(193,58,107,.18); }
.auth-card .logo-ring img { width: 78px; height: 78px; object-fit: contain; }
.auth-card h1 { font-size: 1.55rem; margin: .2rem 0 .15rem; color: var(--pink-deep); }
.auth-card .sub { color: var(--muted); font-size: .9rem; margin: 0 0 1.4rem; }
.auth-form { text-align: left; }
.auth-form .fld { display: flex; justify-content: space-between; align-items: baseline; }

/* input with a leading icon */
.field { position: relative; }
.field .ico { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); font-size: 1rem; opacity: .55; pointer-events: none; }
.field input { padding-left: 2.5rem !important; }
.field.has-toggle input { padding-right: 3.1rem !important; }
.field .toggle { position: absolute; right: .5rem; top: 50%; transform: translateY(-50%); background: none; border: none;
  cursor: pointer; font-size: .78rem; font-weight: 700; color: var(--pink-dark); padding: .25rem .5rem; border-radius: 8px; }
.field .toggle:hover { background: var(--pink-soft); }

/* segmented PIN entry */
.pin-row { display: flex; gap: .5rem; justify-content: space-between; }
.pin-box { width: 100% !important; height: 58px; text-align: center; font-size: 1.45rem !important; font-weight: 700;
  padding: 0 !important; border-radius: 14px !important; border-width: 2px !important; caret-color: var(--pink); }
.pin-box.filled { border-color: var(--pink) !important; background: var(--pink-soft) !important; }
.pin-box:focus { transform: translateY(-2px); }
.auth-note { font-size: .82rem; color: var(--muted); text-align: center; margin: 1.1rem 0 0; }
.auth-note a { font-weight: 600; }

@keyframes shake { 10%, 90% { transform: translateX(-2px); } 30%, 70% { transform: translateX(4px); }
                   50% { transform: translateX(-7px); } }
.shake { animation: shake .45s ease; }

.footer { border-top: 1px solid var(--border); background: linear-gradient(180deg, #fff, #fdf3f8); margin-top: 3.5rem; }
.footer .wrap { max-width: 1140px; margin: 0 auto; padding: 2rem 1.2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .88rem; color: var(--muted); }

/* ============================================================
   Go-live setup · rate card · logins
   ============================================================ */
.card.static:hover { transform: none; box-shadow: var(--shadow); border-color: rgba(243,219,229,.85); }
.gl-progress { height: 10px; border-radius: 999px; background: #f2e4ea; overflow: hidden; margin: .45rem 0 1.4rem; }
.gl-progress > span { display: block; height: 100%; background: var(--grad); border-radius: inherit; transition: width .4s ease; }
.gl-steps { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); margin-bottom: 1.6rem; }
.gl-num { display: inline-grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; margin-right: .5rem;
  background: var(--pink-soft); color: var(--pink-dark); font-weight: 800; font-size: .85rem; vertical-align: middle; }
.gl-step.done .gl-num { background: #e0f4ea; color: var(--green); }
.gl-issues { margin: .65rem 0 .2rem; padding-left: 1.1rem; font-size: .86rem; }
.gl-issues li { margin-bottom: .22rem; }

.rc-bar { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; margin-bottom: 1rem; }
.rc-bar input[type=search] { max-width: 300px; padding: .6rem .9rem; border: 1.5px solid var(--border); border-radius: 12px;
  font-family: var(--font); font-size: .95rem; }
.rc-wrap { overflow: auto; max-height: 72vh; border-radius: 16px; box-shadow: var(--shadow); background: #fff; }
.rc-table { border-collapse: separate; border-spacing: 0; width: 100%; font-size: .88rem; }
.rc-table th, .rc-table td { padding: .5rem .65rem; border-bottom: 1px solid #faeef3; background: #fff; text-align: left; }
.rc-table thead th { position: sticky; top: 0; z-index: 2; background: #fdeef5; color: var(--pink-deep);
  font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.rc-table thead .rc-all { text-transform: none; letter-spacing: 0; padding: .1rem .55rem; margin-top: .2rem; }
.rc-table .rc-name { position: sticky; left: 0; z-index: 1; min-width: 240px; }
.rc-table thead .rc-name { z-index: 3; }
.rc-table tr.rc-cat td { background: #fbf3f6; font-weight: 800; color: var(--pink-deep); }
.rc-cell { white-space: nowrap; }
.rc-cell input[type=checkbox] { width: 1.3rem; height: 1.3rem; vertical-align: middle; accent-color: var(--pink-dark); cursor: pointer; }
.rc-cell input[type=number] { width: 100px; padding: .45rem .55rem; margin-left: .35rem; }
.rc-cell input[type=number]:disabled { background: #f6f0f3; color: #c9b6c0; }
.rc-save { position: sticky; bottom: 0; padding: .8rem 0; margin: 0; background: linear-gradient(transparent, var(--cream) 40%); }

/* ============================================================
   POS — touch-first for the studio tablets (targets ≥ 44px)
   ============================================================ */
.pos { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1rem; align-items: start; }
.pos-catalog input[type=search] { width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--border); border-radius: 12px;
  font-family: var(--font); font-size: 1rem; }
.pos-chips { display: flex; gap: .45rem; overflow-x: auto; padding: .7rem 0 .8rem; -webkit-overflow-scrolling: touch; }
.pos-chip { flex: 0 0 auto; min-height: 44px; padding: 0 1rem; border-radius: 999px; border: 1.5px solid #efc2d4;
  background: #fff; color: var(--pink-dark); font-family: var(--font); font-weight: 650; font-size: .9rem; cursor: pointer; }
.pos-chip.on { background: var(--grad); border-color: transparent; color: #fff; }
.pos-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: .6rem;
  max-height: calc(100vh - 260px); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.pos-tile { display: flex; flex-direction: column; justify-content: space-between; gap: .35rem; min-height: 96px; padding: .75rem;
  text-align: left; border: 1.5px solid var(--border); border-radius: 14px; background: #fff; color: var(--ink);
  font-family: var(--font); cursor: pointer; touch-action: manipulation; transition: transform .1s ease, border-color .15s ease; }
.pos-tile:active { transform: scale(.97); border-color: var(--pink); }
.pos-tile.is-product { background: #fbf8f3; }
.pos-tile:disabled { opacity: .45; cursor: not-allowed; }
.pos-tile-name { font-weight: 650; font-size: .92rem; line-height: 1.25; }
.pos-tile-price { font-weight: 800; color: var(--pink-deep); }
.pos-tile-stock { font-size: .74rem; color: var(--muted); }
.pos-bill { position: sticky; top: 1rem; }
.pos-bill input[type=tel] { font-size: 1.05rem; padding: .75rem .9rem; }
.pos-cust { min-height: 1.4rem; margin: .35rem 0 .2rem; }
.pos-newcust { display: grid; gap: .5rem; margin-bottom: .5rem; }
.pos-lines { display: flex; flex-direction: column; gap: .5rem; margin-top: .8rem; max-height: 38vh; overflow-y: auto; }
.pos-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "info amt" "qty del" "staff staff";
  gap: .45rem .6rem; align-items: center; padding: .65rem .7rem; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.pos-line-info { grid-area: info; display: flex; flex-direction: column; min-width: 0; }
.pos-line-amt { grid-area: amt; font-weight: 800; }
.pos-qty { grid-area: qty; display: flex; align-items: center; gap: .4rem; }
.pos-step { width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid #efc2d4; background: #fff; color: var(--pink-dark);
  font-size: 1.3rem; font-weight: 700; cursor: pointer; touch-action: manipulation; }
.pos-qty-n { min-width: 1.6rem; text-align: center; font-weight: 800; }
.pos-staff { grid-area: staff; min-height: 44px; }
.pos-del { grid-area: del; justify-self: end; width: 44px; height: 44px; border: none; border-radius: 12px; background: #fdeef3;
  color: var(--red); font-size: 1.05rem; cursor: pointer; }
.pos-empty { margin: .8rem 0; }
.pos-adjust { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: .9rem; }
.pos-adjust label { display: flex; flex-direction: column; gap: .25rem; }
.pos-good { color: var(--green); } .pos-bad { color: var(--red); }
.pos-pay { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: .9rem 0; }
.pos-mode { min-height: 48px; border-radius: 12px; border: 1.5px solid #efc2d4; background: #fff; color: var(--pink-dark);
  font-family: var(--font); font-weight: 750; font-size: 1rem; cursor: pointer; }
.pos-mode.on { background: var(--pink-deep); border-color: var(--pink-deep); color: #fff; }
.pos-totals { border-top: 1px dashed #e2c4d0; padding-top: .6rem; }
.pos-trow { display: flex; justify-content: space-between; gap: 1rem; padding: .15rem 0; font-variant-numeric: tabular-nums; }
.pos-trow.muted { color: var(--muted); font-size: .88rem; }
.pos-grand { font-size: 1.3rem; font-weight: 800; color: var(--pink-deep); margin-top: .3rem; }
.pos-complete { width: 100%; min-height: 56px; margin-top: .8rem; font-size: 1.1rem; }
.pos-modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 1rem; background: rgba(37, 16, 25, .55); }
.pos-modal-card { width: min(720px, 100%); max-height: calc(100vh - 2rem); display: flex; flex-direction: column; background: #fff;
  border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; }
.pos-modal-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 1.1rem; border-bottom: 1px solid var(--border); }
.pos-modal-head h3 { margin: 0; font-size: 1.05rem; }
.pos-modal-card iframe { flex: 1; width: 100%; min-height: 60vh; border: 0; background: var(--cream); }
.pos-modal-actions { display: flex; gap: .6rem; justify-content: flex-end; flex-wrap: wrap; padding: .8rem 1.1rem; border-top: 1px solid var(--border); }
@media (max-width: 900px) {
  .pos { grid-template-columns: 1fr; }
  .pos-bill { position: static; }
  .pos-tiles { max-height: none; }
}
@media (prefers-reduced-motion: reduce) { .pos-tile { transition: none; } }

/* Anything marked hidden stays hidden, even when a class gives it a display value. */
[hidden] { display: none !important; }
