/* =============================================================================
   Payla Bot — Web Demo Styles
   Palette: Deep Navy + Cyan accent (Alpine Frost × Volcanic Glass hybrid)
   Fonts: Syne (display) + Plus Jakarta Sans (body)
============================================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #080E1A;
  --bg2:         #0D1526;
  --bg3:         #111D35;
  --surface:     #152040;
  --surface2:    #1A2850;
  --border:      rgba(0,188,212,0.12);
  --border2:     rgba(255,255,255,0.06);
  --cyan:        #00BCD4;
  --cyan-dim:    rgba(0,188,212,0.15);
  --cyan-glow:   rgba(0,188,212,0.35);
  --blue:        #1565C0;
  --blue-light:  #42A5F5;
  --text:        #E8EDF5;
  --text2:       #8A9BB8;
  --text3:       #4A5A78;
  --green:       #66BB6A;
  --orange:      #FFA726;
  --red:         #EF5350;
  --purple:      #AB47BC;
  --radius:      16px;
  --radius-sm:   10px;
  --shadow:      0 8px 32px rgba(0,0,0,0.5);
  --phone-w:     375px;
  --phone-h:     780px;
}

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  overflow: hidden;
}

/* ── SPLASH ─────────────────────────────────────────────────────────────────── */

#splash {
  position: fixed; inset: 0; z-index: 999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
}

.splash-inner {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  animation: splashIn 0.6s ease both;
}

@keyframes splashIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.splash-logo {
  position: relative; width: 90px; height: 90px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
}

.logo-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid var(--cyan);
  animation: ringPulse 2s ease-in-out infinite;
}
.ring2 {
  inset: 10px;
  border-color: rgba(0,188,212,0.4);
  animation-delay: 0.4s;
}

@keyframes ringPulse {
  0%,100% { transform: scale(1); opacity: 0.8; }
  50%      { transform: scale(1.08); opacity: 0.3; }
}

.logo-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 24px var(--cyan-glow);
}

.splash-title {
  font-family: 'Syne', sans-serif;
  font-size: 28px; font-weight: 800; letter-spacing: 6px;
  color: var(--text);
}

.splash-sub {
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--cyan); font-weight: 500;
}

.splash-bar {
  width: 160px; height: 2px; background: var(--surface2);
  border-radius: 2px; margin-top: 20px; overflow: hidden;
}

.splash-fill {
  height: 100%; width: 0; background: var(--cyan);
  border-radius: 2px;
  animation: fillBar 1.8s ease forwards 0.3s;
}

@keyframes fillBar {
  to { width: 100%; }
}

/* ── APP LAYOUT ──────────────────────────────────────────────────────────────── */

#app {
  height: 100vh;
  display: flex; align-items: center; justify-content: center; gap: 60px;
  padding: 20px;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(21,101,192,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 30%, rgba(0,188,212,0.08) 0%, transparent 70%),
    var(--bg);
}

#app.hidden { display: none; }

/* ── PHONE FRAME ─────────────────────────────────────────────────────────────── */

.phone-frame {
  width: var(--phone-w);
  height: var(--phone-h);
  background: var(--bg2);
  border-radius: 44px;
  border: 1.5px solid rgba(0,188,212,0.2);
  box-shadow:
    0 0 0 6px rgba(0,0,0,0.4),
    0 0 60px rgba(0,188,212,0.12),
    var(--shadow);
  display: flex; flex-direction: column;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  animation: phoneIn 0.7s cubic-bezier(0.34,1.56,0.64,1) both 0.1s;
}

