/* =========================================
   EMAIL DEDUPLICATOR - DARK THEME (DEFAULT)
   ========================================= */

:root {
  /* Dark Theme Palette (Default) */
  --bg-page: #090d16;
  --bg-navbar: #0f172a;
  --bg-card: #131d31;
  --bg-card-header: #131d31;
  --bg-input: #0a0f1d;
  --bg-input-footer: #0e1526;
  --bg-subtle: #1e293b;
  --bg-hover: #27354f;
  --bg-tabs: #0a0f1d;
  --bg-tab-active: #1e293b;
  
  --border-color: #1e293b;
  --border-card: #1f2d47;
  --border-input: #233352;
  --border-focus: #6366f1;

  --text-main: #cbd5e1;
  --text-heading: #f8fafc;
  --text-muted: #8493a8;
  --text-dim: #54657d;

  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --primary-light: rgba(99, 102, 241, 0.15);
  --primary-glow: rgba(99, 102, 241, 0.35);

  --success: #10b981;
  --success-hover: #059669;
  --success-light: rgba(16, 185, 129, 0.12);
  --success-border: rgba(16, 185, 129, 0.3);

  --danger: #f43f5e;
  --danger-hover: #e11d48;
  --danger-light: rgba(244, 63, 94, 0.12);
  --danger-border: rgba(244, 63, 94, 0.3);

  --warning: #f59e0b;
  --warning-light: rgba(245, 158, 11, 0.12);
  --warning-border: rgba(245, 158, 11, 0.3);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 8px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 30px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
}

/* Light Theme (Alternative via toggle) */
body.light-theme {
  --bg-page: #f8fafc;
  --bg-navbar: #ffffff;
  --bg-card: #ffffff;
  --bg-card-header: #ffffff;
  --bg-input: #ffffff;
  --bg-input-footer: #f8fafc;
  --bg-subtle: #f1f5f9;
  --bg-hover: #e2e8f0;
  --bg-tabs: #f1f5f9;
  --bg-tab-active: #ffffff;
  
  --border-color: #e2e8f0;
  --border-card: #e2e8f0;
  --border-input: #cbd5e1;
  --border-focus: #4f46e5;

  --text-main: #334155;
  --text-heading: #0f172a;
  --text-muted: #64748b;
  --text-dim: #94a3b8;

  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-light: #eef2ff;
  --primary-glow: rgba(79, 70, 229, 0.25);

  --success: #10b981;
  --success-hover: #059669;
  --success-light: #ecfdf5;
  --success-border: #a7f3d0;

  --danger: #ef4444;
  --danger-hover: #dc2626;
  --danger-light: #fef2f2;
  --danger-border: #fca5a5;

  --warning: #f59e0b;
  --warning-light: #fffbeb;
  --warning-border: #fde68a;

  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.07);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.06);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: var(--bg-input);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Navbar */
.navbar {
  background: var(--bg-navbar);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 24px;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.nav-container {
  max-width: 1260px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-logo {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), #818cf8);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.brand-text h1 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.02em;
}

.brand-text p {
  font-size: 12px;
  color: var(--text-muted);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.security-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--success-light);
  color: #34d399;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--success-border);
}

body.light-theme .security-badge {
  color: #065f46;
}

.btn-theme-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-theme-toggle:hover {
  background: var(--bg-hover);
  color: var(--text-heading);
}

/* Main Content */
.main-content {
  flex: 1;
  max-width: 1260px;
  margin: 0 auto;
  padding: 28px 24px;
  width: 100%;
}

/* Feature Mode Selector (Top 2-Feature Tabs) */
.feature-mode-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.feature-mode-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 2px solid var(--border-card);
  border-radius: var(--radius-lg);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.feature-mode-card:hover {
  background: var(--bg-hover);
  border-color: var(--border-focus);
  transform: translateY(-2px);
}

.feature-mode-card.active {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), var(--bg-card));
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.25);
}

.feature-mode-card[data-feature-mode="append"].active {
  border-color: var(--success);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), var(--bg-card));
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.25);
}

.feature-mode-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-indigo {
  background: rgba(99, 102, 241, 0.2);
  color: #818cf8;
}

