/* Lucian UX/UI Prompt theme tokens · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/
   Mapped to Vật Lý Xuân Trường (VLXT) flat high-contrast EdTech design system (Zero AI Glow). */
:root{
  color-scheme:light;
  --ux-page:#f8fafc;
  --ux-surface:#ffffff;
  --ux-surface-2:#f1f5f9;
  --ux-surface-3:#e2e8f0;
  --ux-ink:#0f172a;
  --ux-ink-2:#334155;
  --ux-ink-3:#64748b;
  --ux-line:rgba(15,23,42,.09);
  --ux-line-2:rgba(15,23,42,.18);
  --ux-accent:#0b84f3;
  --ux-accent-2:#0284c7;
  --ux-accent-soft:rgba(11,132,243,.14);
  --ux-accent-ink:#ffffff;
  --ux-mint:#10b981;
  --ux-warn:#f59e0b;
  --ux-danger:#ef4444;
  --ux-glass:rgba(255,255,255,.78);
  --ux-glass-line:rgba(15,23,42,.12);
  --ux-shadow:rgba(15,23,42,.14);
  --ux-shadow-strong:rgba(15,23,42,.28);
  --ux-grad:linear-gradient(90deg,#0b84f3,#10b981);
  --ux-ease:cubic-bezier(.2,.8,.2,1);
  --ux-spring:cubic-bezier(.34,1.45,.64,1);
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    color-scheme:dark;
    --ux-page:#0d1117;
    --ux-surface:#151c2c;
    --ux-surface-2:#1e293b;
    --ux-surface-3:#293548;
    --ux-ink:#f1f5f9;
    --ux-ink-2:#cbd5e1;
    --ux-ink-3:#94a3b8;
    --ux-line:rgba(255,255,255,.09);
    --ux-line-2:rgba(56,189,248,.28);
    --ux-accent:#0b84f3;
    --ux-accent-2:#38bdf8;
    --ux-accent-soft:rgba(11,132,243,.16);
    --ux-accent-ink:#ffffff;
    --ux-mint:#10b981;
    --ux-warn:#f59e0b;
    --ux-danger:#ef4444;
    --ux-glass:rgba(21,28,44,.86);
    --ux-glass-line:rgba(255,255,255,.12);
    --ux-shadow:rgba(0,0,0,.28);
    --ux-shadow-strong:rgba(0,0,0,.52);
    --ux-grad:linear-gradient(90deg,#0b84f3,#10b981);
  }
}
:root[data-theme="dark"],
body.dark,
.ux-dark{
  color-scheme:dark;
  --ux-page:#0d1117;
  --ux-surface:#151c2c;
  --ux-surface-2:#1e293b;
  --ux-surface-3:#293548;
  --ux-ink:#f1f5f9;
  --ux-ink-2:#cbd5e1;
  --ux-ink-3:#94a3b8;
  --ux-line:rgba(255,255,255,.09);
  --ux-line-2:rgba(56,189,248,.28);
  --ux-accent:#0b84f3;
  --ux-accent-2:#38bdf8;
  --ux-accent-soft:rgba(11,132,243,.16);
  --ux-accent-ink:#ffffff;
  --ux-mint:#10b981;
  --ux-warn:#f59e0b;
  --ux-danger:#ef4444;
  --ux-glass:rgba(21,28,44,.86);
  --ux-glass-line:rgba(255,255,255,.12);
  --ux-shadow:rgba(0,0,0,.28);
  --ux-shadow-strong:rgba(0,0,0,.52);
  --ux-grad:linear-gradient(90deg,#0b84f3,#10b981);
}
:root[data-theme="light"]{
  color-scheme:light;
  --ux-page:#f8fafc;
  --ux-surface:#ffffff;
  --ux-surface-2:#f1f5f9;
  --ux-surface-3:#e2e8f0;
  --ux-ink:#0f172a;
  --ux-ink-2:#334155;
  --ux-ink-3:#64748b;
  --ux-line:rgba(15,23,42,.09);
  --ux-line-2:rgba(15,23,42,.18);
  --ux-accent:#0b84f3;
  --ux-accent-2:#0284c7;
  --ux-accent-soft:rgba(11,132,243,.14);
  --ux-accent-ink:#ffffff;
  --ux-mint:#10b981;
  --ux-warn:#f59e0b;
  --ux-danger:#ef4444;
  --ux-glass:rgba(255,255,255,.78);
  --ux-glass-line:rgba(15,23,42,.12);
  --ux-shadow:rgba(15,23,42,.14);
  --ux-shadow-strong:rgba(15,23,42,.28);
  --ux-grad:linear-gradient(90deg,#0b84f3,#10b981);
}

.ux,.ux *,.ux *::before,.ux *::after{box-sizing:border-box}
.ux{
  font-family:'Plus Jakarta Sans',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  color:var(--ux-ink);-webkit-font-smoothing:antialiased;letter-spacing:-.01em;
  -webkit-tap-highlight-color:transparent;
  overflow-wrap:break-word;
}
:where(.ux) :is(button,input,textarea,select){font:inherit;color:inherit}
:where(.ux) button{cursor:pointer}
.ux :focus-visible{outline:2px solid var(--ux-accent);outline-offset:3px}
.ux [hidden]{display:none!important}

/* Lucian UX/UI Prompt #435 · MIT License (c) 2026 Seokwoooo · https://lucianlabs.dev/uxui-prompt/#435 */
.vlxt-toast-host{
  position:fixed;right:20px;bottom:20px;z-index:100020;width:min(360px,calc(100vw - 24px));
  pointer-events:none;
}
.vlxt-toast-rg{
  position:relative;width:100%;height:76px;pointer-events:auto;
}
.vlxt-toast-t{
  position:absolute;left:0;right:0;bottom:0;height:56px;
  display:flex;align-items:center;gap:11px;padding:0 10px 0 14px;
  border-radius:14px;
  background:var(--ux-surface);
  border:1px solid var(--ux-line-2);
  box-shadow:0 10px 28px rgba(0,0,0,.38),0 2px 6px rgba(0,0,0,.22);
  color:var(--ux-ink);
  transform-origin:50% 100%;
  transform:translate3d(var(--x,0px),var(--y,0px),0) scale(var(--s,1));
  opacity:var(--o,1);
  transition:transform .58s cubic-bezier(.3,1.42,.52,1),opacity .28s var(--ux-ease);
  touch-action:pan-y;user-select:none;-webkit-user-select:none;cursor:grab;
}
.vlxt-toast-t.is-drag{transition:opacity .28s var(--ux-ease);cursor:grabbing}
.vlxt-toast-t>*{transition:opacity .22s var(--ux-ease)}
.vlxt-toast-t.is-back>*{opacity:0}
.vlxt-toast-ic{position:relative;flex:none;width:22px;height:22px}
.vlxt-toast-ic>span{
  position:absolute;inset:0;border-radius:50%;display:grid;place-items:center;
  transition:opacity .24s var(--ux-ease),transform .42s cubic-bezier(.34,1.6,.5,1);
}
.vlxt-toast-ic .ok{background:var(--ux-mint);color:#04101e}
.vlxt-toast-ic .warn{background:var(--ux-warn);color:#04101e}
.vlxt-toast-ic .err{background:var(--ux-danger);color:#ffffff}
.vlxt-toast-ic .info{background:var(--ux-accent);color:#ffffff}
.vlxt-toast-ic svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2.7;stroke-linecap:round;stroke-linejoin:round}
.vlxt-toast-ic .ok path{stroke-dasharray:18;stroke-dashoffset:18;animation:vlxtToastDraw .38s var(--ux-ease) .18s forwards}
.vlxt-toast-t.is-in .vlxt-toast-ic>span{animation:vlxtToastPop .48s cubic-bezier(.34,1.7,.5,1) .06s both}
@keyframes vlxtToastDraw{to{stroke-dashoffset:0}}
@keyframes vlxtToastPop{from{transform:scale(.35)}}
.vlxt-toast-tx{
  flex:1;min-width:0;font-size:13.5px;font-weight:600;line-height:1.3;letter-spacing:-.01em;
  color:var(--ux-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.vlxt-toast-x{
  flex:none;width:28px;height:28px;padding:0;border:0;border-radius:8px;
  display:grid;place-items:center;background:transparent;color:var(--ux-ink-3);
  transition:background-color .15s,color .15s;
}
.vlxt-toast-x:hover{background:var(--ux-surface-2);color:var(--ux-ink)}
.vlxt-toast-x svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}
.vlxt-toast-pb{
  position:absolute;left:14px;right:14px;bottom:0;height:2px;border-radius:2px;overflow:hidden;
}
.vlxt-toast-pb i{
  display:block;height:100%;border-radius:inherit;background:var(--ux-mint);opacity:.85;
  transform-origin:0 50%;animation:vlxtToastPb linear forwards;
}
.vlxt-toast-t[data-tone="warn"] .vlxt-toast-pb i{background:var(--ux-warn)}
.vlxt-toast-t[data-tone="error"] .vlxt-toast-pb i{background:var(--ux-danger)}
.vlxt-toast-t[data-tone="info"] .vlxt-toast-pb i{background:var(--ux-accent)}
@keyframes vlxtToastPb{from{transform:scaleX(1)}to{transform:scaleX(0)}}
.vlxt-toast-rg.is-paused .vlxt-toast-pb i{animation-play-state:paused}
@media (max-width:480px){
  .vlxt-toast-host{right:12px;left:12px;bottom:14px;width:auto}
}

@media (prefers-reduced-motion:reduce){
  .ux,.ux *,.ux *::before,.ux *::after,
  .vlxt-toast-t,.vlxt-toast-t *{
    animation-duration:.001ms!important;animation-delay:0s!important;animation-iteration-count:1!important;
    transition-duration:.001ms!important;transition-delay:0s!important;scroll-behavior:auto!important;
  }
  .vlxt-toast-pb{display:none}
}
