:root{
  --bg:#f9fafb;
  --surface:#ffffff;
  --text:#111827;
  --muted:#6b7280;
  --muted2:#9ca3af;
  --accent:#4f46e5;
  --accent2:rgba(79,70,229,.12);
  --border:rgba(17,24,39,.08);
  --shadow:0 10px 34px rgba(17,24,39,.08);
  --shadow2:0 20px 70px rgba(17,24,39,.22);
  --radius:18px;
  --radiusXL:22px;
}

html.dark{
  --bg:#0b1220;
  --surface:#0f172a;
  --text:#e5e7eb;
  --muted:#9ca3af;
  --muted2:#6b7280;
  --accent:#818cf8;
  --accent2:rgba(129,140,248,.16);
  --border:rgba(255,255,255,.10);
  --shadow:0 18px 55px rgba(0,0,0,.35);
  --shadow2:0 30px 90px rgba(0,0,0,.55);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:"Poppins",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
}

html,body,.navbar-wrap,.hero-card,.card,.detail-card,.btn,.pill,.tab,.input,.dropdown,.toast,.modal,.pm-popup-card,.nf-card,.platform,.verified{
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{width:min(1120px, calc(100% - 32px));margin:0 auto}

.lucide{width:18px;height:18px;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.btn .lucide{width:18px;height:18px}
.small .lucide{width:16px;height:16px}

/* Smooth micro interactions */
@media (prefers-reduced-motion:no-preference){
  *{scroll-behavior:smooth}
}

/* Navbar (Glass) */
.navbar-wrap{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(249,250,251,.72);
  border-bottom:1px solid rgba(17,24,39,.08);
}
html.dark .navbar-wrap{background: rgba(17,24,39,.70); border-bottom:1px solid rgba(255,255,255,.08)}
.navbar{display:flex;align-items:center;justify-content:space-between;padding:14px 0;gap:12px}
.brand{display:flex;align-items:center;gap:10px}
.brand .logo{
  width:40px;height:40px;border-radius:14px;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  box-shadow: 0 14px 28px rgba(79,70,229,.22);
  display:grid;place-items:center;color:#fff;
}
.brand .title{font-family:"Montserrat",system-ui,sans-serif;font-weight:900;letter-spacing:-.02em;line-height:1}
.nav-right{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}

.pill{
  padding:8px 12px;border-radius:999px;
  background: rgba(255,255,255,.78);
  border:1px solid rgba(17,24,39,.10);
  color:var(--muted);font-size:13px;
}
html.dark .pill{background: rgba(15,23,42,.66); border-color: rgba(255,255,255,.10)}

/* Buttons */
.btn{
  border:0; outline:0; cursor:pointer;
  border-radius:16px; padding:12px 14px;
  font-weight:700; transition: transform .12s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  display:inline-flex; align-items:center; gap:10px; user-select:none;
  color: var(--text);
}
.btn:active{transform:translateY(1px)}
.btn-primary{
  background: var(--accent); color:#fff;
  box-shadow: 0 14px 28px rgba(79,70,229,.24);
}
.btn-primary:hover{box-shadow:0 18px 34px rgba(79,70,229,.28)}
.btn-ghost{
  background: rgba(255,255,255,.72);
  border:1px solid rgba(17,24,39,.10);
}
.btn-ghost:hover{border-color: rgba(79,70,229,.22); box-shadow: 0 12px 26px rgba(17,24,39,.08)}
html.dark .btn-ghost{background: rgba(15,23,42,.66); border-color: rgba(255,255,255,.10)}
html.dark .btn-ghost:hover{border-color: rgba(129,140,248,.22); box-shadow: 0 14px 32px rgba(0,0,0,.25)}

/* Hero */
.hero{padding:18px 0 12px}
.hero-card{
  border-radius: calc(var(--radiusXL) + 8px);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding:24px;
  position:relative;
  overflow:hidden;
}
@media (max-width:520px){.hero{padding:14px 0 10px}}
.hero-card:before{
  content:"";
  position:absolute; inset:-140px -120px auto auto;
  width:380px;height:380px;
  background: radial-gradient(circle at 30% 30%, rgba(79,70,229,.26), transparent 62%);
  pointer-events:none;
}
.hero-card:after{
  content:"";
  position:absolute; inset:auto auto -160px -120px;
  width:420px;height:420px;
  background: radial-gradient(circle at 30% 30%, rgba(124,58,237,.18), transparent 60%);
  pointer-events:none;
}
.hero h1{
  margin:0 0 6px;
  font-family:"Montserrat",system-ui,sans-serif;
  font-weight: 900;
  letter-spacing:-.03em;
  font-size: clamp(22px, 3vw, 36px);
}
.hero p{margin:0;color:var(--muted);line-height:1.65;max-width:70ch}

/* Filters */
.filters{display:grid;grid-template-columns:1fr;gap:14px;margin-top:16px}
.tabs{display:flex;gap:8px;flex-wrap:wrap}
.tab{
  padding:10px 14px;border-radius:999px;
  background: rgba(255,255,255,.78);
  border:1px solid rgba(17,24,39,.10);
  font-weight:800;color:var(--muted);
  cursor:pointer; transition: background .18s ease, transform .12s ease, border-color .18s ease;
  display:inline-flex;align-items:center;gap:8px;
}
.tab-img{width:16px; height:16px; border-radius:6px; object-fit:cover; display:block}
html.dark .tab{background: rgba(15,23,42,.66); border-color: rgba(255,255,255,.10); color: var(--muted)}
html.dark .tab.active{background: rgba(129,140,248,.16); border-color: rgba(129,140,248,.28); color: var(--text)}
.tab.active{
  color:var(--text);
  background: rgba(79,70,229,.12);
  border-color: rgba(79,70,229,.30);
}
.tab:active{transform:translateY(1px)}
.filter-row{
  display:grid;
  grid-template-columns: 1.2fr .55fr .55fr;
  gap:10px;
}
.input{
  width:100%;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(17,24,39,.10);
  background: rgba(255,255,255,.86);
  outline:none;
  font-family:inherit;
}
.input{color: var(--text)}
html.dark .input{background: rgba(15,23,42,.66); border-color: rgba(255,255,255,.10)}
html.dark .input::placeholder{color: rgba(156,163,175,.75)}
html.dark select.input{color: var(--text)}
html.dark select.input option{background: var(--surface); color: var(--text)}
.input:focus{
  border-color: rgba(79,70,229,.40);
  box-shadow: 0 0 0 4px rgba(79,70,229,.10);
}

/* Grid */
.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin: 18px 0 44px;
  transition: opacity .18s ease, transform .18s ease;
}
@media (max-width: 980px){ .grid{grid-template-columns: repeat(2, 1fr);} }
@media (max-width: 640px){
  .grid{grid-template-columns: 1fr;}
  .filter-row{grid-template-columns:1fr}
}

/* Card */
.card{
  background: var(--surface);
  border-radius: var(--radiusXL);
  box-shadow: var(--shadow);
  overflow:hidden;
  cursor:pointer;
  transition: transform .18s ease, box-shadow .18s ease;
  position:relative;
  will-change: transform;
}
.card:hover{transform: translateY(-3px); box-shadow: 0 18px 48px rgba(17,24,39,.11);}
.cover{
  height: 158px;
  background: linear-gradient(135deg, rgba(79,70,229,.10), rgba(124,58,237,.10));
  position:relative;
  overflow:hidden;
}
.cover img{width:100%;height:100%;object-fit:cover}
.badge{position:absolute;top:12px;left:12px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.platform,.verified{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 10px;border-radius:999px;
  font-size:13px;font-weight:900;
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(17,24,39,.10);
}
html.dark .platform{background: rgba(15,23,42,.66); border-color: rgba(255,255,255,.10); color: var(--text)}
.platform .p-ico{
  width:22px;height:22px;border-radius:9px;
  background: rgba(79,70,229,.10);
  border: 1px solid rgba(79,70,229,.22);
  display:grid;place-items:center;color:var(--accent);
}
.verified{
  background: rgba(59,130,246,.10);
  border:1px solid rgba(59,130,246,.22);
  color:#1d4ed8;
}
html.dark .verified{background: rgba(59,130,246,.16); border-color: rgba(59,130,246,.26); color:#93c5fd}
.card-body{padding: 14px 14px 16px}
.card-title{
  font-family:"Montserrat",system-ui,sans-serif;
  font-weight: 900;
  letter-spacing:-.02em;
  margin:2px 0 8px;
}
.meta{display:flex;align-items:center;justify-content:space-between;gap:10px}
.stat{display:flex;gap:8px;align-items:center;color:var(--muted);font-weight:700;font-size:13px}
.price{font-weight: 900; letter-spacing:-.02em; color:var(--text)}

/* Modal */
.backdrop{
  position:fixed; inset:0;
  background: rgba(17,24,39,.32);
  display:none;
  align-items:center;justify-content:center;
  padding:18px;
  z-index:100;
}
.backdrop.show{display:flex; animation: fadeIn .18s ease}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}

.modal{
  width:min(780px, 100%);
  background: var(--surface);
  border-radius: calc(var(--radiusXL) + 10px);
  box-shadow: var(--shadow2);
  overflow:hidden;
  transform: translateY(12px) scale(.99);
  animation: popUp .18s ease forwards;
  max-height: calc(100vh - 36px);
  display:flex;
  flex-direction:column;
}
@keyframes popUp{to{transform: translateY(0) scale(1)}}
.modal-header{
  display:flex;justify-content:space-between;align-items:center;
  padding: 14px 16px;
  border-bottom:1px solid rgba(17,24,39,.08);
}
html.dark .modal-header{border-bottom:1px solid rgba(255,255,255,.10)}
.modal-header h3{
  margin:0;
  font-family:"Montserrat",system-ui,sans-serif;
  font-weight: 900;
  letter-spacing:-.02em;
  font-size: 18px;
  max-width: calc(100% - 56px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.modal-close{
  border:0;background: rgba(17,24,39,.04);
  padding:10px;border-radius:14px;cursor:pointer;
  transition: background .18s ease, transform .12s ease;
}
html.dark .modal-close{background: rgba(255,255,255,.08); color: var(--text)}
.modal-close:hover{background: rgba(17,24,39,.06)}
html.dark .modal-close:hover{background: rgba(255,255,255,.10)}
.modal-close:active{transform: translateY(1px)}
.modal-content{padding:16px; overflow:auto; -webkit-overflow-scrolling:touch; flex:1; min-height:0}
.modal-grid{display:grid;grid-template-columns: 1fr 1fr;gap:14px}
@media (max-width: 780px){ .modal-grid{grid-template-columns:1fr} }

.detail-cover{
  border-radius: var(--radiusXL);
  overflow:hidden;
  height: 280px;
  background: linear-gradient(135deg, rgba(79,70,229,.12), rgba(124,58,237,.12));
}
@media (max-width:520px){.detail-cover{height: 220px}}
.detail-cover img{width:100%;height:100%;object-fit:contain}
.detail-card{
  background: rgba(249,250,251,.75);
  border: 1px solid rgba(17,24,39,.08);
  border-radius: var(--radiusXL);
  padding: 14px;
}
html.dark .detail-card{background: rgba(15,23,42,.66); border-color: rgba(255,255,255,.10)}
.detail-row{
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;padding:10px 0;
  border-bottom: 1px dashed rgba(17,24,39,.10);
}
html.dark .detail-row{border-bottom-color: rgba(255,255,255,.14)}
.detail-row:last-child{border-bottom:0}
.detail-label{color:var(--muted);font-weight:700;font-size:13px}
.detail-value{font-weight:900}
.desc{margin-top:12px;color:var(--muted);line-height:1.7;font-size:14px}
.modal-actions{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap}

html.dark .modal-actions .btn-ghost{background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.16)}
html.dark .modal-actions .btn-ghost:hover{background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.20)}

/* Skeleton */
.skeleton{
  position:relative;
  overflow:hidden;
  background: rgba(17,24,39,.06);
  border-radius: 14px;
}
.skeleton:after{
  content:"";
  position:absolute; inset:0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  animation: shimmer 1.1s infinite;
}
@keyframes shimmer{to{transform:translateX(100%)}}

/* Cart dropdown */
.cart-wrap{position:relative}
.cart-btn{position:relative;display:inline-flex;align-items:center;gap:10px}
.cart-count{
  width:22px;height:22px;border-radius:999px;
  background: rgba(79,70,229,.12);
  border:1px solid rgba(79,70,229,.28);
  display:grid;place-items:center;
  font-size:12px;font-weight:900;color:var(--accent);
}
.dropdown{
  position:absolute; top: calc(100% + 10px); right:0;
  width: min(380px, calc(100vw - 32px));
  background: var(--surface);
  border-radius: var(--radiusXL);
  box-shadow: 0 18px 55px rgba(17,24,39,.18);
  border:1px solid rgba(17,24,39,.08);
  padding:12px;
  display:none;
  overflow:hidden;
  transform-origin: top right;
  z-index: 120;
}
html.dark .dropdown{background: rgba(15,23,42,.96); border-color: rgba(255,255,255,.12); box-shadow: 0 26px 85px rgba(0,0,0,.65)}
.dropdown.show{display:block; animation: dropIn .16s ease}
@keyframes dropIn{from{opacity:0; transform: translateY(-6px) scale(.98)}to{opacity:1; transform: translateY(0) scale(1)}}
.cart-item{display:flex;gap:10px;padding:10px 0;border-bottom:1px solid rgba(17,24,39,.06)}
.cart-item:last-child{border-bottom:0}
html.dark .cart-item{border-bottom:1px solid rgba(255,255,255,.08)}
.mini-cover{
  width:64px;height:50px;border-radius:14px;overflow:hidden;
  background: rgba(79,70,229,.08);
  flex:0 0 auto;
}
html.dark .mini-cover{background: rgba(129,140,248,.14)}
.mini-cover img{width:100%;height:100%;object-fit:cover}
.cart-item h4{margin:0;font-size:13px;font-family:"Montserrat",system-ui,sans-serif;font-weight: 900}
.cart-item .sub{color:var(--muted);font-size:12px;line-height:1.35}
.cart-footer{margin-top:10px;display:flex;gap:10px;justify-content:space-between;align-items:center}
.sum{font-weight: 900}
.small{font-size:12px;color:var(--muted)}

/* Toast */
.toast{
  position:fixed; right:16px; bottom:16px;
  width: min(380px, calc(100vw - 32px));
  background: var(--surface);
  border-radius: var(--radiusXL);
  box-shadow: 0 18px 60px rgba(17,24,39,.18);
  border:1px solid rgba(17,24,39,.08);
  padding: 12px 14px;
  display:none;
  z-index:200;
}
html.dark .toast{border-color: rgba(255,255,255,.10); box-shadow: 0 26px 85px rgba(0,0,0,.60)}
.toast.show{display:block; animation: slideToast .22s ease}
@keyframes slideToast{from{transform:translateY(10px); opacity:0}to{transform:translateY(0); opacity:1}}
.toast-title{font-weight:900;font-family:"Montserrat",system-ui,sans-serif;margin:0 0 2px}
.toast-desc{margin:0;color:var(--muted);font-size:13px;line-height:1.5}

/* Top banner */
.top-banner{position:sticky; top:0; z-index:55; background: rgba(79,70,229,.10); border-bottom:1px solid rgba(79,70,229,.18)}
html.dark .top-banner{background: rgba(129,140,248,.14); border-bottom:1px solid rgba(129,140,248,.22)}
.top-banner-link{display:block}
.top-banner-inner{display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 0; width:min(1120px, calc(100% - 32px)); margin:0 auto}
.top-banner-text{font-weight:800; color:var(--text); font-size:13px; line-height:1.45}
.top-banner-close{border:0; background: rgba(17,24,39,.06); width:34px; height:34px; border-radius:14px; cursor:pointer; font-size:18px; line-height:34px}
html.dark .top-banner-close{background: rgba(255,255,255,.08); color: var(--text)}

.pm-slider{width:min(1120px, calc(100% - 32px)); margin: 10px auto 0}
.pm-slider-inner{position:relative; border-radius: calc(var(--radiusXL) + 14px); overflow:hidden; border:1px solid rgba(17,24,39,.08); box-shadow: var(--shadow)}
.pm-slider-track{display:flex; width:100%; transition: transform .42s cubic-bezier(.2,.8,.2,1); will-change: transform}
.pm-slide{min-width:100%; position:relative}
.pm-slide-link{display:block; position:relative; height: clamp(220px, 30vw, 460px); background: rgba(17,24,39,.06); overflow:hidden}
.pm-slide-link:before{content:""; position:absolute; inset:0; background-image: var(--pm-bg); background-size:cover; background-position:center; filter: blur(22px); transform: scale(1.12); opacity:.30}
.pm-slide-img{display:block; width:100%; height:100%; object-fit:contain; position:relative; z-index:1}
.pm-slide-title{position:absolute; left:16px; right:16px; bottom:14px; padding:10px 12px; border-radius:18px; background: rgba(17,24,39,.42); border:1px solid rgba(255,255,255,.18); color:#fff; font-weight:900; font-family:"Montserrat",system-ui,sans-serif; letter-spacing:-.02em; backdrop-filter: blur(10px)}
.pm-slider-dots{position:absolute; left:0; right:0; bottom:12px; display:flex; justify-content:center; gap:8px}
.pm-dot{border:0; width:10px; height:10px; border-radius:999px; background: rgba(255,255,255,.55); box-shadow: 0 10px 18px rgba(17,24,39,.18); cursor:pointer}
.pm-dot.active{background:#fff; width:22px}
@media (min-width:760px){.pm-slide-title{left:18px; right:18px; bottom:16px}}
@media (max-width:760px){.pm-slider{margin-top:6px}}
@media (max-width:520px){.pm-slide-link{height: clamp(220px, 62vw, 420px)}.pm-slide-title{font-size:14px; padding:8px 10px}}

.break-anywhere{overflow-wrap:anywhere; word-break:break-word; min-width:0}

.contact-grid{grid-template-columns: 1fr 1fr; margin:0}
@media (max-width:760px){.contact-grid{grid-template-columns:1fr}}

/* Popup */
.pm-popup{position:fixed; inset:0; z-index:250; background: rgba(17,24,39,.38); display:flex; align-items:center; justify-content:center; padding:18px}
.pm-popup-card{width:min(520px, 100%); background: var(--surface); border-radius: calc(var(--radiusXL) + 10px); box-shadow: var(--shadow2); border:1px solid rgba(17,24,39,.08); padding:16px; position:relative}
.pm-popup-close{position:absolute; top:12px; right:12px; border:0; background: rgba(17,24,39,.06); width:34px; height:34px; border-radius:14px; cursor:pointer; font-size:18px; line-height:34px}
.pm-popup-title{font-family:"Montserrat",system-ui,sans-serif;font-weight:900; letter-spacing:-.02em; font-size:18px; margin:6px 0 8px}
.pm-popup-text{color:var(--muted); font-size:14px; line-height:1.65; margin:0 0 12px}

.pm-popup-img{margin:0 0 12px}
.pm-popup-img img{display:block; width:100%; max-height:340px; object-fit:cover; border-radius: calc(var(--radiusXL) + 6px); border:1px solid rgba(17,24,39,.08)}
.pm-popup-card.pm-animate{animation: pmPop .22s ease}
@keyframes pmPop{from{transform:translateY(8px) scale(.98); opacity:0}to{transform:translateY(0) scale(1); opacity:1}}

/* 404 */
.notfound{padding:60px 0;text-align:center}
.notfound h1{font-family:"Montserrat",system-ui,sans-serif;font-weight:900;letter-spacing:-.04em;margin:0 0 8px;font-size:44px}
.notfound p{color:var(--muted);margin:0 0 18px}
.nf-card{background:var(--surface);border-radius: calc(var(--radiusXL) + 10px);box-shadow: var(--shadow);padding:28px}

/* Admin */
.admin-wrap{padding:30px 0 50px}
.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media (max-width:980px){.admin-grid{grid-template-columns:1fr}}
.admin-card{background:var(--surface);border-radius: calc(var(--radiusXL) + 10px);box-shadow: var(--shadow);padding:18px}
.admin-card h2{font-family:"Montserrat",system-ui,sans-serif;font-weight:900;margin:0 0 10px}
.admin-table{width:100%;border-collapse:collapse;font-size:13px}
.admin-table th,.admin-table td{text-align:left;padding:10px 8px;border-bottom:1px solid rgba(17,24,39,.08);vertical-align:top}
.admin-table th{color:var(--muted);font-weight:800}
.tag{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;border:1px solid rgba(17,24,39,.10);background: rgba(249,250,251,.75);font-size:12px;font-weight:800;color:var(--muted)}
.tag.ok{border-color: rgba(79,70,229,.30); background: rgba(79,70,229,.10); color: var(--accent)}
html.dark .tag{border-color: rgba(255,255,255,.10); background: rgba(15,23,42,.66); color: var(--muted)}
.hr{height:1px;background: rgba(17,24,39,.08);margin:12px 0}

.hidden{display:none !important}
.flex{display:flex}
.grid{display:grid}
.justify-between{justify-content:space-between}
.justify-end{justify-content:flex-end}
.items-center{align-items:center}
.text-left{text-align:left}
.text-right{text-align:right}
.w-full{width:100%}
.overflow-x-auto{overflow-x:auto}

.gap-6{gap:24px}
.space-x-2 > :not([hidden]) ~ :not([hidden]){margin-left:8px}
.space-x-3 > :not([hidden]) ~ :not([hidden]){margin-left:12px}
.space-y-2 > :not([hidden]) ~ :not([hidden]){margin-top:8px}
.space-y-4 > :not([hidden]) ~ :not([hidden]){margin-top:16px}

.mb-4{margin-bottom:16px}
.mb-6{margin-bottom:24px}
.mt-2{margin-top:8px}
.pt-4{padding-top:16px}
.p-3{padding:12px}

.rounded{border-radius:12px}
.object-cover{object-fit:cover}

.w-12{width:48px}
.h-12{height:48px}
.w-6{width:24px}
.h-6{height:24px}
.w-4{width:16px}
.h-4{height:16px}

.text-sm{font-size:14px}
.text-lg{font-size:18px}
.text-2xl{font-size:24px}
.font-medium{font-weight:600}
.font-bold{font-weight:800}

.bg-gray-50{background:#f9fafb}
.bg-gray-100{background:#f3f4f6}
.text-gray-400{color:#9ca3af}

.border-b{border-bottom:1px solid rgba(17,24,39,.08)}
.border-gray-200{border-color:#e5e7eb}
.border-gray-100{border-color:#f3f4f6}
.hover\:bg-gray-50:hover{background:#f9fafb}

.alert{padding:12px 14px;border-radius:16px;border:1px solid rgba(17,24,39,.08);background: rgba(249,250,251,.75)}
html.dark .alert{background: rgba(15,23,42,.66); border-color: rgba(255,255,255,.10)}
.alert-error{border-color: rgba(239,68,68,0.25); background: rgba(239,68,68,0.08)}
.alert-success{border-color: rgba(34,197,94,0.25); background: rgba(34,197,94,0.08)}
html.dark .alert-error{border-color: rgba(239,68,68,0.30); background: rgba(239,68,68,0.10)}
html.dark .alert-success{border-color: rgba(34,197,94,0.30); background: rgba(34,197,94,0.10)}

.btn-secondary{background: rgba(255,255,255,.72); border:1px solid rgba(17,24,39,.10)}
.btn-secondary:hover{border-color: rgba(79,70,229,.22); box-shadow: 0 12px 26px rgba(17,24,39,.08)}
.btn-secondary{color: var(--text)}
html.dark .btn-secondary{background: rgba(15,23,42,.66); border-color: rgba(255,255,255,.10)}
html.dark .btn-secondary:hover{border-color: rgba(129,140,248,.22); box-shadow: 0 14px 32px rgba(0,0,0,.25)}
.btn-danger{background: rgba(239,68,68,0.10); border:1px solid rgba(239,68,68,0.25); color:#b91c1c}
.btn-danger:hover{background: rgba(239,68,68,0.14)}
.btn-sm{padding:8px 10px;border-radius:14px}
.btn-icon{padding:10px 10px;border-radius:14px}

.ml-3{margin-left:12px}

/* Toggle */
.toggle-checkbox{position:absolute; opacity:0; width:1px; height:1px; pointer-events:none}
.toggle-label{width:54px; height:32px; background: rgba(17,24,39,.10); border:1px solid rgba(17,24,39,.12); border-radius:999px; position:relative; cursor:pointer; display:inline-block}
.toggle-label:after{content:""; position:absolute; top:50%; left:4px; width:24px; height:24px; border-radius:999px; background:#fff; transform:translateY(-50%); box-shadow: 0 10px 22px rgba(17,24,39,.18); transition: left .18s ease, background .18s ease}
html.dark .toggle-label{background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.10)}
html.dark .toggle-label:after{background: rgba(255,255,255,.92); box-shadow: 0 14px 34px rgba(0,0,0,.45)}
.toggle-checkbox:checked + .toggle-label{background: rgba(79,70,229,.20); border-color: rgba(79,70,229,.30)}
.toggle-checkbox:checked + .toggle-label:after{left:26px}
