/* =========================================
   ADMIN.CSS – TAFITI PROFESSIONAL ADMIN PANEL
   Updated: Refined Enterprise Color Palette & Typography
========================================= */

/* ----- CSS Custom Properties ----- */
/* ----- CSS Custom Properties ----- */
:root {
  --color-primary: #0f172a;
  --color-primary-light: #1e293b;
  --color-accent: #0284c7;
  --color-accent-hover: #0369a1;
  --color-danger: #dc2626;
  --color-danger-hover: #b91c1c;
  --color-success: #16a34a;
  --color-warning: #d97706;
  
  /* ---> UPDATED BACKGROUNDS & SURFACES <--- */
  --color-white: #fcfcfd;        /* Softened off-white for cards to reduce glare */
  --color-bg: #e2e8f0;           /* Noticeable slate gray for the main dashboard canvas */
  --color-bg-alt: #cbd5e1;       /* Deeper gray for alternate areas like form inputs */
  
  /* Adjusted text and borders to maintain contrast against the new grays */
  --color-text: #0f172a;         
  --color-text-muted: #475569;
  --color-border: #94a3b8;       
  --color-border-light: #cbd5e1; 

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.04);

  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  --sidebar-width: 260px;
  --font-family: 'Inter', 'Poppins', system-ui, -apple-system, sans-serif;
}

/* ----- Reset & Base ----- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: var(--transition-fast);
}
a:hover {
  color: var(--color-accent-hover);
}

img {
  max-width: 100%;
  height: auto;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* =========================================
   LOGIN PAGE
========================================= */
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  padding: 24px;
  position: relative;
}
.login-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.02) 0%, transparent 40%),
              radial-gradient(circle at 80% 20%, rgba(255,255,255,0.015) 0%, transparent 40%);
  pointer-events: none;
}
.login-card {
  background: var(--color-white);
  padding: 48px 40px;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.login-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.login-card h2 {
  text-align: center;
  color: var(--color-primary);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.login-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin-bottom: 32px;
}
.input-group {
  position: relative;
  margin-bottom: 20px;
}
.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--color-text-muted);
  pointer-events: none;
}
.input-group input {
  width: 100%;
  padding: 12px 16px 12px 44px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: var(--font-family);
  transition: var(--transition-fast);
  background: var(--color-bg-alt);
  color: var(--color-text);
}
.input-group input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
  background: var(--color-white);
}
.btn-login {
  width: 100%;
  padding: 14px;
  background: var(--color-accent);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-family);
  cursor: pointer;
  transition: var(--transition);
  margin-top: 8px;
  box-shadow: var(--shadow-sm);
}
.btn-login:hover {
  background: var(--color-accent-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.back-link {
  display: block;
  text-align: center;
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.error {
  color: var(--color-danger);
  font-size: 0.85rem;
  margin-top: 12px;
  text-align: center;
  font-weight: 500;
}

/* =========================================
   SIDEBAR
========================================= */
.sidebar {
  width: var(--sidebar-width);
  background: var(--color-primary);
  color: #cbd5e1;
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  z-index: 200;
  transition: transform var(--transition);
  box-shadow: 4px 0 16px rgba(0,0,0,0.05);
  overflow-y: auto;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 12px;
}
.sidebar-brand img,
.sidebar-brand svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  object-fit: contain;
}
.sidebar-brand div {
  line-height: 1.2;
}
.sidebar-brand h2 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.01em;
}
.sidebar-brand span {
  font-size: 0.7rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-top: 2px;
}

.nav-icon {
  display: none;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 16px;
  flex: 1;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
  text-decoration: none;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-family);
}
.nav-link:hover {
  background: rgba(255,255,255,0.05);
  color: #f8fafc;
}
.nav-link.active {
  background: var(--color-accent);
  color: #ffffff;
  font-weight: 600;
}

.sidebar-footer {
  padding: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: auto;
}
.public-links {
  margin-bottom: 16px;
}
.public-links span {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  margin-bottom: 8px;
  font-weight: 600;
}
.public-links a {
  display: block;
  color: #94a3b8;
  font-size: 0.85rem;
  padding: 6px 0;
  transition: var(--transition-fast);
}
.public-links a:hover {
  color: #ffffff;
}
.btn-logout {
  width: 100%;
  padding: 10px;
  background: rgba(220, 38, 38, 0.1);
  color: #ef4444;
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-family: var(--font-family);
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 0.85rem;
}
.btn-logout:hover {
  background: var(--color-danger);
  color: #ffffff;
  border-color: var(--color-danger);
}

/* Mobile toggle & overlay */
.sidebar-overlay {
  display: none;
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
    width: 280px;
    z-index: 250;
  }
  .sidebar.active {
    transform: translateX(0);
  }
  .sidebar-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(2px);
    z-index: 240;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
  }
  .sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }
}

/* =========================================
   TOP HEADER (dark, consistent)
========================================= */
.top-header {
  background: var(--color-white);
  color: var(--color-text);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
}
.top-header .header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.top-header .header-brand img {
  height: 32px;
  width: auto;
}
.top-header .header-brand h2 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0;
}

/* Mobile menu toggle inside header */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--color-text);
  font-size: 1.5rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}
.mobile-menu-toggle:hover {
  background: var(--color-bg-alt);
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
  .top-header {
    padding: 0 16px;
  }
}

/* =========================================
   MAIN CONTENT
========================================= */
.main-content {
  margin-left: var(--sidebar-width);
  padding: 32px 40px 40px;
  min-height: 100vh;
  background: var(--color-bg);
  transition: margin-left var(--transition);
}

