/* ==========================================================================
   Vercel-Inspired Design System (Black & White Palette)
   ========================================================================== */
:root {
  /* Fonts */
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'Fira Code', monospace;
  
  /* Corner Radii (Sleek and sharp) */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-circle: 50%;
  
  /* Transitions */
  --transition-fast: 0.1s ease;
  --transition-normal: 0.15s ease;
  --transition-slow: 0.25s ease;

  /* Dark Theme Colors (Default) */
  --bg-app: #000000;
  --bg-panel: #000000;
  --bg-card: #0a0a0a;
  --bg-card-hover: #111111;
  --bg-input: #000000;
  
  --border-color: #222222;
  --border-hover: #444444;
  --border-focus: #ffffff;
  
  --text-primary: #ffffff;
  --text-secondary: #888888;
  --text-muted: #555555;
  
  --accent-primary: #ffffff;
  --accent-secondary: #000000;
  
  /* State Colors */
  --accent-success: #0070f3;
  --accent-danger: #ff0000;
  --accent-warning: #f5a623;

  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-border: 0 0 0 1px #222222;
}

/* Light Theme Colors */
.light-theme {
  --bg-app: #ffffff;
  --bg-panel: #ffffff;
  --bg-card: #fafafa;
  --bg-card-hover: #f0f0f0;
  --bg-input: #ffffff;
  
  --border-color: #eaeaea;
  --border-hover: #999999;
  --border-focus: #000000;
  
  --text-primary: #000000;
  --text-secondary: #666666;
  --text-muted: #999999;
  
  --accent-primary: #000000;
  --accent-secondary: #ffffff;

  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-border: 0 0 0 1px #eaeaea;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-app);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  transition: background-color var(--transition-slow), color var(--transition-slow);
}

/* Vercel Grid Dot Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
  z-index: -2;
  opacity: 0.5;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}

.light-theme::before {
  background-image: radial-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 1px);
  opacity: 1;
}

/* Hide unused organic glows */
.bg-glow {
  display: none;
}

/* Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--border-hover);
}

/* ==========================================================================
   App Layout
   ========================================================================== */
.app-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  gap: 32px;
}

/* Header */
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  background: transparent;
}

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

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--text-primary);
  color: var(--bg-app);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-normal);
}

.logo-icon i {
  width: 16px;
  height: 16px;
}

.logo-text h1 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-text .badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
}

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

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-app);
  border-color: var(--text-primary);
}

.btn-primary:hover {
  opacity: 0.85;
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
}

.btn-danger {
  background: transparent;
  color: var(--accent-danger);
  border-color: var(--accent-danger);
}

.btn-danger:hover {
  background: rgba(255, 0, 0, 0.05);
}

.btn-large {
  padding: 12px 24px;
  font-size: 0.9rem;
  width: 100%;
}

.btn-full {
  width: 100%;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
}

.icon-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.icon-btn i {
  width: 16px;
  height: 16px;
}

.badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--text-primary);
  color: var(--bg-app);
  font-size: 0.65rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bg-app);
}

/* Theme Toggle icons */
.theme-toggle .sun-icon { display: block; }
.theme-toggle .moon-icon { display: none; }
.dark-theme .sun-icon { display: none; }
.dark-theme .moon-icon { display: block; }

/* ==========================================================================
   Workspace Layout
   ========================================================================== */
.workspace-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 32px;
  flex: 1;
}

@media (max-width: 960px) {
  .workspace-grid {
    grid-template-columns: 1fr;
  }
}

.panel {
  background: transparent;
  display: flex;
  flex-direction: column;
  padding: 0;
  height: calc(100vh - 180px);
  overflow-y: auto;
}

@media (max-width: 960px) {
  .panel {
    height: auto;
    overflow-y: visible;
  }
}

.panel-header {
  margin-bottom: 24px;
}