@keyframes phoneIn {
  from { opacity: 0; transform: scale(0.88) translateY(30px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ── NOTCH ───────────────────────────────────────────────────────────────────── */

.phone-notch {
  height: 44px; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg2);
  flex-shrink: 0;
}

.notch-time {
  font-family: 'Syne', sans-serif;
  font-size: 13px; font-weight: 700; color: var(--text);
}

.notch-icons { display: flex; align-items: center; gap: 6px; }

/* ── SCREEN WRAP ─────────────────────────────────────────────────────────────── */

.screen-wrap {
  flex: 1; overflow: hidden; position: relative;
}

.screen {
  position: absolute; inset: 0;
  overflow-y: auto; overflow-x: hidden;
  padding: 0 0 16px;
  opacity: 0; pointer-events: none;
  transform: translateX(30px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  scrollbar-width: none;
}
.screen::-webkit-scrollbar { display: none; }

.screen.active {
  opacity: 1; pointer-events: all;
  transform: translateX(0);
}

/* ── SCREEN HEADER ───────────────────────────────────────────────────────────── */

.screen-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px 12px;
  position: sticky; top: 0; z-index: 10;
  background: var(--bg2);
  border-bottom: 1px solid var(--border2);
}

.header-greeting {
  font-size: 11px; color: var(--cyan); letter-spacing: 1px;
  text-transform: uppercase; font-weight: 600; margin-bottom: 2px;
}

.header-title {
  font-family: 'Syne', sans-serif;
  font-size: 20px; font-weight: 700; color: var(--text);
}

.header-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 700;
  color: white;
}

/* ── KPI GRID ────────────────────────────────────────────────────────────────── */

.kpi-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; padding: 14px 16px;
}

.kpi-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  padding: 14px 12px;
  display: flex; align-items: flex-start; gap: 10px;
  cursor: pointer; transition: transform 0.2s, border-color 0.2s;
  animation: cardIn 0.5s ease both;
}

.kpi-card:hover { transform: translateY(-2px); border-color: var(--border); }

@keyframes cardIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.kpi-card:nth-child(1) { animation-delay: 0.05s; }
.kpi-card:nth-child(2) { animation-delay: 0.1s; }
.kpi-card:nth-child(3) { animation-delay: 0.15s; }
.kpi-card:nth-child(4) { animation-delay: 0.2s; }

.kpi-billing  { border-left: 3px solid var(--blue-light); }
.kpi-inbound  { border-left: 3px solid var(--green); }
.kpi-vehicles { border-left: 3px solid var(--orange); }
.kpi-claims   { border-left: 3px solid var(--red); }

.kpi-icon { font-size: 20px; line-height: 1; margin-top: 2px; }

.kpi-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

.kpi-label {
  font-size: 10px; color: var(--text2); text-transform: uppercase;
  letter-spacing: 0.8px; font-weight: 600;
}

.kpi-value {
  font-family: 'Syne', sans-serif;
  font-size: 16px; font-weight: 700; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.kpi-trend {
  font-size: 10px; font-weight: 500;
}
.kpi-trend.up      { color: var(--green); }
.kpi-trend.down    { color: var(--red); }
.kpi-trend.neutral { color: var(--orange); }

/* ── SECTION TITLE ───────────────────────────────────────────────────────────── */

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text2);
  padding: 8px 16px 6px;
}

/* ── ACTIVITY LIST ───────────────────────────────────────────────────────────── */

.activity-list { padding: 0 16px; display: flex; flex-direction: column; gap: 8px; }

.activity-item {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: var(--radius-sm); padding: 10px 12px;
  animation: cardIn 0.4s ease both;
}

.activity-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.activity-dot.blue   { background: var(--blue-light); box-shadow: 0 0 6px var(--blue-light); }
.activity-dot.green  { background: var(--green); box-shadow: 0 0 6px var(--green); }
.activity-dot.orange { background: var(--orange); box-shadow: 0 0 6px var(--orange); }
.activity-dot.red    { background: var(--red); box-shadow: 0 0 6px var(--red); }

