/* RioRecap design system: tokens and shared components, taken from the RIOBITE brand (riobite.tech) */
:root {
  --bg: #020617; --bg-s: #0a1128; --bg-c: #0b1530; --bg-ch: #10203f;
  --fg: #e8edf8; --fg-m: #93a3c6; --fg-d: #64759e;
  --ac: #00c2ff; --ac2: #0055ff; --ac3: #00e5ff;
  --ag: rgba(0, 194, 255, .1); --ags: rgba(0, 194, 255, .28);
  --grad: linear-gradient(135deg, #0055ff, #00c2ff 60%, #00e5ff);
  --grad-btn: linear-gradient(135deg, #0048e0, #0a84ff 65%, #00b4ff);
  --bd: rgba(120, 170, 255, .1); --bdh: rgba(0, 194, 255, .3);
  --ok: #22c55e; --warn: #f59e0b; --err: #f87171; --vio: #a855f7;
  --r: 20px; --r-s: 12px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --fd: 'Space Grotesk', 'Noto Sans Myanmar', system-ui, sans-serif;
  --fb: 'Inter', 'Noto Sans Myanmar', system-ui, -apple-system, sans-serif;
  --fm: 'JetBrains Mono', 'Noto Sans Myanmar', ui-monospace, Menlo, monospace;
  color-scheme: dark;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; background: var(--bg); color: var(--fg); font: 400 15px/1.6 var(--fb); -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 42% at 82% 12%, rgba(0, 110, 255, .2), transparent 70%),
    radial-gradient(ellipse 45% 38% at 10% 30%, rgba(124, 58, 237, .14), transparent 72%),
    radial-gradient(ellipse 50% 40% at 22% 92%, rgba(0, 194, 255, .11), transparent 70%),
    radial-gradient(ellipse 120% 90% at 50% 50%, #050b22 0%, #020617 60%, #01030c 100%); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--ac); color: #001018; }
:focus-visible { outline: 2px solid var(--ac); outline-offset: 2px; border-radius: 6px; }

.i { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mono { font-family: var(--fm); }
.gt { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo img { width: 34px; height: 25px; filter: drop-shadow(0 0 10px rgba(0, 200, 255, .25)); }
.logo-t { font: 400 .92rem/1 'Krona One', var(--fd); padding-left: 11px; border-left: 1px solid rgba(0, 200, 255, .45); }
.wm { font: 400 .9rem/1 'Krona One', var(--fd); }
.logo-t b, .wm b { font-weight: 400; background: linear-gradient(90deg, #00b4ff, #22e4ff); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Design-doc strip: switches between the two mockups, not part of either product UI */
.doc { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 52px; padding: 0 clamp(14px, 3vw, 28px); border-bottom: 1px solid var(--bd); background: rgba(2, 6, 23, .86); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); }
.doc-t { display: flex; align-items: center; gap: 12px; min-width: 0; font: 400 .7rem/1 var(--fm); color: var(--fg-d); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.seg { display: flex; padding: 3px; border: 1px solid var(--bd); border-radius: 11px; background: rgba(255, 255, 255, .02); }
.seg a { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 8px; font: 600 .78rem/1 var(--fd); color: var(--fg-m); white-space: nowrap; }
.seg a:hover { color: var(--fg); }
.seg a.on { background: var(--ag); color: var(--ac); }
@media (max-width: 560px) { .doc-t span { display: none; } }

/* Text helpers */
.eyebrow { display: flex; align-items: center; gap: 12px; font: 400 .7rem/1 var(--fm); color: var(--ac); text-transform: uppercase; letter-spacing: .14em; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.lbl { font-size: .68rem; font-weight: 600; color: var(--fg-m); text-transform: uppercase; letter-spacing: .06em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid transparent; border-radius: 12px; font: 700 .88rem/1 var(--fd); white-space: nowrap; cursor: pointer; transition: box-shadow .3s, background .3s, border-color .3s, color .3s, transform .2s var(--ease); }
.btn:active { transform: scale(.98); }
.btn .i { font-size: 1.1em; }
.btn-g { background: var(--grad-btn); color: #fff; }
.btn-g:hover { box-shadow: 0 8px 32px var(--ags); }
.btn-o { background: rgba(255, 255, 255, .02); border-color: var(--bdh); font-weight: 600; }
.btn-o:hover { border-color: var(--ac); background: var(--ag); }
.btn-q { background: transparent; color: var(--fg-m); font-weight: 600; }
.btn-q:hover { color: var(--fg); background: rgba(255, 255, 255, .04); }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: .8rem; border-radius: 10px; }
.btn-i { width: 36px; min-height: 36px; padding: 0; border-radius: 10px; border-color: var(--bd); background: transparent; color: var(--fg-m); }
.btn-i:hover { color: var(--ac); border-color: var(--bdh); }
.btn-block { width: 100%; }

/* Chips */
.chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border: 1px solid var(--bd); border-radius: 100px; background: rgba(255, 255, 255, .03); color: var(--fg-m); font: 500 .66rem/1 var(--fm); letter-spacing: .04em; white-space: nowrap; }
.chip.dot::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip.xs { height: 20px; padding: 0 7px; font-size: .6rem; }
.chip.ac { color: var(--ac); background: var(--ag); border-color: var(--bdh); }
.chip.ok { color: #4ade80; background: rgba(34, 197, 94, .1); border-color: rgba(34, 197, 94, .3); }
.chip.warn { color: #fbbf24; background: rgba(245, 158, 11, .1); border-color: rgba(245, 158, 11, .3); }
.chip.err { color: var(--err); background: rgba(248, 113, 113, .1); border-color: rgba(248, 113, 113, .3); }
.chip.vio { color: #c084fc; background: rgba(168, 85, 247, .1); border-color: rgba(168, 85, 247, .3); }

/* Surfaces */
.card { background: var(--bg-c); border: 1px solid var(--bd); border-radius: var(--r); }

/* Avatar */
.av { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--grad-btn); color: #fff; font: 700 .72rem/1 var(--fd); box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--bdh); }
.av.lg { width: 56px; height: 56px; font-size: 1.05rem; }

/* Form controls */
.fld { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.in { width: 100%; min-height: 44px; padding: 10px 14px; background: var(--bg); border: 1px solid var(--bd); border-radius: 11px; outline: none; transition: border-color .25s, box-shadow .25s; }
.in:focus { border-color: var(--ac); box-shadow: 0 0 0 4px var(--ag); }
.in::placeholder { color: var(--fg-d); }
textarea.in { min-height: 120px; resize: vertical; font: 400 .82rem/1.7 var(--fm); }
select.in { appearance: none; cursor: pointer; padding-right: 38px; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2393a3c6' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; }

.sw { position: relative; display: inline-block; width: 38px; height: 22px; flex: none; }
.sw input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.sw span { position: absolute; inset: 0; border: 1px solid var(--bd); border-radius: 100px; background: rgba(255, 255, 255, .08); transition: background .25s, border-color .25s; }
.sw span::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--fg-m); transition: transform .25s var(--ease), background .25s; }
.sw input:checked + span { background: var(--ag); border-color: var(--ac); }
.sw input:checked + span::after { transform: translateX(16px); background: var(--ac); box-shadow: 0 0 10px var(--ags); }
.sw input:focus-visible + span { outline: 2px solid var(--ac); outline-offset: 2px; }

.bar { height: 6px; border-radius: 100px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.bar i { display: block; width: var(--v); height: 100%; border-radius: inherit; background: var(--grad); }
.bar.warn i { background: var(--warn); }
.bar.err i { background: var(--err); }

/* Banner: the same component renders in the app Home carousel and in the admin preview */
.banner { --bc: #00c2ff; position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 3px; min-height: 124px; padding: 14px 16px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--bc) 35%, transparent); border-radius: 18px;
  background: radial-gradient(circle at 88% 10%, color-mix(in srgb, var(--bc) 42%, transparent), transparent 62%), linear-gradient(135deg, #061033, color-mix(in srgb, var(--bc) 20%, #07102a)); }
.banner::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(color-mix(in srgb, var(--bc) 16%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--bc) 16%, transparent) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(circle at 85% 20%, #000, transparent 70%); mask-image: radial-gradient(circle at 85% 20%, #000, transparent 70%); }
.banner > * { position: relative; }
.banner-art { position: absolute; top: 8px; right: 12px; font: 400 2.5rem/1 'Krona One', var(--fd); color: var(--bc); opacity: .9; filter: drop-shadow(0 0 18px color-mix(in srgb, var(--bc) 60%, transparent)); }
.banner-art .i { font-size: 2.6rem; stroke-width: 1.3; }
.banner-tag { font: 500 .58rem/1 var(--fm); letter-spacing: .1em; text-transform: uppercase; color: var(--bc); padding: 4px 7px; border-radius: 5px; background: color-mix(in srgb, var(--bc) 14%, transparent); margin-bottom: 4px; }
.banner-t { font: 700 1rem/1.5 var(--fd); }
.banner-d { font-size: .74rem; color: var(--fg-m); }
.dots { display: flex; justify-content: center; gap: 5px; }
.dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.dots i.on { width: 16px; border-radius: 100px; background: var(--ac); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