.panel-header h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.panel-header p {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

/* ==========================================================================
   Forms & Controls
   ========================================================================== */
.generator-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.required {
  color: var(--accent-danger);
}

.form-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slider-value {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 1px 6px;
  border-radius: var(--radius-sm);
}

/* Inputs & Textareas */
input[type="text"],
input[type="password"],
textarea {
  font-family: var(--font-sans);
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  font-size: 0.85rem;
  transition: border-color var(--transition-fast);
  width: 100%;
}

input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--border-focus);
}

textarea {
  min-height: 100px;
  resize: vertical;
}

.input-wrapper {
  position: relative;
}

.char-counter {
  position: absolute;
  bottom: 8px;
  right: 12px;
  font-size: 0.7rem;
  color: var(--text-muted);
  pointer-events: none;
}

/* Suggestion Tags */
.suggestions-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.suggestion-tag {
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.suggestion-tag:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  color: var(--text-primary);
}

/* Slider Controls */
.slider-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 2px;
  background: var(--border-color);
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: var(--radius-circle);
  background: var(--text-primary);
  cursor: pointer;
  border: 1px solid var(--text-primary);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Tone Selection - Vercel Simple Button Grid */
.tone-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.tone-card-label {
  cursor: pointer;
}

.tone-card-label input[type="radio"] {
  display: none;
}

.tone-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 4px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--transition-fast);
}

.tone-card i {
  width: 14px;
  height: 14px;
  color: var(--text-secondary);
}

.tone-card span {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.tone-card-label:hover .tone-card {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
}

.tone-card-label input[type="radio"]:checked + .tone-card {
  background: var(--text-primary);
  border-color: var(--text-primary);
}

.tone-card-label input[type="radio"]:checked + .tone-card i,
.tone-card-label input[type="radio"]:checked + .tone-card span {
  color: var(--bg-app);
}

/* ==========================================================================
   Output Section & Editor
   ========================================================================== */
.output-panel {
  border-left: 1px solid var(--border-color);
  padding-left: 32px;
}

@media (max-width: 960px) {
  .output-panel {
    border-left: none;
    padding-left: 0;
    margin-top: 32px;
  }
}

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

.view-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  width: 100%;
}

.tab-btn {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  position: relative;
  bottom: -1px;
}

.tab-btn i {
  width: 12px;
  height: 12px;
}

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

.tab-btn.active {
  color: var(--text-primary);
  border-bottom: 2px solid var(--text-primary);
}

.export-actions {
  display: flex;
  gap: 4px;
}

.export-actions .icon-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
}

.export-actions .icon-btn i {
  width: 14px;
  height: 14px;
}

.output-content-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-top: 16px;
}

/* Empty State */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  flex: 1;
  max-width: 500px;
  padding: 40px 0;
  gap: 16px;
}

.empty-icon-wrapper {
  display: none;
}

.empty-state h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}

.empty-state p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.info-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
}

.info-badge i {
  width: 12px;
  height: 12px;
}

/* Loading State */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  flex: 1;
  padding: 40px 0;
  gap: 16px;
}

/* Vercel Clean Loader Bar */
.loader-ring {
  width: 100%;
  height: 1px;
  background: var(--border-color);
  position: relative;
  overflow: hidden;
  margin-bottom: 8px;
}

.loader-ring div {
  width: 30%;
  height: 100%;
  background: var(--text-primary);
  position: absolute;
  animation: vercel-loading 1.2s infinite linear;
}

@keyframes vercel-loading {
  0% { left: -30%; }
  100% { left: 100%; }
}

.loading-state h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
}

.loading-state p {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.skeleton-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skeleton {
  height: 10px;
  background: var(--border-color);
  border-radius: var(--radius-sm);
}

.skeleton-title {
  height: 18px;
  width: 40%;
  margin-bottom: 8px;
}

.skeleton-line.short { width: 30%; }
.skeleton-line.medium { width: 60%; }

/* Ready State */
.ready-state {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 16px;
}

.blog-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.meta-item i {
  width: 12px;
  height: 12px;
}

.editor-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-input);
  overflow: hidden;
}