.icon-emerald {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.feature-mode-body {
  flex: 1;
}

.feature-mode-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 4px;
}

.badge-indigo {
  background: rgba(99, 102, 241, 0.25);
  color: #a5b4fc;
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.25);
  color: #6ee7b7;
}

.feature-mode-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 2px;
}

.feature-mode-body p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

/* Cards */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: all 0.25s ease;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 14px;
}

.card-header h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px var(--primary-glow);
}

.btn-subtle {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.btn-subtle:hover {
  background: var(--bg-hover);
  color: var(--text-heading);
  border-color: var(--border-focus);
}

/* Tabs */
.tabs-nav {
  display: flex;
  background: var(--bg-tabs);
  border: 1px solid var(--border-color);
  padding: 4px;
  border-radius: var(--radius-md);
  gap: 4px;
}

.tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}

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

.tab-btn.active {
  background: var(--bg-tab-active);
  color: #818cf8;
  box-shadow: var(--shadow-sm);
}

body.light-theme .tab-btn.active {
  color: var(--primary);
}

.badge {
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 999px;
  font-weight: 700;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* Textarea wrapper */
.textarea-wrapper, .result-textarea-wrapper {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-input);
  border-radius: var(--radius-md);
  background: var(--bg-input);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.textarea-wrapper:focus-within, .result-textarea-wrapper:focus-within {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--primary-light);
}

textarea {
  width: 100%;
  height: 240px;
  border: none;
  padding: 14px;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-heading);
  resize: vertical;
  background: transparent;
  outline: none;
}

textarea::placeholder {
  color: var(--text-dim);
}

.textarea-footer, .result-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 14px;
  background: var(--bg-input-footer);
  border-top: 1px solid var(--border-color);
  font-size: 11px;
  color: var(--text-muted);
}

.btn-clear {
  background: none;
  border: none;
  color: var(--danger);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.btn-clear:hover {
  text-decoration: underline;
}

/* Dropzone */
.dropzone {
  border: 2px dashed var(--border-input);
  border-radius: var(--radius-md);
  padding: 36px 20px;
  text-align: center;
  background: var(--bg-input);
  transition: all 0.2s ease;
  cursor: pointer;
}

.dropzone:hover, .dropzone.dragover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.dropzone-icon {
  color: var(--primary);
  margin-bottom: 10px;
}

.dropzone h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.dropzone p {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.btn-browse {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-subtle);
  color: #a5b4fc;
  border: 1px solid var(--border-color);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

body.light-theme .btn-browse {
  color: var(--primary);
}

.btn-browse:hover {
  border-color: var(--primary);
  background: var(--bg-hover);
  color: #ffffff;
}

/* File list */
.file-list-wrapper {
  margin-top: 14px;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
}

.file-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.btn-link-danger {
  background: none;
  border: none;
  color: var(--danger);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.btn-link-danger:hover {
  text-decoration: underline;
}

.file-items-list {
  list-style: none;
  max-height: 140px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
}

.file-item-left {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}

.file-item-name {
  font-weight: 500;
  color: var(--text-heading);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 300px;
}

.file-item-size {
  font-size: 11px;
  color: var(--text-dim);
}

.file-remove-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 2px 6px;
}

.file-remove-btn:hover {
  color: var(--danger);
}

/* Both info box */
.both-info-box {
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  gap: 14px;
}

.both-info-icon {
  color: var(--primary);
  flex-shrink: 0;
}

.both-info-box h4 {
  font-size: 14px;
  font-weight: 700;
  color: #c7d2fe;
  margin-bottom: 4px;
}

body.light-theme .both-info-box h4 {
  color: #312e81;
}

.both-info-box p {
  font-size: 12px;
  color: #a5b4fc;
  line-height: 1.5;
}

body.light-theme .both-info-box p {
  color: #3730a3;
}

.source-status-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.status-tag {
  background: var(--bg-input);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 11px;
  font-weight: 600;
  color: #c7d2fe;
}

body.light-theme .status-tag {
  background: #ffffff;
  color: #4338ca;
}

/* Options */
.options-box {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.options-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-main);
  cursor: pointer;
  user-select: none;
}

.checkbox-label input[type="checkbox"] {
  accent-color: var(--primary);
  width: 15px;
  height: 15px;
  cursor: pointer;
}

/* Append Info Box */
.append-info-box {
  margin-top: 12px;
  padding: 10px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-sm);
  font-size: 11.5px;
}