.activity-content { flex: 1; min-width: 0; }
.activity-label { display: block; font-size: 12px; font-weight: 600; color: var(--text); }
.activity-meta  { display: block; font-size: 10px; color: var(--text2); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.activity-badge {
  font-size: 9px; font-weight: 700; letter-spacing: 0.5px;
  padding: 3px 7px; border-radius: 20px; white-space: nowrap; flex-shrink: 0;
}
.activity-badge.success { background: rgba(102,187,106,0.15); color: var(--green); }
.activity-badge.pending { background: rgba(66,165,245,0.15); color: var(--blue-light); }
.activity-badge.warning { background: rgba(255,167,38,0.15); color: var(--orange); }
.activity-badge.error   { background: rgba(239,83,80,0.15); color: var(--red); }

/* ── QUICK ACTIONS ───────────────────────────────────────────────────────────── */

.quick-actions {
  display: flex; gap: 8px; padding: 6px 16px 0;
}

.quick-btn {
  flex: 1; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 10px 6px;
  color: var(--text); font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px; font-weight: 600; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  transition: background 0.2s, transform 0.15s;
}
.quick-btn:hover { background: var(--surface2); transform: translateY(-1px); }
.quick-btn span  { font-size: 18px; }

/* ── CHAT ────────────────────────────────────────────────────────────────────── */

.chat-status {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--green); font-weight: 600;
}

.status-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%,100% { opacity: 1; } 50% { opacity: 0.3; }
}

.chat-messages {
  flex: 1; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px;
  min-height: 0;
}

.msg { display: flex; gap: 8px; align-items: flex-end; }
.msg.user { flex-direction: row-reverse; }

.msg-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--surface2); display: flex; align-items: center;
  justify-content: center; font-size: 14px; flex-shrink: 0;
}

.msg-bubble {
  max-width: 78%; padding: 10px 13px;
  border-radius: 16px; font-size: 13px; line-height: 1.5;
  position: relative;
}

.msg.bot .msg-bubble {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-bottom-left-radius: 4px;
  color: var(--text);
}

.msg.user .msg-bubble {
  background: linear-gradient(135deg, var(--blue), #1976D2);
  border-bottom-right-radius: 4px;
  color: white;
}

.msg-time {
  font-size: 9px; color: var(--text3); margin-top: 4px; text-align: right;
}

.msg.user .msg-time { color: rgba(255,255,255,0.5); }

/* Typing indicator */
.typing-bubble {
  display: flex; gap: 4px; align-items: center; padding: 12px 16px;
}
.typing-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--text2);
  animation: typingBounce 1.2s ease-in-out infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%,60%,100% { transform: translateY(0); }
  30%          { transform: translateY(-6px); }
}

/* KPI card in chat */
.chat-kpi-card {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 12px; margin-top: 6px;
}
.chat-kpi-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 5px 0; border-bottom: 1px solid var(--border2);
  font-size: 12px;
}
.chat-kpi-row:last-child { border-bottom: none; }
.chat-kpi-row .ck-label { color: var(--text2); }
.chat-kpi-row .ck-val   { font-weight: 700; color: var(--cyan); font-family: 'Syne', sans-serif; }

/* Chat chips */
.chat-chips {
  display: flex; flex-wrap: wrap; gap: 6px; padding: 0 2px;
}

.chip {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 6px 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px; font-weight: 500; color: var(--cyan);
  cursor: pointer; transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.chip:hover { background: var(--cyan-dim); transform: translateY(-1px); }

/* Chat input */
.chat-input-bar {
  display: flex; gap: 8px; padding: 10px 14px;
  background: var(--bg2); border-top: 1px solid var(--border2);
  flex-shrink: 0;
}

.chat-input-bar input {
  flex: 1; background: var(--surface); border: 1px solid var(--border2);
  border-radius: 24px; padding: 10px 16px;
  color: var(--text); font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px; outline: none;
  transition: border-color 0.2s;
}
.chat-input-bar input:focus { border-color: var(--cyan); }
.chat-input-bar input::placeholder { color: var(--text3); }

.send-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border: none; color: white; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.15s, box-shadow 0.2s;
  flex-shrink: 0;
}
.send-btn:hover { transform: scale(1.08); box-shadow: 0 0 16px var(--cyan-glow); }

