:root {
  --bg-dark: #0f172a;
  --bg-card: rgba(30, 41, 59, 0.7);
  --bg-card-border: rgba(255, 255, 255, 0.08);
  
  --primary-accent: #6366f1;
  --primary-accent-hover: #4f46e5;
  --primary-blue: #38bdf8;
  --success: #10b981;
  --danger: #ef4444;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Grotesk', monospace;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

/* Light Theme Variables */
body.light-theme {
  --bg-dark: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-border: #e2e8f0;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-subtle: #94a3b8;
  background-color: #f1f5f9;
}

body.light-theme .fvia-input-group #usernameInput,
body.light-theme .fvia-input-group #domainSelect {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}

body.light-theme .inbox-sidebar {
  background: #f8fafc;
  border-right-color: #e2e8f0;
}

body.light-theme .mail-item {
  background: #ffffff;
  border-color: #e2e8f0;
}

body.light-theme .mail-item:hover {
  background: #f1f5f9;
}

body.light-theme .mail-item.selected {
  background: #e0e7ff;
  border-color: #6366f1;
}

body.light-theme .message-content-area {
  background: #ffffff;
}

body.light-theme .tab-body {
  background: #f8fafc;
}

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

body {
  font-family: var(--font-sans);
  background-color: #0b0f19;
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.5;
}

/* Background animated gradient glow elements */
.app-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.18;
  animation: floatOrb 22s ease-in-out infinite alternate;
}

.orb-1 {
  top: -10%;
  left: 30%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #6366f1, #38bdf8);
}

.orb-2 {
  bottom: 5%;
  right: 15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #8b5cf6, #4c1d95);
  animation-delay: -7s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, 30px) scale(1.05); }
  100% { transform: translate(-30px, -40px) scale(0.95); }
}

/* Layout Container */
.layout-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 100vh;
}

.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* Header */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  font-size: 26px;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(56, 189, 248, 0.25));
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text h1 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.logo-text h1 span {
  color: var(--primary-accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.polling-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  background: rgba(15, 23, 42, 0.6);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--bg-card-border);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--success);
  box-shadow: 0 0 10px var(--success);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

/* Fviainboxes 1-Line Top Bar Section */
.fvia-top-bar {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fvia-input-group {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.fvia-input-group #usernameInput {
  flex: 1;
  min-width: 200px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--bg-card-border);
  color: var(--text-main);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-family: var(--font-mono);
  outline: none;
  transition: border-color 0.2s ease;
}

.fvia-input-group #usernameInput:focus {
  border-color: var(--primary-accent);
}

.at-symbol {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-subtle);
  font-family: var(--font-mono);
}

.fvia-input-group #domainSelect {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--bg-card-border);
  color: var(--text-main);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  outline: none;
  cursor: pointer;
  min-width: 180px;
}

.fvia-input-group #domainSelect:focus {
  border-color: var(--primary-accent);
}

.btn-get-email {
  background: linear-gradient(135deg, var(--primary-accent), var(--primary-accent-hover));
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 120px;
}

.btn-get-email:hover {
  filter: brightness(1.15);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

.btn-get-email.loading {
  opacity: 0.65;
  cursor: wait;
  pointer-events: none;
}

.btn-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spinBtn 0.7s linear infinite;
  vertical-align: middle;
}

@keyframes spinBtn {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.custom-domain-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.custom-domain-row input {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--bg-card-border);
  color: var(--text-main);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
}

.recent-tags-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--text-subtle);
  overflow-x: auto;
  padding-top: 6px;
  border-top: 1px dashed rgba(255, 255, 255, 0.06);
}

.tags-list {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tag-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--bg-card-border);
  color: var(--text-muted);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-family: var(--font-mono);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tag-pill:hover {
  border-color: var(--primary-accent);
  color: var(--text-main);
}

.tag-pill.active {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--primary-accent);
  color: var(--primary-accent);
  font-weight: 700;
}

/* Main Content Workspace (Fviainboxes Split Card) */
.main-content-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  min-height: 680px;
  height: calc(100vh - 200px);
  overflow: hidden;
}

@media (max-width: 800px) {
  .main-content-card {
    grid-template-columns: 1fr;
    height: auto;
    min-height: auto;
  }

  /* Stack inbox and viewer vertically on mobile */
  .inbox-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--bg-card-border);
    max-height: 320px;
  }

  .message-content-area {
    min-height: 400px;
  }
}

/* ==========================================
   MOBILE RESPONSIVE (max-width: 640px)
   ========================================== */
