/* ==========================================================================
   HexaColor MVP - Modern Color Toolkit Stylesheet
   Design Theme: Sleek Interface
   Color Palette: Slate, Indigo, Blue, Cyan, Violet, Dark Charcoal
   Features: Glassmorphic UI, CSS Variables, Responsive Layouts, Accessibility
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS VARIABLES & THEMING
   -------------------------------------------------------------------------- */
:root {
  /* Brand Colors */
  --primary: #6366f1;         /* Indigo */
  --primary-hover: #4f46e5;
  --primary-light: #e0e7ff;
  --secondary: #3b82f6;       /* Blue */
  --accent-cyan: #06b6d4;     /* Cyan */
  --accent-violet: #8b5cf6;   /* Violet */

  /* Neutral Light Theme Colors */
  --bg-gradient: radial-gradient(circle at 10% 10%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
                 radial-gradient(circle at 90% 90%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
                 #f8fafc;
  --bg-color: #f8fafc;
  --surface: rgba(255, 255, 255, 0.85);
  --surface-solid: #ffffff;
  --surface-hover: rgba(255, 255, 255, 0.95);
  --border-color: rgba(226, 232, 240, 0.8);
  --border-highlight: rgba(99, 102, 241, 0.35);

  /* Typography Colors */
  --text-main: #0f172a;       /* Dark Slate */
  --text-muted: #475569;
  --text-light: #64748b;

  /* Glassmorphism Effects */
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.8);
  --glass-shadow: 0 20px 40px -15px rgba(99, 102, 241, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --card-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05);

  /* UI Status Colors */
  --success: #10b981;
  --success-bg: #d1fae5;
  --warning: #f59e0b;
  --danger: #ef4444;
  --danger-bg: #fee2e2;

  /* Layout Constants */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 72px;
}

/* Dark Theme Overrides - Sleek Slate-950 Aesthetic */
[data-theme="dark"] {
  --bg-gradient: radial-gradient(ellipse at 15% 0%, rgba(99, 102, 241, 0.22) 0%, transparent 60%),
                 radial-gradient(ellipse at 85% 100%, rgba(6, 182, 212, 0.16) 0%, transparent 60%),
                 #020617;
  --bg-color: #020617;
  --surface: rgba(15, 23, 42, 0.65);
  --surface-solid: #0f172a;
  --surface-hover: rgba(30, 41, 59, 0.75);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(99, 102, 241, 0.4);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-light: #64748b;

  --glass-bg: rgba(15, 23, 42, 0.6);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6), 0 0 20px 0 rgba(99, 102, 241, 0.1);
  --card-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5);

  --primary-light: rgba(99, 102, 241, 0.2);
  --danger-bg: rgba(239, 68, 68, 0.2);
  --success-bg: rgba(16, 185, 129, 0.2);
}

/* --------------------------------------------------------------------------
   2. RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  color: var(--text-main);
  background: var(--bg-color);
  background-attachment: fixed;
}

body {
  min-height: 100vh;
  background: var(--bg-gradient);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  transition: background var(--transition-smooth), color var(--transition-smooth);
}

/* Accessibility Focus Outline */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-hover);
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

/* --------------------------------------------------------------------------
   3. CONTAINER & LAYOUT GRID
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.main-content {
  flex: 1 0 auto;
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 4rem;
}

/* --------------------------------------------------------------------------
   4. NAVIGATION BAR (STICKY & GLASS)
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-smooth);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary), var(--accent-violet));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
}

.logo-badge {
  font-size: 0.7rem;
  padding: 0.2rem 0.55rem;
  background: var(--primary-light);
  border: 1px solid var(--border-highlight);
  color: var(--primary);
  border-radius: var(--radius-pill);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent-cyan));
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle-btn {
  background: var(--surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  background: var(--surface-hover);
  border-color: var(--border-highlight);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* --------------------------------------------------------------------------
   5. BUTTONS & CONTROLS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #ffffff;
  box-shadow: 0 8px 24px -4px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 12px 28px -2px rgba(99, 102, 241, 0.55);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-secondary {
  background: var(--surface);
  color: var(--text-main);
  border-color: var(--border-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.btn-secondary:hover {
  background: var(--surface-hover);
  border-color: var(--border-highlight);
  transform: translateY(-2px);
  color: var(--primary);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-cyan), var(--secondary));
  color: #ffffff;
  box-shadow: 0 8px 24px -4px rgba(6, 182, 212, 0.35);
}

.btn-accent:hover {
  box-shadow: 0 12px 28px -2px rgba(6, 182, 212, 0.5);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-icon {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: var(--radius-sm);
}

/* Form Inputs */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--surface-solid);
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
  outline: none;
}

.form-input-color {
  height: 48px;
  padding: 4px;
  cursor: pointer;
}

/* Custom Range Slider */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--border-color);
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid #ffffff;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: transform var(--transition-fast);
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* --------------------------------------------------------------------------
   6. GLASS CARDS & SECTIONS
   -------------------------------------------------------------------------- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--glass-shadow);
  transition: all var(--transition-smooth);
}