/* ── UPLOAD ──────────────────────────────────────────────────────────────────── */

.upload-cards { padding: 12px 16px; display: flex; flex-direction: column; gap: 8px; }

.upload-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: var(--radius-sm); padding: 12px 14px;
  cursor: pointer; transition: border-color 0.2s, transform 0.15s;
  animation: cardIn 0.4s ease both;
}
.upload-card:hover { border-color: var(--border); transform: translateX(2px); }
.upload-card.loaded { border-left: 3px solid var(--green); }
.upload-card.loading { border-left: 3px solid var(--cyan); }

.uc-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}

.uc-info { flex: 1; min-width: 0; }
.uc-title { display: block; font-size: 13px; font-weight: 600; color: var(--text); }
.uc-sub   { display: block; font-size: 10px; color: var(--text2); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.uc-status {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--surface2); border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--text2);
  flex-shrink: 0; transition: all 0.3s;
}
.uc-status.loaded { background: rgba(102,187,106,0.15); border-color: var(--green); color: var(--green); }
.uc-status.loading { background: var(--cyan-dim); border-color: var(--cyan); color: var(--cyan); animation: spin 1s linear infinite; }

@keyframes spin { to { transform: rotate(360deg); } }

.upload-drop-zone {
  margin: 4px 16px; border: 1.5px dashed var(--border);
  border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  cursor: pointer; transition: border-color 0.2s, background 0.2s;
}
.upload-drop-zone:hover, .upload-drop-zone.drag-over {
  border-color: var(--cyan); background: var(--cyan-dim);
}

.drop-icon { font-size: 28px; }
.drop-title { font-size: 13px; font-weight: 600; color: var(--text); }
.drop-sub   { font-size: 11px; color: var(--text2); }

.upload-log {
  margin: 8px 16px 0; display: flex; flex-direction: column; gap: 4px;
}

.log-entry {
  font-size: 11px; padding: 6px 10px; border-radius: 6px;
  background: var(--surface); border-left: 3px solid var(--cyan);
  color: var(--text2); animation: cardIn 0.3s ease both;
}
.log-entry.success { border-left-color: var(--green); color: var(--green); }
.log-entry.error   { border-left-color: var(--red); color: var(--red); }

/* ── CONTACTS ────────────────────────────────────────────────────────────────── */

.search-icon { font-size: 20px; cursor: pointer; }

.contacts-tabs {
  display: flex; gap: 6px; padding: 10px 16px;
  border-bottom: 1px solid var(--border2);
}

.ctab {
  flex: 1; padding: 7px 4px; border-radius: 8px;
  background: transparent; border: 1px solid var(--border2);
  color: var(--text2); font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10px; font-weight: 600; cursor: pointer;
  transition: all 0.2s; white-space: nowrap;
}
.ctab.active {
  background: var(--cyan-dim); border-color: var(--cyan); color: var(--cyan);
}

.contacts-list { padding: 10px 16px; display: flex; flex-direction: column; gap: 8px; }
.contacts-list.hidden { display: none; }

.contact-card {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--border2);
  border-radius: var(--radius-sm); padding: 12px 14px;
  animation: cardIn 0.4s ease both;
}
.contact-card.emergency { border-left: 3px solid var(--red); }

.contact-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; color: white;
  font-family: 'Syne', sans-serif; font-size: 13px;
  flex-shrink: 0;
}
.emergency-av { background: rgba(239,83,80,0.2); font-size: 20px; }

.contact-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.contact-name  { font-size: 13px; font-weight: 700; color: var(--text); }
.contact-role  { font-size: 10px; color: var(--text2); }
.contact-phone { font-size: 11px; color: var(--cyan); font-weight: 500; }

.contact-actions { flex-shrink: 0; }

