/* ============================================================
   Sun Shine Garments — RFQ Bidding Platform
   Global Stylesheet | Deep Teal + Orange Theme
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --teal:        #0D5C63;
  --teal-dark:   #094a50;
  --teal-light:  #14747d;
  --orange:      #FF6B2B;
  --orange-dark: #e55a1f;
  --bg:          #F0F4F8;
  --card-bg:     #ffffff;
  --text:        #1F2937;
  --text-muted:  #6B7280;
  --border:      #E5E7EB;
  --success:     #10B981;
  --warning:     #F59E0B;
  --danger:      #EF4444;
  --info:        #3B82F6;
  --sidebar-w:   260px;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
}

/* ---- SIDEBAR ---- */
.sidebar {
  width: var(--sidebar-w);
  min-height: 100vh;
  background: var(--teal);
  position: fixed;
  top: 0; left: 0;
  display: flex;
  flex-direction: column;
  z-index: 1000;
  transition: transform .3s;
}

.sidebar-brand {
  padding: 20px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  text-decoration: none;
}

.sidebar-brand img { width: 36px; height: 36px; object-fit: cover; }

.sidebar-brand .brand-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  display: block;
}

.sidebar-brand .brand-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.sidebar-user {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 14px;
  flex-shrink: 0;
}

.sidebar-user-info .name { font-size: 12px; font-weight: 600; color: #fff; }
.sidebar-user-info .role { font-size: 10px; color: rgba(255,255,255,0.5); }

.sidebar-nav { flex: 1; padding: 12px 0; overflow-y: auto; }

.nav-section-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.35);
  padding: 10px 18px 4px;
}

.nav-item { list-style: none; }

.nav-link-s {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all .2s;
  border-left: 3px solid transparent;
  cursor: pointer;
}

.nav-link-s i { width: 18px; font-size: 14px; flex-shrink: 0; }

.nav-link-s:hover,
.nav-link-s.active {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-left-color: var(--orange);
}

.nav-link-s.active { background: rgba(255,255,255,0.12); }

.nav-sub { padding-left: 46px; display: none; }
.nav-sub.show { display: block; }

.nav-sub-item { list-style: none; }
.nav-sub-link {
  display: block;
  padding: 7px 10px;
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  text-decoration: none;
  border-radius: 4px;
  transition: all .2s;
}
.nav-sub-link:hover, .nav-sub-link.active {
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.nav-sub-link.active::before {
  content: '›';
  margin-right: 6px;
  color: var(--orange);
  font-weight: 700;
}

.sidebar-footer {
  padding: 14px 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.sidebar-footer a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  text-decoration: none;
  padding: 6px 0;
  transition: color .2s;
}
.sidebar-footer a:hover { color: var(--orange); }

/* ---- MAIN CONTENT ---- */
.main-wrap {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.topbar-left { display: flex; align-items: center; gap: 12px; }
.page-title { font-size: 16px; font-weight: 700; color: var(--text); }
.page-breadcrumb { font-size: 12px; color: var(--text-muted); }

.topbar-right { display: flex; align-items: center; gap: 16px; }

.topbar-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  position: relative;
  transition: all .2s;
}
.topbar-btn:hover { background: var(--bg); color: var(--teal); }

.badge-dot {
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
  position: absolute;
  top: 6px; right: 6px;
  border: 2px solid #fff;
}

.content { padding: 24px; flex: 1; }

/* ---- CARDS ---- */
.card {
  background: var(--card-bg);
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.card-teal-top { border-top: 3px solid var(--teal); }
.card-orange-top { border-top: 3px solid var(--orange); }

.card-header-s {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-header-s h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-header-s h5 i { color: var(--teal); }
.card-body-s { padding: 20px; }

/* ---- STAT CARDS ---- */
.stat-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--teal);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform .2s, box-shadow .2s;
}
.stat-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.stat-card.orange { border-top-color: var(--orange); }
.stat-card.success { border-top-color: var(--success); }
.stat-card.warning { border-top-color: var(--warning); }

.stat-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(13,92,99,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: var(--teal);
  flex-shrink: 0;
}
.stat-card.orange .stat-icon { background: rgba(255,107,43,0.1); color: var(--orange); }
.stat-card.success .stat-icon { background: rgba(16,185,129,0.1); color: var(--success); }
.stat-card.warning .stat-icon { background: rgba(245,158,11,0.1); color: var(--warning); }

.stat-info .value { font-size: 26px; font-weight: 800; color: var(--text); line-height: 1; }
.stat-info .label { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.stat-info .change { font-size: 11px; margin-top: 4px; }
.change.up { color: var(--success); }
.change.down { color: var(--danger); }

/* ---- BUTTONS ---- */
.btn-teal {
  background: var(--teal);
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .2s;
  text-decoration: none;
}
.btn-teal:hover { background: var(--teal-dark); color: #fff; }

.btn-orange {
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .2s;
  text-decoration: none;
}
.btn-orange:hover { background: var(--orange-dark); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 1px solid var(--teal);
  padding: 7px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all .2s;
  text-decoration: none;
}
.btn-outline:hover { background: var(--teal); color: #fff; }

.btn-sm {
  padding: 5px 12px !important;
  font-size: 12px !important;
  border-radius: 6px !important;
}

.btn-icon {
  width: 30px; height: 30px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 12px;
  transition: all .2s;
  text-decoration: none;
}
.btn-icon:hover { background: var(--bg); }
.btn-icon.edit { color: var(--info); }
.btn-icon.del { color: var(--danger); }
.btn-icon.view { color: var(--teal); }
.btn-icon.history-btn { color: var(--warning); }
.btn-icon.enable { color: var(--success); }
.btn-icon.disable { color: var(--text-muted); }

/* ---- TABLES ---- */
.table-wrap { overflow-x: auto; }

.tbl {
  width: 100%;
  border-collapse: collapse;
}
.tbl th {
  background: var(--bg);
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid var(--border);
}
.tbl td {
  padding: 12px 14px;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.tbl tr:last-child td { border-bottom: none; }
.tbl tr:hover td { background: rgba(13,92,99,0.03); }

/* ---- BADGES ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}
.badge-success { background: rgba(16,185,129,0.12); color: #059669; }
.badge-warning { background: rgba(245,158,11,0.12); color: #B45309; }
.badge-danger  { background: rgba(239,68,68,0.12);  color: #B91C1C; }
.badge-info    { background: rgba(59,130,246,0.12);  color: #1D4ED8; }
.badge-teal    { background: rgba(13,92,99,0.12);    color: var(--teal); }
.badge-orange  { background: rgba(255,107,43,0.12);  color: var(--orange-dark); }
.badge-gray    { background: rgba(107,114,128,0.12); color: #4B5563; }

/* ---- FORMS ---- */
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 13px;
  color: var(--text);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-control:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13,92,99,0.1);
}
.form-select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 13px;
  color: var(--text);
  background: #fff;
  outline: none;
  cursor: pointer;
}
.form-select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13,92,99,0.1);
}
textarea.form-control { resize: vertical; min-height: 90px; }