.glass-card:hover {
  border-color: var(--border-highlight);
  box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.15);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--text-main) 40%, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 650px;
  margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   7. HERO & SEARCH SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0;
}

.hero-headline {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
}

.hero-subheading {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero Illustration (CSS Shapes & Gradients) */
.hero-illustration {
  position: relative;
  width: 100%;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.color-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.65;
  animation: float 6s ease-in-out infinite alternate;
}

.orb-1 {
  width: 220px;
  height: 220px;
  background: var(--primary);
  top: 5%;
  left: 5%;
}

.orb-2 {
  width: 200px;
  height: 200px;
  background: var(--accent-cyan);
  bottom: 5%;
  right: 10%;
  animation-delay: -3s;
}

.orb-3 {
  width: 150px;
  height: 150px;
  background: var(--accent-violet);
  top: 25%;
  right: 25%;
  animation-delay: -1.5s;
}

.palette-floating-card {
  position: relative;
  z-index: 2;
  width: 290px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  transform: rotate(-3deg);
  transition: transform 0.4s ease;
}

.palette-floating-card:hover {
  transform: rotate(0deg) scale(1.03);
}

.floating-swatches {
  display: flex;
  height: 90px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.floating-swatches span {
  flex: 1;
  height: 100%;
  transition: flex 0.3s ease;
}

.floating-swatches span:hover {
  flex: 1.5;
}

@keyframes float {
  0% { transform: translateY(0px) scale(1); }
  100% { transform: translateY(-15px) scale(1.08); }
}

/* Search Bar */
.search-container {
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
  position: relative;
}

.search-box {
  display: flex;
  align-items: center;
  background: var(--surface-solid);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-pill);
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-fast);
}

.search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.5rem;
  font-size: 1.05rem;
  color: var(--text-main);
  outline: none;
}

.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 0.5rem;
  background: var(--surface-solid);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 100;
  max-height: 280px;
  overflow-y: auto;
  display: none;
}

.search-suggestions.active {
  display: block;
}

.suggestion-item {
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  border-bottom: 1px solid var(--border-color);
  transition: background var(--transition-fast);
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover {
  background: var(--primary-light);
}

/* --------------------------------------------------------------------------
   8. FEATURE CARDS & GRID
   -------------------------------------------------------------------------- */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.tool-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.tool-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent-cyan));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.tool-card:hover::before {
  opacity: 1;
}

.tool-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

.tool-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.tool-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* --------------------------------------------------------------------------
   9. INTERACTIVE TOOLS SECTION
   -------------------------------------------------------------------------- */
.tool-workspace {
  margin-bottom: 3.5rem;
}

.color-preview-box {
  width: 100%;
  height: 120px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: background-color 0.2s ease;
  margin-bottom: 1.5rem;
}

.color-values-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.value-card {
  background: var(--surface-solid);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.value-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
}

.value-text {
  font-family: monospace;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Palette Cards */
.palette-container {
  display: flex;
  height: 220px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  margin-bottom: 1.5rem;
}

.palette-color-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem 0.5rem;
  transition: flex 0.3s ease, transform 0.2s ease;
  position: relative;
}

.palette-color-card:hover {
  flex: 1.3;
}

.palette-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  opacity: 0.85;
}

.palette-btn {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.palette-btn:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

.palette-btn.locked {
  background: #ffffff;
  color: var(--text-main);
}

.palette-info {
  text-align: center;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
  font-size: 0.85rem;
  font-weight: 700;
  font-family: monospace;
}

/* Contrast Checker Matrix */
.contrast-score-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: var(--surface-solid);
  border: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
}

.contrast-ratio-big {
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1;
}

.compliance-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.85rem;
}

.compliance-badge.pass {
  background: var(--success-bg);
  color: var(--success);
}

.compliance-badge.fail {
  background: var(--danger-bg);
  color: var(--danger);
}

/* Canvas Color Wheel */
.wheel-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

#colorWheelCanvas {
  border-radius: 50%;
  cursor: crosshair;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  background: #ffffff;
}

/* Image Picker Canvas */
.image-picker-area {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  background: var(--surface-solid);
  transition: all var(--transition-fast);
}

.image-picker-area:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

#imageCanvas {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  cursor: crosshair;
  margin-top: 1rem;
}

/* --------------------------------------------------------------------------
   10. FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--surface-solid);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  padding: 0 1.5rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem 1.5rem;
}

/* --------------------------------------------------------------------------
   11. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: var(--surface-solid);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem 0;
  color: var(--text-muted);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-title {
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   12. TOAST NOTIFICATIONS
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: var(--text-main);
  color: var(--bg-color);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: slideUp 0.3s ease, fadeOut 0.3s ease 2.7s forwards;
}

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

@keyframes fadeOut {
  to { opacity: 0; transform: translateY(-10px); }
}