.call-btn {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border: none; border-radius: 8px; padding: 7px 12px;
  color: white; font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px; font-weight: 700; cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
}
.call-btn:hover { transform: scale(1.05); box-shadow: 0 0 12px var(--cyan-glow); }

/* Hierarchy tree */
.hierarchy-tree { display: flex; flex-direction: column; gap: 0; }

.h-node {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; background: var(--surface);
  border: 1px solid var(--border2); border-radius: var(--radius-sm);
  margin-bottom: 6px; animation: cardIn 0.4s ease both;
}

.h-branch { padding-left: 20px; border-left: 1.5px solid var(--border); margin-left: 20px; }

.h-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 700;
  color: white; flex-shrink: 0;
}

.h-info { display: flex; flex-direction: column; gap: 1px; }
.h-name { font-size: 12px; font-weight: 700; color: var(--text); }
.h-role { font-size: 10px; color: var(--text2); }

/* ── BOTTOM NAV ──────────────────────────────────────────────────────────────── */

.bottom-nav {
  display: flex; background: var(--bg2);
  border-top: 1px solid var(--border2);
  padding: 8px 0 12px; flex-shrink: 0;
}

.nav-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  background: none; border: none; color: var(--text3);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 9px; font-weight: 600; cursor: pointer;
  padding: 4px 0; transition: color 0.2s;
}
.nav-btn.active { color: var(--cyan); }
.nav-btn:hover  { color: var(--text2); }
.nav-btn.active svg { filter: drop-shadow(0 0 4px var(--cyan)); }

/* ── DESKTOP SIDEBAR ─────────────────────────────────────────────────────────── */

.desktop-sidebar {
  width: 300px; display: flex; flex-direction: column; gap: 20px;
  animation: sideIn 0.7s ease both 0.3s;
}

@keyframes sideIn {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

.ds-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Syne', sans-serif; font-size: 20px; font-weight: 800;
  color: var(--text);
}

.ds-desc {
  font-size: 13px; color: var(--text2); line-height: 1.6;
}

.ds-features { display: flex; flex-direction: column; gap: 14px; }

.ds-feat {
  display: flex; gap: 12px; align-items: flex-start;
}

.ds-feat-icon { font-size: 22px; flex-shrink: 0; margin-top: 1px; }

.ds-feat strong { display: block; font-size: 13px; color: var(--text); margin-bottom: 2px; }
.ds-feat p      { font-size: 11px; color: var(--text2); line-height: 1.5; }

.ds-try { display: flex; flex-direction: column; gap: 8px; }

.ds-try-title {
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--text2);
}

.ds-chip {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; padding: 8px 14px;
  color: var(--cyan); font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px; font-weight: 500; cursor: pointer; text-align: left;
  transition: background 0.2s, transform 0.15s;
}
.ds-chip:hover { background: var(--cyan-dim); transform: translateX(4px); }

.ds-badge {
  display: inline-flex; align-self: flex-start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 5px 14px;
  font-size: 11px; color: var(--text2); font-weight: 500;
  letter-spacing: 1px;
}

/* ── TOAST ───────────────────────────────────────────────────────────────────── */

.toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 24px; padding: 10px 20px;
  font-size: 13px; font-weight: 600; color: var(--text);
  box-shadow: var(--shadow); opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s; z-index: 9999;
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── UTILITIES ───────────────────────────────────────────────────────────────── */

.hidden { display: none !important; }

/* ── RESPONSIVE ──────────────────────────────────────────────────────────────── */

@media (max-width: 780px) {
  #app { padding: 0; gap: 0; align-items: stretch; justify-content: stretch; }

  .phone-frame {
    width: 100%; height: 100vh;
    border-radius: 0; border: none;
    box-shadow: none;
  }

  .desktop-sidebar { display: none; }
}

@media (max-width: 900px) and (min-width: 781px) {
  .desktop-sidebar { width: 220px; }
  .ds-features { gap: 10px; }
}