/* Editors */
.prose-editor,
.raw-editor {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  border: none;
  background: transparent;
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.6;
  max-height: calc(100vh - 350px);
}

@media (max-width: 960px) {
  .prose-editor, .raw-editor {
    max-height: 400px;
  }
}

.raw-editor {
  font-family: var(--font-mono);
  outline: none;
  resize: none;
}

.prose-editor:focus {
  outline: none;
}

/* Markdown prose */
.prose-editor h1,
.prose-editor h2,
.prose-editor h3 {
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 24px;
  margin-bottom: 12px;
}

.prose-editor h1 { font-size: 1.5rem; margin-top: 8px; }
.prose-editor h2 { font-size: 1.2rem; }
.prose-editor h3 { font-size: 1rem; }

.prose-editor p {
  margin-bottom: 16px;
}

.prose-editor ul,
.prose-editor ol {
  margin-left: 20px;
  margin-bottom: 16px;
}

.prose-editor li {
  margin-bottom: 6px;
}

.prose-editor blockquote {
  border-left: 2px solid var(--text-primary);
  padding-left: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.prose-editor code {
  font-family: var(--font-mono);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2px 4px;
  border-radius: var(--radius-sm);
  font-size: 0.8em;
}

.prose-editor pre {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 12px;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin-bottom: 16px;
}

.prose-editor pre code {
  background: transparent;
  border: none;
  padding: 0;
}

.editor-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.editor-footer i {
  width: 12px;
  height: 12px;
}

/* ==========================================================================
   Modals
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

.modal-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 440px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: scale(0.95);
  transition: transform var(--transition-fast);
}

.modal-backdrop.active .modal-card {
  transform: scale(1);
}

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

.modal-header h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.close-btn {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  border: none;
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.api-key-input-wrapper {
  position: relative;
  display: flex;
}

.api-key-input-wrapper input {
  padding-right: 36px;
}

.key-visibility-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
}

.key-visibility-btn i {
  width: 14px;
  height: 14px;
}

.help-text {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.help-text a {
  color: var(--text-primary);
  text-decoration: underline;
}

.api-status-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-circle);
}

.status-indicator.warning { background: var(--accent-warning); }
.status-indicator.success { background: var(--accent-success); }

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* ==========================================================================
   Drawers (History)
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 90;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.drawer-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

.drawer-card {
  width: 100%;
  max-width: 360px;
  height: 100%;
  background: var(--bg-panel);
  border-left: 1px solid var(--border-color);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateX(100%);
  transition: transform var(--transition-fast);
}

.drawer-backdrop.active .drawer-card {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-header h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.drawer-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.search-wrapper {
  position: relative;
  display: flex;
}

.search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 14px;
  height: 14px;
}

.search-wrapper input {
  padding-left: 32px;
}

.history-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.history-item:hover {
  border-color: var(--text-primary);
}

.history-item-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  overflow: hidden;
}

.history-item-title {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.history-item-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.65rem;
  color: var(--text-muted);
}

.delete-draft-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}

.delete-draft-btn:hover {
  color: var(--accent-danger);
}

.delete-draft-btn i {
  width: 14px;
  height: 14px;
}

.history-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1;
  color: var(--text-muted);
  font-size: 0.8rem;
  gap: 8px;
}

.history-empty-state i {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   Toast Notifications
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 200;
  max-width: 320px;
  width: 100%;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.8rem;
  animation: slide-in 0.2s ease-out forwards;
  box-shadow: var(--shadow-lg);
}

.toast.success { border-left: 2px solid var(--text-primary); }
.toast.error { border-left: 2px solid var(--accent-danger); }
.toast.info { border-left: 2px solid var(--text-secondary); }

.toast i {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--text-primary);
}

.toast.error i { color: var(--accent-danger); }

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

.toast.fade-out {
  animation: fade-out 0.15s ease-in forwards;
}

@keyframes fade-out {
  to {
    opacity: 0;
  }
}