@media (max-width: 768px) {
  .main-content {
    margin-left: 0;
    padding: 24px 16px 32px;
  }
}

.page-header {
  margin-bottom: 32px;
}
.page-header h1 {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}
.text-muted {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-top: 4px;
}

/* =========================================
   STATS GRID
========================================= */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.stat-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}
.stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: #cbd5e1;
}
.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  background: var(--color-bg-alt);
  color: var(--color-accent);
}
.stat-content {
  display: flex;
  flex-direction: column;
}
.stat-value {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.2;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-top: 4px;
}

/* =========================================
   QUICK ACTIONS
========================================= */
.quick-actions {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}
.quick-actions h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
  position: relative;
}
.quick-actions h3::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
}
.quick-actions .action-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.quick-actions .action-buttons .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--color-accent);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.quick-actions .action-buttons .btn:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* =========================================
   CARDS, FORMS, BUTTONS
========================================= */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}
.card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
  position: relative;
}
.card h3::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
}

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--color-primary-light);
  font-size: 0.875rem;
}
.form-group input:not([type="checkbox"]):not([type="file"]),
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-family);
  font-size: 0.9rem;
  transition: var(--transition-fast);
  background: var(--color-white);
  color: var(--color-text);
  box-shadow: var(--shadow-xs);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group input[type="file"] { padding: 8px 0; font-size: 0.85rem; }
.form-group select[multiple] { min-height: 120px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-row-3 { grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.flex-2 { grid-column: span 2; }

@media (max-width: 768px) {
  .form-row, .form-row-3 { grid-template-columns: 1fr; gap: 16px; }
  .flex-2 { grid-column: span 1; }
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 400;
  color: var(--color-text);
}
.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-accent);
  cursor: pointer;
}
.file-hint { font-size: 0.8rem; color: var(--color-text-muted); margin-top: 6px; }

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--color-accent);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-family: var(--font-family);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.btn:hover {
  background: var(--color-accent-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.btn:active { transform: translateY(0); box-shadow: var(--shadow-sm); }

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
}
.btn-outline:hover {
  background: var(--color-bg-alt);
  border-color: #cbd5e1;
  color: var(--color-primary);
}

.btn-danger {
  background: var(--color-danger);
}
.btn-danger:hover {
  background: var(--color-danger-hover);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
}

/* =========================================
   TABLES
========================================= */
.table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.data-table thead th {
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 14px 16px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 2px solid var(--color-border);
}
.data-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  vertical-align: middle;
}
.data-table tbody tr {
  transition: background var(--transition-fast);
}
.data-table tbody tr:hover { background: var(--color-bg); }

.data-table img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--color-border);
}
.data-table .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.data-table .badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.badge-success { background: #dcfce7; color: #166534; }
.badge-warning { background: #fef3c7; color: #92400e; }

/* =========================================
   GALLERY GRID
========================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}
.gallery-grid img:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

/* =========================================
   DYNAMIC ROWS & MISC
========================================= */
.dynamic-container {
  border: 1px dashed #cbd5e1;
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  background: var(--color-bg-alt);
}
.demo-row,
.gallery-row,
.external-row {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--color-white);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
}

/* Quill Editor */
.ql-toolbar.ql-snow {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  border-color: var(--color-border);
  background: var(--color-bg-alt);
}
.ql-container.ql-snow {
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  border-color: var(--color-border);
  font-family: var(--font-family);
  font-size: 0.95rem;
  min-height: 200px;
}

/* Toasts */
.toast {
  background: var(--color-primary);
  color: #ffffff;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.95rem;
  border-left: 4px solid var(--color-accent);
}

/* =========================================
   DASHBOARD FOOTER
========================================= */
.dashboard-footer {
  margin-top: 40px;
  padding: 24px 0;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}
.dashboard-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.dashboard-footer .footer-brand img {
  height: 28px;
  width: auto;
  opacity: 0.8;
}
.brand-name {
  font-weight: 600;
  color: var(--color-primary);
}
.copyrightText {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.copyrightText p {
  margin: 0;
}

@media (max-width: 600px) {
  .dashboard-footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* =========================================
   CONFIRMATION DIALOG MODAL
========================================= */
.dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.dialog-box {
    background: var(--color-white);
    padding: 32px;
    border-radius: var(--radius-lg);
    max-width: 440px;
    width: 90%;
    box-shadow: var(--shadow-lg);
    animation: scaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.dialog-box h4 {
    margin: 0 0 12px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
}
.dialog-box p {
    color: var(--color-text);
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.5;
}
.dialog-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* Dialog animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes scaleIn {
    from { transform: scale(0.95) translateY(10px); opacity: 0; }
    to   { transform: scale(1) translateY(0); opacity: 1; }
}

/* =========================================
   TOAST NOTIFICATION CONTAINER
========================================= */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}
.toast-container .toast {
    pointer-events: auto;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    color: #fff;
    font-weight: 500;
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
    animation: toastIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: none;
    background: var(--color-primary);
}
.toast.success { background: var(--color-success); }
.toast.error   { background: var(--color-danger); }
.toast.info    { background: var(--color-accent); }

@keyframes toastIn {
    from { transform: translateX(100%); opacity: 0; }
    to   { transform: translateX(0); opacity: 1; }
}
@keyframes toastOut {
    from { transform: translateX(0); opacity: 1; }
    to   { transform: translateX(120%); opacity: 0; }
}