@media (max-width: 640px) {
  /* Layout */
  .layout-wrapper {
    padding: 10px 8px;
    gap: 10px;
  }

  /* Header: stack logo and actions */
  .app-header {
    flex-wrap: wrap;
    gap: 8px;
    padding: 4px 0;
  }

  .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .logo-text h1 {
    font-size: 17px;
  }

  .header-actions {
    gap: 8px;
  }

  .polling-indicator {
    display: none; /* Hide polling text on mobile to save space */
  }

  .btn-theme-toggle {
    padding: 6px 10px;
  }

  /* Top Bar: Stack vertically */
  .fvia-top-bar {
    padding: 12px;
  }

  .fvia-input-group {
    flex-wrap: wrap;
    gap: 8px;
  }

  .fvia-input-group #usernameInput {
    flex: 1 1 100%;
    min-width: 0;
    font-size: 15px;
    padding: 12px 14px;
  }

  .at-symbol {
    display: none; /* Hide @ symbol on mobile, shown in placeholder */
  }

  .fvia-input-group #domainSelect {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    padding: 12px 10px;
  }

  .btn-get-email {
    flex: 1;
    padding: 12px 16px;
    font-size: 15px;
    min-width: 100px;
  }

  .btn-icon {
    padding: 12px 16px;
    font-size: 18px;
  }

  /* Main Content: Full stack, no grid */
  .main-content-card {
    grid-template-columns: 1fr;
    height: auto;
    min-height: auto;
    border-radius: var(--radius-sm);
  }

  /* Inbox Sidebar: Horizontal scroll or compact */
  .inbox-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--bg-card-border);
    max-height: 280px;
    min-height: 180px;
  }

  .inbox-sidebar-header {
    padding: 10px 14px;
  }

  .inbox-list-container {
    padding: 8px;
    gap: 6px;
  }

  .mail-item {
    padding: 10px 12px;
  }

  .mail-from {
    font-size: 13px;
  }

  .mail-subject {
    font-size: 13px;
  }

  .mail-date {
    font-size: 11px;
  }

  /* Message Viewer */
  .message-content-area {
    min-height: 350px;
  }

  .viewer-placeholder {
    padding: 20px;
  }

  .fvia-spin-mail-container {
    width: 100px;
    height: 100px;
    margin-bottom: 16px;
  }

  .fvia-ring-spinner svg {
    width: 100px;
    height: 100px;
  }

  .fvia-center-mail {
    padding: 12px;
  }

  .fvia-center-mail svg {
    width: 32px;
    height: 32px;
  }

  .waiting-text {
    font-size: 14px;
    max-width: 260px;
  }

  /* OTP Banner: Stack on mobile */
  .otp-highlight-banner {
    flex-direction: column;
    gap: 10px;
    padding: 12px 14px;
    text-align: center;
  }

  .otp-code-value {
    font-size: 28px;
  }

  .btn-otp-copy {
    width: 100%;
    justify-content: center;
  }

  /* Message Header */
  .msg-header {
    padding: 12px 14px;
  }

  .msg-header h2 {
    font-size: 16px;
  }

  .meta-row {
    font-size: 12px;
  }

  /* Tabs */
  .tabs-bar {
    padding: 0 10px;
  }

  .tab-btn {
    font-size: 12px;
    padding: 8px 12px;
  }

  .tab-body {
    padding: 0;
  }

  #htmlIframe {
    min-height: 300px;
  }

  /* Footer */
  .app-footer {
    padding: 12px 10px;
    font-size: 11px;
  }

  /* Toast: Full width at bottom */
  .toast-container {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .toast {
    font-size: 13px;
    padding: 10px 14px;
  }
}

/* Extra small screens (iPhone SE, etc.) */
@media (max-width: 380px) {
  .logo-container {
    gap: 8px;
  }

  .logo-text h1 {
    font-size: 15px;
  }

  .fvia-input-group #domainSelect {
    font-size: 13px;
    padding: 10px 8px;
  }

  .btn-get-email {
    font-size: 13px;
    padding: 10px 12px;
  }

  .inbox-sidebar {
    max-height: 240px;
  }
}

.hidden {
  display: none !important;
}


/* Left Column: Inbox Sidebar */
.inbox-sidebar {
  border-right: 1px solid var(--bg-card-border);
  display: flex;
  flex-direction: column;
  background: rgba(15, 23, 42, 0.4);
}

.inbox-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--bg-card-border);
}

.inbox-title-box {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
}

.count-pill {
  background: rgba(99, 102, 241, 0.2);
  color: var(--primary-accent);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
}

.btn-refresh-icon {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: color 0.2s ease;
}

.btn-refresh-icon:hover {
  color: var(--text-main);
}

