:root{
  --red:#0ABAB5;
  --red-dark:#078C88;
  --red-glow: rgba(10,186,181,0.35);
  --ink:#1d1b22;
  --text:#1d1b22;
  --muted:#6b6873;
  --glass: rgba(255,255,255,0.55);
  --glass-strong: rgba(255,255,255,0.75);
  --glass-border: rgba(255,255,255,0.6);
  --glass-border-red: rgba(10,186,181,0.18);
  --line: rgba(28,25,35,0.08);
  --shadow: 0 12px 40px rgba(31,38,80,0.14);
  --shadow-sm: 0 4px 20px rgba(31,38,80,0.10);
  --radius: 22px;
  --radius-sm: 12px;
  --blur: 22px;
  --ok:#0FA968;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

*{box-sizing:border-box;}

html{height:100%;}

body{
  margin:0;
  min-height:100vh;
  color:var(--text);
  font-family:var(--font);
  background:
    radial-gradient(1200px 600px at 12% 16%, rgba(10,186,181,0.16), transparent 60%),
    radial-gradient(1000px 700px at 88% 6%, rgba(94,221,214,0.18), transparent 55%),
    radial-gradient(900px 700px at 82% 90%, rgba(7,140,136,0.14), transparent 60%),
    radial-gradient(800px 600px at 22% 96%, rgba(150,230,226,0.12), transparent 55%),
    linear-gradient(135deg, #f0fdfc 0%, #e6fffd 45%, #eefbfb 100%);
  background-attachment: fixed;
  overflow-x:hidden;
}

/* ---------- LIQUID BACKGROUND ORBS ---------- */
.bg-orbs{ position:fixed; inset:0; z-index:0; pointer-events:none; overflow:hidden; }
.bg-orbs .orb{ position:absolute; border-radius:50%; filter: blur(70px); opacity:.5; }
.bg-orbs .orb:nth-child(1){ width:440px;height:440px; background:#0ABAB5; top:-130px; right:-110px; animation:floatOrb 14s ease-in-out infinite; }
.bg-orbs .orb:nth-child(2){ width:360px;height:360px; background:#5EDDD6; bottom:-110px; left:-90px; animation:floatOrb 17s ease-in-out infinite reverse; }
.bg-orbs .orb:nth-child(3){ width:300px;height:300px; background:#BFF0ED; top:46%; left:54%; animation:floatOrb 20s ease-in-out infinite 2s; }
@keyframes floatOrb{
  0%,100%{ transform:translate(0,0) scale(1); }
  33%{ transform:translate(42px,-30px) scale(1.08); }
  66%{ transform:translate(-26px,26px) scale(.95); }
}

#loginScreen,#adminScreen,#dashScreen{ position:relative; z-index:1; }

.mono{font-family:var(--font-mono);}
.display{font-family:var(--font-display); text-transform:uppercase; letter-spacing:.04em;}

/* ---------- LOGIN ---------- */
#loginScreen{
  min-height:100vh; display:flex; align-items:center; justify-content:center; padding:20px;
}
.login-card{
  width:100%; max-width:400px;
  background:var(--glass-strong);
  backdrop-filter: blur(var(--blur)) saturate(150%);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(150%);
  border:1px solid var(--glass-border);
  box-shadow: var(--shadow);
  position:relative; padding:38px 32px 30px; border-radius:var(--radius);
  animation: cardIn .5s ease both;
}
.login-card::before, .login-card::after{
  content:""; position:absolute; width:16px; height:16px; border:2px solid var(--red);
}
.login-card::before{ top:-2px; left:-2px; border-right:none; border-bottom:none; border-top-left-radius:6px; }
.login-card::after{ bottom:-2px; right:-2px; border-left:none; border-top:none; border-bottom-right-radius:6px; }
.login-logo{ display:block; width:80px; height:80px; margin:0 auto 16px; object-fit:contain;
  filter: drop-shadow(0 6px 14px rgba(10,186,181,0.25)); }
.brand{ display:flex; align-items:center; justify-content:center; gap:10px; margin-bottom:4px; }
.brand-dot{ width:10px; height:10px; background:var(--red); border-radius:50%; box-shadow:0 0 12px var(--red-glow); animation:pulse 1.6s infinite; }
@keyframes pulse{ 0%,100%{opacity:1} 50%{opacity:.35} }
.brand h1{ font-size:26px; margin:0; font-weight:700; letter-spacing:.06em; font-family:var(--font-display); }
.brand-sub{ font-size:11px; color:var(--muted); letter-spacing:.18em; margin:0 0 26px; text-align:center; }
.field{ margin-bottom:16px; }
.field label{ display:block; font-size:11px; text-transform:uppercase; letter-spacing:.12em; color:var(--muted); margin-bottom:6px; }
.field input, .field select{
  width:100%; padding:11px 12px; border:1px solid var(--glass-border-red);
  background:rgba(255,255,255,0.6); border-radius:var(--radius-sm);
  font-family:var(--font-mono); font-size:14px; color:var(--ink); outline:none;
  transition:.18s;
}
.field input:focus, .field select:focus{ border-color:var(--red); background:#fff; box-shadow:0 0 0 3px rgba(10,186,181,0.12); }
.btn{
  width:100%; padding:12px; background:var(--ink); color:#fff; border:none; cursor:pointer;
  font-family:var(--font-display); font-weight:700; letter-spacing:.12em; text-transform:uppercase; font-size:14px;
  border-radius:var(--radius-sm); transition:.18s;
}
.btn.red{ background:linear-gradient(135deg,var(--red),var(--red-dark)); box-shadow:0 6px 18px rgba(10,186,181,0.3); }
.btn.red:hover{ filter:brightness(1.05); transform:translateY(-1px); }
.btn:hover{ background:#000; }
.btn:disabled{ opacity:.6; cursor:not-allowed; }
.btn.ghost{ background:rgba(255,255,255,0.45); color:var(--ink); border:1px solid var(--glass-border-red); }
.btn.ghost:hover{ background:rgba(255,255,255,0.8); }
.err{ color:var(--red); font-size:12px; margin:-6px 0 14px; min-height:14px; }
.switch-mode{ text-align:center; margin-top:18px; font-size:12px; color:var(--muted); }
.switch-mode a{ color:var(--red); cursor:pointer; text-decoration:none; font-weight:600; }
.login-lang{ display:flex; gap:4px; justify-content:flex-end; margin-bottom:20px; }

/* ---------- ADMIN ---------- */
#adminScreen{ display:none; min-height:100vh; padding:32px 20px; }
.admin-wrap{ max-width:760px; margin:0 auto; }
.admin-header{ display:flex; justify-content:space-between; align-items:center; margin-bottom:24px; }
.outlet-row{
  display:flex; justify-content:space-between; align-items:center;
  padding:14px 16px; border:1px solid var(--glass-border-red); margin-bottom:10px;
  background:var(--glass); backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px);
  border-radius:var(--radius-sm); box-shadow:var(--shadow-sm);
}
.outlet-row .name{ font-weight:600; font-family:var(--font-mono); }
.outlet-table{ width:100%; border-collapse:collapse; margin-bottom:20px;
  background:var(--glass); backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px);
  border:1px solid var(--glass-border); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-sm); }
.outlet-table thead th{
  background:rgba(29,27,34,0.92); color:#fff; text-align:left; padding:12px 16px; font-size:11px;
  text-transform:uppercase; letter-spacing:.06em; font-family:var(--font-display);
}
.outlet-table tbody td{ padding:12px 16px; border-bottom:1px solid var(--line); font-size:13px; }
.outlet-table tbody tr:last-child td{ border-bottom:none; }
.outlet-table tbody tr:hover{ background:rgba(10,186,181,0.04); }
.del-btn{ background:none; border:none; color:var(--red); cursor:pointer; font-size:12px; font-weight:700; letter-spacing:.08em; }
.add-outlet-form{ display:flex; gap:8px; margin-top:20px; }
.add-outlet-form input{ flex:1; padding:10px 12px; border:1px solid var(--glass-border-red); border-radius:var(--radius-sm);
  background:rgba(255,255,255,0.6); font-family:var(--font-mono); }
.add-outlet-form input:focus{ outline:none; border-color:var(--red); background:#fff; }
.add-outlet-form button{ padding:0 18px; width:auto; }

/* ---------- DASHBOARD ---------- */
#dashScreen{ display:none; min-height:100vh; }
.topbar{
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px;
  padding:12px 20px; position:sticky; top:0; z-index:1000;
  background:rgba(255,255,255,0.55);
  backdrop-filter:blur(18px) saturate(150%);
  -webkit-backdrop-filter:blur(18px) saturate(150%);
  border-bottom:1px solid var(--glass-border);
  color:var(--ink);
}
.topbar .brand2{ display:flex; align-items:center; gap:10px; }
.topbar h2{ margin:0; font-size:18px; font-family:var(--font-display); letter-spacing:.06em; color:var(--ink); }
.badge{
  background:var(--red); color:#fff; font-size:11px; padding:4px 10px; letter-spacing:.08em;
  font-family:var(--font-mono); border-radius:20px;
}
.topbar-right{ display:flex; align-items:center; gap:8px; }
.date-picker-wrap{ position:relative; cursor:pointer; display:flex; align-items:center; }
.date-display{
  font-family:var(--font-mono); font-size:13px; font-weight:600; color:var(--ink);
  padding:7px 12px; background:rgba(255,255,255,0.6); border:1px solid var(--glass-border-red);
  border-radius:10px; letter-spacing:.5px; white-space:nowrap; transition:.18s;
}
.date-display:hover{ border-color:var(--red); }
.date-hidden{ position:absolute; top:0; left:0; width:100%; height:100%; opacity:0; cursor:pointer; }
.topbar input[type=date]{
  background:rgba(255,255,255,0.6); color:var(--ink); border:1px solid var(--glass-border-red);
  padding:7px 10px; border-radius:10px; font-family:var(--font-mono); font-size:13px;
}
.topbar input[type=date]:focus{ outline:none; border-color:var(--red); }
.logout-link{ color:var(--muted); font-size:12px; cursor:pointer; text-decoration:underline; }
.logout-link:hover{ color:var(--red); }
.lang-switcher{ display:flex; gap:3px; }
.lang-btn{
  padding:4px 10px; border:none; border-radius:8px; font-size:11px; font-weight:600;
  cursor:pointer; background:transparent; color:var(--muted); transition:.18s; font-family:var(--font);
}
.lang-btn:hover{ background:rgba(10,186,181,0.12); color:var(--ink); }
.lang-btn.active{ background:var(--red); color:#fff; }

.tabs{
  display:flex; gap:4px; overflow-x:auto; margin:14px; padding:6px;
  background:rgba(255,255,255,0.45);
  backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px);
  border:1px solid var(--glass-border); border-radius:16px;
}
.tab-btn{
  padding:12px 18px; background:transparent; border:none; cursor:pointer; white-space:nowrap;
  font-family:var(--font-display); font-weight:600; letter-spacing:.06em; text-transform:uppercase; font-size:13px;
  color:var(--muted); border-radius:10px; transition:.18s;
}
.tab-btn:hover{ background:rgba(10,186,181,0.08); color:var(--ink); }
.tab-btn.active{ color:#fff; background:linear-gradient(135deg,var(--red),var(--red-dark)); box-shadow:0 4px 14px rgba(10,186,181,0.3); }

.content{ padding:8px 22px 30px; max-width:1400px; margin:0 auto; }
.meta-bar{
  display:grid; grid-template-columns:repeat(4,1fr); gap:12px;
  background:var(--glass); backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px);
  border:1px solid var(--glass-border); border-left:4px solid var(--red);
  border-radius:var(--radius); box-shadow:var(--shadow-sm); padding:16px 18px; margin-bottom:18px;
}
.meta-field label{ display:block; font-size:10px; text-transform:uppercase; letter-spacing:.1em; color:var(--muted); margin-bottom:5px; }
.meta-field input{
  width:100%; padding:8px 10px; border:1px solid var(--glass-border-red); background:rgba(255,255,255,0.6);
  border-radius:10px; font-family:var(--font-mono); font-size:12.5px; color:var(--ink); outline:none; transition:.18s;
}
.meta-field input:focus{ border-color:var(--red); background:#fff; box-shadow:0 0 0 3px rgba(10,186,181,0.1); }
@media (max-width:900px){ .meta-bar{ grid-template-columns:repeat(2,1fr); gap:10px; padding:12px; } }
@media (max-width:480px){ .meta-bar{ grid-template-columns:1fr; gap:8px; padding:10px 12px; } }
.panel-head{ display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; flex-wrap:wrap; gap:10px; }
.panel-head h3{ margin:0; font-family:var(--font-display); letter-spacing:.04em; font-size:20px; }
.save-status{ font-size:11px; color:var(--ok); font-family:var(--font-mono); }
.actions{ display:flex; gap:8px; }
.actions button{ padding:8px 14px; font-size:12px; width:auto; }

/* ---------- SECTION CARDS ---------- */
.section-block{
  background:var(--glass); backdrop-filter:blur(var(--blur)) saturate(150%);
  -webkit-backdrop-filter:blur(var(--blur)) saturate(150%);
  border:1px solid var(--glass-border); border-radius:var(--radius);
  box-shadow:var(--shadow); margin-bottom:20px; overflow:hidden;
  animation: cardIn .45s ease both;
}
@keyframes cardIn{ from{ opacity:0; transform:translateY(10px); } to{ opacity:1; transform:translateY(0); } }
.section-title{
  background:linear-gradient(90deg,var(--red),var(--red-dark)); color:#fff;
  font-family:var(--font-display); font-weight:700; letter-spacing:.08em; padding:12px 18px;
  font-size:14px; text-transform:uppercase; margin:0;
}
.table-scroll{ overflow-x:auto; border:none; border-radius:0; }
.item-name{ font-weight:600; font-size:12.5px; }
.spec{ font-size:11px; color:#555; }

table{ width:100%; border-collapse:collapse; background:transparent; font-size:13px; }
thead th{
  background:rgba(29,27,34,0.92); color:#fff; text-align:center; padding:9px 10px; font-size:11px;
  text-transform:uppercase; letter-spacing:.05em; font-family:var(--font-display); position:sticky; top:0;
}
thead th.group-header{ background:linear-gradient(90deg,var(--red),var(--red-dark)); color:#fff; font-weight:700; letter-spacing:.1em; padding:8px 12px; }
thead th.group-outlet{ background:var(--red); }
thead th.group-system{ background:var(--red-dark); }
thead tr.group-row th{ border-bottom:1px solid rgba(255,255,255,0.3); }
thead tr.sub-row th.col-outlet{ background:rgba(10,186,181,0.1); color:var(--ink); font-weight:600; border-top:none; }
thead tr.sub-row th.col-system{ background:rgba(7,140,136,0.08); color:var(--ink); font-weight:600; border-top:none; }
thead tr.sub-row th:first-child{ border-left:2px solid var(--red); }
tbody td{ padding:6px 8px; border-bottom:1px solid var(--line); vertical-align:middle; }
tbody tr:hover{ background:rgba(10,186,181,0.04); }
td input{
  width:100%; padding:6px 8px; border:1px solid var(--glass-border-red); border-radius:8px;
  font-family:var(--font-mono); font-size:12.5px; background:rgba(255,255,255,0.6); color:var(--ink);
  transition:.18s;
}
td input:focus{ outline:none; border-color:var(--red); background:#fff; box-shadow:0 0 0 3px rgba(10,186,181,0.1); }
td.readonly{ font-family:var(--font-mono); font-weight:700; text-align:center; background:rgba(255,255,255,0.35); border-radius:8px; }
.varian-neg{ color:var(--red); }
.varian-pos{ color:var(--ok); }
.sys-input{ width:100%; padding:6px 8px; border:1px solid var(--glass-border-red); border-radius:8px; font-family:var(--font-mono); font-size:12.5px; background:rgba(255,255,255,0.7); color:var(--ink); transition:.18s; text-align:center; }
.sys-input:focus{ outline:none; border-color:var(--red); background:#fff; box-shadow:0 0 0 3px rgba(10,186,181,0.12); }
.sys-input.sys-warn, td.sys-warn .sys-input, span.sys-warn{ background:#FFF3CD !important; border-color:#F5A623 !important; color:#7a4a00 !important; }
td.sys-warn{ background:rgba(255,243,205,0.6) !important; }
.inv-section-table td.readonly .sys-input{ background:rgba(255,255,255,0.85); }
.inv-section-table td.readonly span.readonly.sys-warn{ background:rgba(255,243,205,0.9); border-radius:6px; padding:2px 6px; }
.log-row-del{ background:none; border:none; color:var(--red); cursor:pointer; font-size:16px; }
.add-row-btn{ margin-top:10px; }
footer.hint{ text-align:center; font-size:11px; color:#9a97a0; padding:24px 0 10px; font-family:var(--font-mono); }

.time-input{
  border:1px solid var(--glass-border-red) !important; border-radius:8px !important;
  background:rgba(255,255,255,0.6) !important;
}
.time-input:focus{ border-color:var(--red) !important; background:#fff !important; }

@media (max-width:640px){
  .content{ padding:8px 12px 24px; }
  .topbar h2{ font-size:14px; }
  .meta-bar{ margin-bottom:12px; }
  .section-title{ font-size:12px; padding:10px 14px; }
}

/* ============= SECTION BLOCKS (single page layout) ============= */
.section-block{ margin-bottom:20px; }
.inv-section-table{ width:100%; border-collapse:collapse; background:transparent; font-size:12px; margin-bottom:2px; }
.inv-section-table thead th{
  background:rgba(29,27,34,0.92); color:#fff; text-align:center; padding:7px 8px; font-size:10px;
  text-transform:uppercase; letter-spacing:.04em; font-family:var(--font-display);
}
.inv-section-table thead th.group-header{ background:linear-gradient(90deg,var(--red),var(--red-dark)); color:#fff; font-weight:700; letter-spacing:.08em; padding:6px 10px; }
.inv-section-table thead th.group-outlet{ background:var(--red); }
.inv-section-table thead th.group-system{ background:var(--red-dark); }
.inv-section-table thead tr.sub-row th.col-outlet{ background:rgba(10,186,181,0.1); color:var(--ink); font-weight:600; }
.inv-section-table thead tr.sub-row th.col-system{ background:rgba(7,140,136,0.08); color:var(--ink); font-weight:600; }
.inv-section-table tbody td{ padding:5px 6px; border-bottom:1px solid var(--line); vertical-align:middle; }
.inv-section-table tbody tr:hover{ background:rgba(10,186,181,0.04); }
.inv-section-table td input{
  width:100%; padding:5px 7px; border:1px solid var(--glass-border-red); border-radius:8px;
  font-family:var(--font-mono); font-size:12px; background:rgba(255,255,255,0.6); color:var(--ink); transition:.18s;
}
.inv-section-table td input:focus{ outline:none; border-color:var(--red); background:#fff; box-shadow:0 0 0 3px rgba(10,186,181,0.1); }
.inv-section-table td.readonly{ font-family:var(--font-mono); font-weight:700; text-align:center; background:rgba(255,255,255,0.35); border-radius:8px; }
.inv-section-table td .item-name{ font-weight:600; font-size:12px; }
.inv-section-table td .spec{ font-size:10px; color:#555; }

/* ============= MOBILE / RESPONSIVE ============= */
html,body{ -webkit-text-size-adjust:100%; text-size-adjust:100%; }
.table-scroll{ max-width:100%; -webkit-overflow-scrolling:touch; }

@media (max-width:768px){
  .topbar{ padding:10px 14px; }
  .topbar .brand2{ flex:1; }
  .topbar h2{ font-size:15px; }
  .topbar-right{ width:100%; justify-content:space-between; flex-wrap:wrap; }
  .content{ padding:8px 12px 24px; }
  .meta-bar{ grid-template-columns:repeat(2,1fr); gap:10px; padding:12px; }
  .tabs{ margin:12px 12px 0; }
  .section-block{ border-radius:16px; margin-bottom:14px; }
  .section-title{ font-size:12px; padding:10px 14px; }
  .inv-section-table{ font-size:11px; }
  .inv-section-table thead th{ font-size:10px; padding:6px 5px; }
  .inv-section-table tbody td{ font-size:10px; padding:5px 5px; }
  .inv-section-table td input{ font-size:11px; padding:5px 5px; }
  table thead th, tbody td{ font-size:10px; padding:6px 5px; }
  .panel-head{ flex-direction:column; align-items:stretch; }
  .panel-head .actions{ width:100%; display:flex; }
  .panel-head .actions button{ flex:1; }
  .login-card{ padding:30px 22px 24px; }
}

@media (max-width:480px){
  .meta-bar{ grid-template-columns:1fr; gap:8px; padding:10px 12px; }
  .content{ padding:6px 8px 20px; }
  .tabs{ margin:10px 8px 0; }
  .section-block{ border-radius:14px; }
  .login-card{ border-radius:18px; }
  .brand h1{ font-size:22px; }
  .topbar h2{ font-size:13px; }
  /* cegah iOS auto-zoom pas tap input (font >= 16px) */
  .field input, .field select, .meta-field input,
  .topbar input[type=date], .add-outlet-form input, .date-display{
    font-size:16px !important;
  }
  .topbar-right{ gap:6px; }
  .lang-btn{ padding:4px 8px; }
}

/* ============= PRINT / PDF (A4) ============= */
@media print {
  @page { size: A4 landscape; margin: 8mm 6mm 8mm 6mm; }
  .bg-orbs{ display:none !important; }
  body {
    background:#fff !important; font-size:10px !important;
    -webkit-print-color-adjust:exact !important; print-color-adjust:exact !important; color-adjust:exact !important;
    backdrop-filter:none !important;
  }
  *{ backdrop-filter:none !important; box-shadow:none !important; animation:none !important; }
  body > * { display:none !important; }
  #dashScreen, #dashScreen > * { display:block !important; }
  #allSections, #allSections > * { display:block !important; }
  .topbar, .tabs, .meta-bar, .panel-head, .add-row-btn { display:none !important; }
  .content{ padding:0 !important; max-width:none !important; }
  .section-block{ background:#fff !important; border:1px solid #ccc !important; border-radius:0 !important; box-shadow:none !important; margin-bottom:8px !important; overflow:visible !important; }
  .section-title{ position:static !important; background:var(--red) !important; color:#fff !important; padding:6px 10px !important; font-size:11px !important; margin-top:10px !important; page-break-after:avoid; }
  .table-scroll{ overflow:visible !important; border:none !important; }
  .inv-section-table{ width:100% !important; font-size:8px !important; margin-bottom:4px !important; }
  .inv-section-table thead th{ background:var(--ink) !important; color:#fff !important; padding:4px 5px !important; font-size:8px !important; -webkit-print-color-adjust:exact !important; print-color-adjust:exact !important; }
  .inv-section-table thead th.group-header{ background:var(--red) !important; }
  .inv-section-table thead th.group-outlet{ background:var(--red) !important; }
  .inv-section-table thead th.group-system{ background:var(--red-dark) !important; }
  .inv-section-table thead tr.sub-row th.col-outlet{ background:rgba(10,186,181,0.08) !important; }
  .inv-section-table thead tr.sub-row th.col-system{ background:rgba(7,140,136,0.06) !important; }
  .inv-section-table tbody td{ padding:3px 4px !important; font-size:8px !important; border-bottom:.5px solid #ddd !important; }
  .inv-section-table tbody td input{ border:none !important; background:transparent !important; padding:1px !important; font-size:8px !important; color:#000 !important; }
  .inv-section-table td.readonly{ background:transparent !important; font-size:8px !important; }
  .inv-section-table td .item-name{ font-size:8px !important; }
  .inv-section-table td .spec{ font-size:7px !important; }
  .varian-neg{ color:var(--red) !important; }
  .varian-pos{ color:var(--ok) !important; }
  .save-status, footer.hint{ display:none !important; }
  body::before{ content:"WEDRINK 4BROTHERS INVENTORY"; display:block !important;
    font-family:var(--font-display); font-size:12px; font-weight:700; letter-spacing:.1em; text-align:center;
    padding:8px 0; border-bottom:2px solid var(--red); margin-bottom:8px; }
}

/* ================= WHATSAPP FAB + REMINDER TOAST ================= */
.wa-fab{
  position:fixed; bottom:20px; right:20px; width:56px; height:56px;
  background:#25D366; border-radius:50%; display:flex; align-items:center; justify-content:center;
  box-shadow:0 6px 20px rgba(37,211,102,.45); z-index:99997; cursor:pointer;
  transition:transform .2s ease, box-shadow .2s ease;
}
.wa-fab:hover{ transform:scale(1.08); box-shadow:0 8px 26px rgba(37,211,102,.6); }
.wa-fab:active{ transform:scale(.96); }
.wa-fab svg{ width:30px; height:30px; display:block; }
.wa-toast{
  position:fixed; bottom:90px; right:20px; max-width:260px;
  padding:14px 18px; border-radius:20px;
  font-size:13px; font-weight:600; line-height:1.45; z-index:99996; color:#fff;
  background:linear-gradient(135deg, rgba(10,186,181,0.82), rgba(94,221,214,0.72));
  background-size:160% 160%;
  backdrop-filter:blur(14px) saturate(140%);
  -webkit-backdrop-filter:blur(14px) saturate(140%);
  border:1px solid rgba(255,255,255,0.28);
  box-shadow:0 8px 32px rgba(10,186,181,0.35), inset 0 1px 0 rgba(255,255,255,0.25);
  opacity:0; transform:translateY(12px) scale(.98); pointer-events:none;
  transition:opacity .35s ease, transform .35s ease;
}
.wa-toast::before{
  content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
  background:radial-gradient(120% 120% at 15% 10%, rgba(255,255,255,0.22), rgba(255,255,255,0) 55%);
}
.wa-toast.show{
  opacity:1; transform:translateY(0) scale(1);
  animation:waLiquid 6s ease-in-out infinite;
}
@keyframes waLiquid{
  0%,100%{ background-position:0% 0%; }
  50%{ background-position:100% 100%; }
}
@media (max-width:480px){
  .wa-fab{ width:50px; height:50px; bottom:16px; right:16px; }
  .wa-fab svg{ width:26px; height:26px; }
  .wa-toast{ right:16px; bottom:78px; max-width:calc(100vw - 32px); font-size:12px; }
}
