/* =====================================================================
   TrafficGuard AI — High-Tech Dark / Cyber Transit Vision Theme
   Fully Adaptive & Mobile-Responsive Design (Phone, Tablet, Desktop)
   ===================================================================== */

:root {
  --bg-primary: #0a0d14;
  --bg-secondary: #111723;
  --bg-card: rgba(18, 25, 38, 0.80);
  --bg-card-hover: rgba(26, 36, 54, 0.95);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(56, 189, 248, 0.3);
  --border-glow: rgba(56, 189, 248, 0.5);

  --accent-cyan: #06b6d4;
  --accent-blue: #3b82f6;
  --accent-indigo: #6366f1;
  --accent-green: #10b981;
  --accent-amber: #f59e0b;
  --accent-orange: #f97316;
  --accent-rose: #f43f5e;
  --accent-purple: #a855f7;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', monospace;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.6), 0 8px 10px -6px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 20px rgba(6, 182, 212, 0.25);
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 6px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(6, 182, 212, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(99, 102, 241, 0.07) 0%, transparent 40%),
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 36px 36px, 36px 36px;
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.5;
  min-height: 100vh;
  padding-bottom: 40px;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* =====================================================================
   Header & Navigation
   ===================================================================== */
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(10, 13, 20, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
  gap: 12px;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.logo-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-indigo));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 0 14px rgba(6, 182, 212, 0.4);
}

.brand-text {
  min-width: 0;
}

.brand-text h1 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #fff, #cbd5e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-text p {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-status-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.db-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: #34d399;
  white-space: nowrap;
}

.status-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Nav Tabs */
.tab-nav {
  display: flex;
  gap: 6px;
  background: rgba(17, 23, 35, 0.7);
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(59, 130, 246, 0.2));
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.4);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.15);
}

/* =====================================================================
   Container & Stat Cards Grid
   ===================================================================== */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.stat-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}

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

.stat-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--card-color, var(--accent-cyan)), transparent);
}

.stat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.stat-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-icon {
  font-size: 1.2rem;
}

.stat-value {
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--text-main);
  display: flex;
  align-items: baseline;
  gap: 6px;
  line-height: 1.2;
}

.stat-sub {
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-top: 4px;
  word-break: break-word;
}

/* Time of day badge */
.time-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}
.time-badge.siang {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}
.time-badge.sore {
  background: rgba(249, 115, 22, 0.15);
  color: #fb923c;
  border: 1px solid rgba(249, 115, 22, 0.35);
}
.time-badge.malam {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.35);
}

/* =====================================================================
   Workspace Split Layout
   ===================================================================== */
.workspace-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 18px;
}

.panel-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
  gap: 10px;
}

.panel-header h2 {
  font-size: 0.98rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Preset Chips Bar */
.presets-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.preset-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 0.72rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.preset-chip:hover, .preset-chip:active {
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.4);
  color: var(--accent-cyan);
}

/* Controls Bar */
.input-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.upload-btn-wrap {
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.file-input {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 16px;
  min-height: 42px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: #fff;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.3);
}
.btn-primary:hover {
  filter: brightness(1.15);
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-success {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
}

.btn-danger {
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.4);
  color: #fb7185;
}

/* =====================================================================
   Canvas Viewport (Fluid & Responsive)
   ===================================================================== */
.viewport-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 220px;
  background: #06090e;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#detectionCanvas {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

#videoElement {
  display: none;
}

/* Empty Dropzone Overlay */
.dropzone-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 24px 16px;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.drop-icon {
  font-size: clamp(32px, 8vw, 44px);
  color: var(--accent-cyan);
  opacity: 0.75;
}

.dropzone-overlay h3 {
  font-size: clamp(0.95rem, 3.5vw, 1.1rem);
  font-weight: 600;
}

.dropzone-overlay p {
  font-size: clamp(0.72rem, 2.5vw, 0.82rem);
  color: var(--text-dim);
  max-width: 380px;
}

/* Video Player Controls */
.video-controls-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.45);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.play-toggle-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.time-scrubber {
  flex: 1;
  accent-color: var(--accent-cyan);
  cursor: pointer;
  height: 6px;
}

.video-time-text {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  white-space: nowrap;
}

/* =====================================================================
   Inspector Side Cards
   ===================================================================== */
.inspector-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 12px;
}

.inspector-card h4 {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* License Plate Highlight Box */
.plate-preview-box {
  background: #000;
  border: 2px solid #fbbf24;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  text-align: center;
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.2);
  margin-bottom: 8px;
}

.plate-text-display {
  font-family: var(--font-mono);
  font-size: clamp(1.2rem, 5vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #f8fafc;
}

.plate-meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-top: 4px;
}

/* Passenger Density Gauge */
.passenger-gauge {
  background: rgba(0, 0, 0, 0.3);
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.gauge-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.gauge-count {
  font-size: 1.15rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--accent-purple);
}

.gauge-bar-track {
  width: 100%;
  height: 7px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 5px;
}