.inbox-list-container {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.empty-inbox-state {
  text-align: center;
  padding: 60px 16px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.empty-icon-svg {
  color: var(--text-subtle);
  opacity: 0.5;
  margin-bottom: 4px;
}

.empty-inbox-state h4 {
  font-size: 15px;
  color: var(--text-main);
}

.empty-inbox-state p {
  font-size: 12px;
  color: var(--text-subtle);
}

/* Mail Item Card */
.mail-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mail-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(99, 102, 241, 0.3);
}

.mail-item.selected {
  background: rgba(99, 102, 241, 0.12);
  border-color: var(--primary-accent);
}

.mail-item.unread::before {
  content: '';
  position: absolute;
  top: 14px;
  right: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-accent);
}

.mail-item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mail-sender {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

.mail-time {
  font-size: 11px;
  color: var(--text-subtle);
  font-family: var(--font-mono);
}

.mail-subject {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-blue);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mail-preview {
  font-size: 12px;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.otp-pill-mini {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 4px;
  width: fit-content;
}

/* Right Column: Message Content Area */
.message-content-area {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.2);
}

.viewer-placeholder {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
}

.fvia-spin-mail-container {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 24px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fvia-ring-spinner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  animation: spinRing 6s linear infinite;
}

@keyframes spinRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.fvia-center-mail {
  position: relative;
  z-index: 2;
  background: rgba(99, 102, 241, 0.12);
  border-radius: 50%;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.2);
}

.waiting-text {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
  max-width: 320px;
  margin: 0 auto;
  line-height: 1.5;
}

.message-viewer {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.otp-highlight-banner {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.25));
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px;
  border-radius: var(--radius-sm);
}

.otp-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.otp-icon {
  font-size: 24px;
}

.otp-title {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.otp-code-value {
  font-size: 26px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: #34d399;
  letter-spacing: 3px;
}

.btn-otp-copy {
  background: var(--success);
  color: #000;
  font-weight: 700;
  padding: 8px 16px;
}

.msg-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--bg-card-border);
}

.msg-header h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.msg-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}

.meta-row {
  display: flex;
  gap: 6px;
}

.meta-label {
  color: var(--text-subtle);
}

.meta-val {
  color: var(--text-muted);
}

.meta-val.highlight {
  color: var(--primary-blue);
  font-weight: 600;
}

/* Tabs */
.viewer-tabs {
  display: flex;
  align-items: center;
  padding: 10px 24px 0 24px;
  border-bottom: 1px solid var(--bg-card-border);
  background: rgba(0, 0, 0, 0.2);
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  color: var(--text-main);
}

.tab-btn.active {
  color: var(--primary-blue);
  border-bottom-color: var(--primary-blue);
}

.tab-spacer {
  flex: 1;
}

.tab-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  background: #0b0f19;
  padding: 12px;
}

.tab-pane {
  display: none;
  width: 100%;
  height: 100%;
  flex: 1;
  overflow: auto;
}

.tab-pane.active {
  display: flex;
  flex-direction: column;
}

#htmlIframe {
  width: 100%;
  height: 100%;
  flex: 1;
  min-height: 460px;
  border: none;
  background: #0f172a;
  border-radius: var(--radius-sm);
}

#textContainer, #headersContainer {
  font-family: var(--font-mono);
  font-size: 13px;
  color: #cbd5e1;
  white-space: pre-wrap;
  word-break: break-all;
  padding: 16px;
  background: #0f172a;
  border-radius: var(--radius-sm);
  height: 100%;
  overflow: auto;
}

/* Footer */
.app-footer {
  text-align: center;
  padding: 16px;
  font-size: 12px;
  color: var(--text-subtle);
  border-top: 1px solid var(--bg-card-border);
  margin-top: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-sans);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border: 1px solid var(--bg-card-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-icon-small {
  padding: 6px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid var(--bg-card-border);
  color: var(--text-muted);
  cursor: pointer;
}

.btn-icon-small:hover {
  color: var(--text-main);
}

.btn-danger-icon:hover {
  color: var(--danger);
  border-color: var(--danger);
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  width: 100%;
  max-width: 520px;
  padding: 24px;
}

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

.btn-close-modal {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-body .input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-body label {
  font-size: 13px;
  color: var(--text-muted);
}

.modal-body input,
.modal-body textarea {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--bg-card-border);
  color: var(--text-main);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-sans);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}

/* Toast System */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: #1e293b;
  color: var(--text-main);
  border-left: 4px solid var(--primary-accent);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideInRight 0.3s forwards;
}

.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--danger); }

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.hidden {
  display: none !important;
}