/* ---- LEADERBOARD ---- */
.leader-row {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 8px;
  background: #fff;
  border: 1px solid var(--border);
  gap: 14px;
  transition: transform .15s;
}
.leader-row:hover { transform: translateX(3px); }

.leader-rank {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}
.rank-1 { background: #FFD700; color: #7a5800; }
.rank-2 { background: #C0C0C0; color: #555; }
.rank-3 { background: #CD7F32; color: #fff; }
.rank-other { background: var(--bg); color: var(--text-muted); }

.leader-company { flex: 1; font-weight: 600; font-size: 13px; }
.leader-company small { display: block; font-size: 11px; font-weight: 400; color: var(--text-muted); }
.leader-price { font-size: 13px; font-weight: 700; color: var(--teal); }
.leader-badge { }

/* ---- LIVE PULSE ---- */
.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--danger);
}
.live-dot {
  width: 8px; height: 8px;
  background: var(--danger);
  border-radius: 50%;
  animation: pulse 1.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(239,68,68,0.5); }
  70%  { box-shadow: 0 0 0 6px rgba(239,68,68,0); }
  100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}

/* ---- TIMELINE ---- */
.timeline { position: relative; padding-left: 24px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item { position: relative; margin-bottom: 20px; }
.timeline-dot {
  position: absolute;
  left: -20px;
  top: 4px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--teal);
  border: 2px solid #fff;
}
.timeline-content { }
.timeline-time { font-size: 11px; color: var(--text-muted); margin-bottom: 2px; }
.timeline-text { font-size: 13px; color: var(--text); }

/* ---- MODAL OVERLAY ---- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.modal-overlay.show { display: flex; }

.modal-box {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  animation: modalIn .25s ease;
}
.modal-box.lg { max-width: 760px; }
.modal-box.sm { max-width: 420px; }

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(-10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.modal-header h5 { font-size: 15px; font-weight: 700; }
.modal-close {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: none;
  background: var(--bg);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 16px;
  transition: all .2s;
}
.modal-close:hover { background: var(--danger); color: #fff; }
.modal-body { padding: 22px; }
.modal-footer {
  padding: 14px 22px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: flex-end; gap: 10px;
}

/* ---- TABS ---- */
.tab-nav {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 20px;
  gap: 4px;
}
.tab-btn {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all .2s;
  display: flex; align-items: center; gap: 6px;
}
.tab-btn.active { color: var(--teal); border-bottom-color: var(--teal); }
.tab-btn:hover { color: var(--teal); }