.gauge-bar-fill {
  height: 100%;
  width: 45%;
  background: linear-gradient(90deg, #10b981, #f59e0b, #ef4444);
  border-radius: 4px;
  transition: width 0.3s;
}

.gauge-status-label {
  font-size: 0.7rem;
  color: var(--text-dim);
  display: flex;
  justify-content: space-between;
}

/* Metrics Mini Grid */
.metrics-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.metric-pill {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 6px 8px;
}

.metric-pill-label {
  font-size: 0.68rem;
  color: var(--text-dim);
}

.metric-pill-val {
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--text-main);
}

/* Detection Items List */
.detection-list {
  max-height: 180px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.detection-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.25);
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  border-left: 3px solid var(--accent-cyan);
}

.detection-row.mobil { border-left-color: #10b981; }
.detection-row.motor { border-left-color: #3b82f6; }
.detection-row.bus { border-left-color: #f59e0b; }
.detection-row.truk { border-left-color: #f97316; }
.detection-row.kereta { border-left-color: #a855f7; }
.detection-row.penumpangkereta { border-left-color: #ec4899; }

/* =====================================================================
   MongoDB Table Explorer
   ===================================================================== */
.table-panel {
  margin-top: 18px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.search-input, .select-input {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-family: inherit;
  outline: none;
  min-height: 38px;
}
.search-input:focus, .select-input:focus {
  border-color: var(--accent-cyan);
}

.table-scroll-hint {
  display: none;
  font-size: 0.72rem;
  color: var(--accent-cyan);
  margin-bottom: 8px;
  background: rgba(6, 182, 212, 0.08);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(6, 182, 212, 0.3);
  text-align: center;
}

.analytics-grid {
  grid-template-columns: 1fr 1fr;
  margin-top: 18px;
}

.custom-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
  text-align: left;
  min-width: 640px; /* guarantees clean horizontal swipe on small screens */
}

.custom-table th {
  background: rgba(17, 23, 35, 0.95);
  padding: 10px 12px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.custom-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(17, 23, 35, 0.45);
}

.custom-table tr:hover td {
  background: rgba(255, 255, 255, 0.04);
}

.color-tag {
  display: inline-block;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  font-size: 0.68rem;
  margin-right: 3px;
  white-space: nowrap;
}

.tag-plate {
  font-family: var(--font-mono);
  font-weight: 600;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(245, 158, 11, 0.3);
  white-space: nowrap;
}

/* =====================================================================
   Toast Notifications
   ===================================================================== */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 1000;
  max-width: 420px;
}

.toast {
  background: #1e293b;
  border: 1px solid var(--border-accent);
  color: var(--text-main);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: slide-in 0.25s ease-out;
}

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

/* =====================================================================
   📱 MOBILE & TABLET RESPONSIVE BREAKPOINTS
   ===================================================================== */

/* Tablet & Smaller Laptops (< 1080px) */
@media (max-width: 1080px) {
  .workspace-grid {
    grid-template-columns: 1fr;
  }
}

/* Small Tablets & Large Phones (< 880px) */
@media (max-width: 880px) {
  .header-bar {
    flex-wrap: wrap;
    padding: 10px 14px;
    gap: 10px;
  }

  .logo-group {
    order: 1;
  }

  .header-status-group {
    order: 2;
    margin-left: auto;
  }

  .tab-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: stretch;
  }

  .tab-nav::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    flex: 1;
    justify-content: center;
    padding: 8px 10px;
    font-size: 0.78rem;
  }

  .container {
    padding: 12px;
  }

  /* 2x2 grid for stats on tablets */
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .panel-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* Horizontal touch swipe for presets */
  .presets-group {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .presets-group::-webkit-scrollbar {
    display: none;
  }

  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .search-input {
    width: 100%;
  }

  .select-input {
    width: 100%;
  }

  #tableCountSummary {
    margin-left: 0;
    text-align: center;
  }

  .table-scroll-hint {
    display: block;
  }

  .analytics-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Smartphone / Mobile Portrait (< 540px) */
@media (max-width: 540px) {
  .logo-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    font-size: 17px;
  }

  .brand-text h1 {
    font-size: 0.98rem;
  }

  .brand-text p {
    font-size: 0.65rem;
  }

  .db-pill {
    padding: 4px 8px;
    font-size: 0.7rem;
  }
  
  #dbStatusText {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Touch Buttons in full-width / pairs on phones */
  .input-controls {
    gap: 8px;
  }

  .upload-btn-wrap {
    flex: 1 1 calc(50% - 4px);
  }

  .upload-btn-wrap .btn {
    width: 100%;
  }

  #webcamToggleBtn {
    flex: 1 1 calc(50% - 4px);
  }

  #syncToDbBtn {
    flex: 1 1 100%;
  }

  .input-controls label {
    width: 100%;
    justify-content: center;
    padding-top: 4px;
  }

  /* Stat cards clean 2-column layout */
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .stat-card {
    padding: 12px 14px;
  }

  .stat-title {
    font-size: 0.68rem;
  }

  .stat-value {
    font-size: 1.25rem;
  }

  .stat-sub {
    font-size: 0.66rem;
  }

  /* Toast floating nicely on bottom of screen */
  .toast-container {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: 100%;
  }

  .toast {
    width: 100%;
    justify-content: center;
    font-size: 0.78rem;
  }
}