.append-info-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #a5b4fc;
  margin-bottom: 6px;
}

body.light-theme .append-info-title {
  color: #4338ca;
}

.append-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.append-info-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
}

.tag-domain {
  background: var(--primary-light);
  color: #a5b4fc;
  font-weight: 700;
  font-size: 10.5px;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

body.light-theme .tag-domain {
  color: var(--primary);
  border-color: #c7d2fe;
}

.rule-sample code {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: #34d399;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 11px;
}

body.light-theme .rule-sample code {
  background: #f1f5f9;
  color: #059669;
}

/* Action button */
.btn-process {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary), #4f46e5);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 4px 16px var(--primary-glow);
  transition: all 0.2s ease;
}

.btn-process:hover {
  background: linear-gradient(135deg, #7175f3, #4338ca);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
  transform: translateY(-1px);
}

.btn-process:active {
  transform: translateY(0);
}

.btn-process-append {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
}

.btn-process-append:hover {
  background: linear-gradient(135deg, #34d399, #059669);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

/* Bridge Button */
.bridge-action-row {
  margin: 2px 0 6px 0;
}

.btn-bridge {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-subtle);
  border: 1px dashed var(--primary);
  color: #a5b4fc;
  border-radius: var(--radius-md);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

body.light-theme .btn-bridge {
  color: var(--primary);
}

.btn-bridge:hover {
  background: var(--primary-light);
  color: #ffffff;
  border-style: solid;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-input);
}

.stat-icon {
  font-size: 22px;
}

.stat-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

.stat-value {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-heading);
}

.stat-dupes .stat-value {
  color: var(--danger);
}

.stat-unique {
  background: var(--success-light);
  border-color: var(--success-border);
}

.stat-unique .stat-value {
  color: #34d399;
}

body.light-theme .stat-unique .stat-value {
  color: var(--success);
}

/* Rate Banner */
.rate-banner {
  background: var(--warning-light);
  border: 1px solid var(--warning-border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 12px;
  color: #fbbf24;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body.light-theme .rate-banner {
  color: #92400e;
}

.rate-bar {
  flex: 1;
  height: 6px;
  background: rgba(245, 158, 11, 0.2);
  border-radius: 999px;
  overflow: hidden;
}

.rate-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--warning);
  transition: width 0.4s ease;
}

/* Result Textarea */
.result-textarea-wrapper textarea {
  height: 250px;
  background: transparent;
}

/* Export Buttons */
.export-button-group {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 10px;
}

.btn-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-action:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-copy {
  background: var(--primary-light);
  color: #a5b4fc;
  border-color: rgba(99, 102, 241, 0.35);
}

body.light-theme .btn-copy {
  color: var(--primary);
  border-color: #c7d2fe;
}

.btn-copy:hover:not(:disabled) {
  background: rgba(99, 102, 241, 0.25);
  color: #ffffff;
}

.btn-download {
  background: var(--success);
  color: #ffffff;
}

.btn-download:hover:not(:disabled) {
  background: var(--success-hover);
}

.btn-csv {
  background: var(--bg-subtle);
  color: var(--text-heading);
  border-color: var(--border-color);
}

.btn-csv:hover:not(:disabled) {
  background: var(--bg-hover);
  border-color: var(--border-focus);
}

/* Features section */
.features-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.feature-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.feature-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.feature-item p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 20px;
  font-size: 12px;
  color: var(--text-dim);
  border-top: 1px solid var(--border-color);
  background: var(--bg-navbar);
  margin-top: 20px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(70px);
  background: #1e293b;
  border: 1px solid #334155;
  color: #f8fafc;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  z-index: 999;
  white-space: nowrap;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Responsive */
@media (max-width: 960px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .features-section {
    grid-template-columns: 1fr;
  }

  .export-button-group {
    grid-template-columns: 1fr;
  }
}