.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ---- STEPS (multi-step form) ---- */
.steps-bar {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 32px;
}
.steps-bar::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.step-circle {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  transition: all .3s;
}
.step-item.active .step-circle {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(13,92,99,0.2);
}
.step-item.done .step-circle {
  background: var(--success);
  color: #fff;
}
.step-label { font-size: 11px; color: var(--text-muted); font-weight: 500; text-align: center; }
.step-item.active .step-label { color: var(--teal); font-weight: 700; }

/* ---- SEARCH BAR ---- */
.search-bar {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.search-bar i { padding: 0 12px; color: var(--text-muted); font-size: 13px; }
.search-bar input {
  border: none;
  outline: none;
  padding: 8px 0;
  font-size: 13px;
  width: 220px;
  color: var(--text);
}

/* ---- COUNTDOWN ---- */
.countdown-box {
  display: flex;
  gap: 8px;
  align-items: center;
}
.countdown-unit {
  text-align: center;
  background: var(--teal);
  color: #fff;
  border-radius: 6px;
  padding: 4px 8px;
  min-width: 36px;
}
.countdown-unit .num { font-size: 16px; font-weight: 800; line-height: 1; }
.countdown-unit .lbl { font-size: 9px; opacity: 0.7; }
.countdown-sep { font-weight: 700; color: var(--teal); font-size: 16px; }

/* ---- PROGRESS BAR ---- */
.progress-bar-wrap {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  border-radius: 4px;
  transition: width .5s;
}
.progress-bar-fill.orange {
  background: linear-gradient(90deg, var(--orange), #ffab66);
}

/* ---- MISC ---- */
.section-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}
.section-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.divider { border: none; border-top: 1px solid var(--border); margin: 16px 0; }

.empty-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted);
}
.empty-state i { font-size: 48px; opacity: 0.2; margin-bottom: 12px; display: block; }
.empty-state p { font-size: 13px; }

.avatar-sm {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 20px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-5 { margin-bottom: 20px; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-end { display: flex; align-items: center; justify-content: flex-end; }
.gap-2 { gap: 8px; }

.text-muted { color: var(--text-muted); }
.text-teal { color: var(--teal); }
.text-orange { color: var(--orange); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fs-12 { font-size: 12px; }
.fs-13 { font-size: 13px; }

.input-group {
  display: flex;
  align-items: stretch;
}
.input-group .form-control { border-radius: 8px 0 0 8px; }
.input-group-text {
  padding: 0 14px;
  border: 1px solid var(--border);
  border-left: none;
  background: var(--bg);
  font-size: 13px;
  color: var(--text-muted);
  border-radius: 0 8px 8px 0;
  display: flex; align-items: center;
}

/* ---- TOOLTIP ---- */
[data-tip] { position: relative; cursor: default; }
[data-tip]:hover::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--text);
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  z-index: 9999;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ---- CHANGE PASSWORD MODAL ---- */
.pwd-input-wrap {
  position: relative;
}
.pwd-input-wrap .form-control {
  padding-right: 42px;
}
.pwd-eye {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 13px;
  padding: 4px;
  line-height: 1;
  transition: color .2s;
}
.pwd-eye:hover { color: var(--teal); }

.pwd-strength-wrap {
  height: 5px;
  background: var(--border);
  border-radius: 4px;
  margin-top: 8px;
  overflow: hidden;
}
.pwd-strength-bar {
  height: 100%;
  width: 0%;
  border-radius: 4px;
  transition: width .35s ease, background .35s ease;
}
.pwd-strength-label {
  font-size: 11px;
  font-weight: 600;
  margin-top: 5px;
  min-height: 16px;
  transition: color .2s;
}
.pwd-match-msg {
  font-size: 11px;
  font-weight: 600;
  margin-top: 6px;
  min-height: 16px;
}
.pwd-rules {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.6;
  background: var(--bg);
  border-radius: 8px;
  padding: 8px 12px;
}
.pwd-rules span { display: block; }
.pwd-rules .rule-ok  { color: var(--success); }
.pwd-rules .rule-bad { color: var(--text-muted); }

/* ---- TOAST NOTIFICATION ---- */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 10px;
  padding: 12px 18px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.14);
  font-size: 13px;
  font-weight: 600;
  min-width: 240px;
  max-width: 340px;
  border-left: 4px solid var(--teal);
  animation: toastIn .3s ease;
  pointer-events: auto;
}
.toast.success { border-left-color: var(--success); }
.toast.error   { border-left-color: var(--danger); }
.toast.warning { border-left-color: var(--warning); }
.toast i { font-size: 16px; flex-shrink: 0; }
.toast.success i { color: var(--success); }
.toast.error   i { color: var(--danger); }
.toast.warning i { color: var(--warning); }
.toast-out { animation: toastOut .3s ease forwards; }

@keyframes toastIn {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(40px); }
}
