/* KRICON Admin: the studio's red, ivory and near-black; soft glass panels; moving glow behind. */
:root { --bg: #07060a; --ink: #F4EEE8; --mut: #A89C98; --line: rgba(255, 255, 255, .09); --glass: rgba(255, 255, 255, .045); --red: #E3262F; --red2: #FF6A3D; --ok: #5BD69A; --err: #FF7A6A; --r: 18px; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 "Segoe UI", Inter, system-ui, -apple-system, sans-serif; }
body { min-height: 100vh; }
a { color: #FF8A6A; }
code { background: rgba(255, 255, 255, .08); padding: 1px 6px; border-radius: 6px; font-size: 12.5px; }
.bgfx { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bgfx span { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(90px); opacity: .22; animation: drift 26s ease-in-out infinite alternate; }
.bgfx span:nth-child(1) { background: #E3262F; left: -20vmax; top: -25vmax; }
.bgfx span:nth-child(2) { background: #7a0d22; right: -25vmax; top: 20vh; animation-duration: 32s; }
.bgfx span:nth-child(3) { background: #FF6A3D; left: 30vw; bottom: -40vmax; opacity: .12; animation-duration: 40s; }
@keyframes drift { to { transform: translate(6vmax, 4vmax) scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .bgfx span { animation: none; } }

.btn, .ghost { font: 600 14px/1 inherit; font-family: inherit; border: 0; border-radius: 999px; padding: 12px 20px; cursor: pointer; color: var(--ink); transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn.red { background: linear-gradient(180deg, rgba(255, 255, 255, .22), transparent 55%), linear-gradient(135deg, var(--red2), var(--red)); box-shadow: 0 10px 26px -10px rgba(227, 38, 47, .9); color: #fff; }
.btn.red:hover { transform: translateY(-1px); box-shadow: 0 14px 32px -10px rgba(227, 38, 47, 1); }
.ghost { background: var(--glass); box-shadow: 0 0 0 1px var(--line) inset; }
.ghost:hover { box-shadow: 0 0 0 1px rgba(255, 106, 61, .6) inset; }
.sm { padding: 8px 14px; font-size: 13px; text-decoration: none; display: inline-block; }
.danger { color: #FF9C8C; }
button:disabled { opacity: .5; cursor: wait; }

.login { position: relative; z-index: 1; min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card { width: min(440px, 100%); text-align: center; padding: 44px 32px; border-radius: 28px; background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); box-shadow: 0 0 0 1px var(--line) inset, 0 40px 80px -40px #000; backdrop-filter: blur(18px); }
.login-mark { width: 76px; height: 76px; filter: drop-shadow(0 0 22px rgba(227, 38, 47, .6)); }
.login h1 { font-size: 34px; margin: 14px 0 6px; letter-spacing: .02em; font-weight: 500; } .login h1 b { color: var(--red2); font-weight: 700; }
.login p { color: var(--mut); margin: 0 0 24px; }
.msg { min-height: 1.4em; margin-top: 14px; color: var(--err); }

#app { position: relative; z-index: 1; }
.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 18px; padding: 12px 22px; background: rgba(7, 6, 10, .78); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-size: 17px; letter-spacing: .04em; } .brand img { width: 32px; height: 32px; } .brand b { color: var(--red2); }
.tabs { display: flex; gap: 4px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.tabs button { background: none; border: 0; color: var(--mut); font: 600 14px/1 inherit; font-family: inherit; padding: 11px 14px; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.tabs button.on { color: #fff; background: linear-gradient(135deg, rgba(255, 106, 61, .3), rgba(227, 38, 47, .3)); box-shadow: 0 0 0 1px rgba(255, 106, 61, .45) inset; }
.who { display: flex; align-items: center; gap: 8px; color: var(--mut); font-size: 13px; }
@media (max-width: 900px) { .top { flex-wrap: wrap; padding: 10px 14px; } .tabs { order: 3; flex-basis: 100%; } .who span { display: none; } }

main { max-width: 1320px; margin: 0 auto; padding: 26px 22px 80px; }
.phead { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.phead h2 { margin: 0 0 6px; font-size: 30px; font-weight: 600; } .phead p { margin: 0; color: var(--mut); max-width: 720px; }
.acts { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card { padding: 22px; border-radius: var(--r); background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); box-shadow: 0 0 0 1px var(--line) inset; }
.card.wide { grid-column: 1 / -1; }
.card h3 { margin: 0 0 14px; font-size: 18px; } .card h3 small { color: var(--mut); font-weight: 400; font-size: 13px; margin-left: 8px; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }
label { display: grid; gap: 6px; font-size: 13px; color: var(--mut); margin-bottom: 12px; }
input, select, textarea { width: 100%; font: 15px/1.4 inherit; font-family: inherit; color: var(--ink); background: rgba(0, 0, 0, .35); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; outline: none; transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { border-color: rgba(255, 106, 61, .7); box-shadow: 0 0 0 3px rgba(227, 38, 47, .18); }
select option { background: #15111a; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; } .grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 640px) { .grid3, .grid2 { grid-template-columns: 1fr; } }
.sw { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 14px; cursor: pointer; }
.sw input { appearance: none; width: 42px; height: 24px; padding: 0; border-radius: 999px; background: rgba(255, 255, 255, .14); position: relative; cursor: pointer; flex: none; border: 0; }
.sw input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; }
.sw input:checked { background: linear-gradient(135deg, var(--red2), var(--red)); } .sw input:checked::after { transform: translateX(18px); }
.stat { margin-top: 6px; color: var(--mut); } .stat b { color: var(--ink); } .stat.big { font-size: 22px; color: var(--ink); } .stat.big small { display: block; font-size: 13px; color: var(--mut); }
.hint { color: var(--mut); font-size: 12.5px; }

.tbl { overflow-x: auto; border-radius: var(--r); box-shadow: 0 0 0 1px var(--line) inset; background: rgba(255, 255, 255, .02); margin-bottom: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--mut); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; position: sticky; top: 0; background: #0d0b11; }
td input, td select { padding: 7px 9px; font-size: 14px; min-width: 70px; } td .sw { margin: 0; }
tr:hover td { background: rgba(255, 255, 255, .025); }
.search { width: 280px; }
.kpis { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.kpi { padding: 16px 20px; border-radius: var(--r); background: var(--glass); box-shadow: 0 0 0 1px var(--line) inset; min-width: 160px; } .kpi b { display: block; font-size: 24px; } .kpi span { color: var(--mut); font-size: 13px; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; background: rgba(255, 255, 255, .08); }
.pill.paid, .pill.delivered { background: rgba(91, 214, 154, .18); color: var(--ok); } .pill.waitlist, .pill.cancelled { background: rgba(255, 122, 106, .16); color: var(--err); }

/* slides */
.slides-grid { display: grid; grid-template-columns: 1fr 520px; gap: 20px; align-items: start; }
@media (max-width: 1150px) { .slides-grid { grid-template-columns: 1fr; } }
.list { display: grid; gap: 14px; }
.sl { padding: 18px; border-radius: var(--r); background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); box-shadow: 0 0 0 1px var(--line) inset; cursor: pointer; transition: box-shadow .2s; }
.sl.sel { box-shadow: 0 0 0 1px rgba(255, 106, 61, .7) inset, 0 16px 40px -24px rgba(227, 38, 47, .9); }
.sl.off { opacity: .55; }
.sl-h { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; } .sl-h .t { flex: 1; font-weight: 600; } .sl-h img { width: 64px; height: 36px; object-fit: cover; border-radius: 6px; }
.preview-box { position: sticky; top: 90px; padding: 16px; border-radius: var(--r); background: rgba(255, 255, 255, .03); box-shadow: 0 0 0 1px var(--line) inset; }
.ptitle { font-weight: 600; margin-bottom: 10px; } .ptitle span { color: var(--mut); font-weight: 400; }
.pv { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; container-type: inline-size; }
.pv img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: pvd 9s ease-out both; }
@keyframes pvd { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.pv .sh { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 6, 10, .35), rgba(7, 6, 10, .05) 35%, rgba(7, 6, 10, .78) 80%, #07060a), linear-gradient(90deg, rgba(7, 6, 10, .85), transparent 70%); }
.pv[data-align="right"] .sh { background: linear-gradient(180deg, rgba(7, 6, 10, .35), rgba(7, 6, 10, .05) 35%, rgba(7, 6, 10, .78) 80%, #07060a), linear-gradient(270deg, rgba(7, 6, 10, .85), transparent 70%); }
.pv .in { position: absolute; left: 6%; right: 6%; bottom: 9%; display: grid; gap: 2.2cqw; }
.pv[data-align="right"] .in { text-align: right; justify-items: end; } .pv[data-align="center"] .in { text-align: center; justify-items: center; }
.pv .eb { font-size: 1.9cqw; letter-spacing: .22em; text-transform: uppercase; color: #FF8A6A; }
.pv .tt { font: 600 6.4cqw/1.02 Georgia, "Times New Roman", serif; } .pv .tt span { color: #FF5A45; }
.pv .tx { font-size: 2.5cqw; color: #E4DCD6; max-width: 70%; }
.pv[data-align="right"] .tx, .pv[data-align="center"] .tx { max-width: 80%; }
.pv .bt { display: flex; gap: 1.4cqw; } .pv .bt span { font-size: 2cqw; padding: 1.3cqw 2.4cqw; border-radius: 99px; background: linear-gradient(135deg, var(--red2), var(--red)); } .pv .bt span + span { background: rgba(255, 255, 255, .1); }
.imgs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; } .imgs img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; cursor: pointer; opacity: .8; transition: opacity .2s, transform .2s; } .imgs img:hover { opacity: 1; transform: scale(1.04); }

.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 30px); opacity: 0; padding: 12px 20px; border-radius: 999px; background: #1b1418; box-shadow: 0 0 0 1px var(--line) inset, 0 20px 40px -10px #000; transition: .3s; z-index: 20; pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); } .toast.err { color: var(--err); }
