:root {
  --bg-color: #050505;
  --pane-bg: rgba(20, 20, 20, 0.6);
  --primary-color: #00ff41;
  --primary-glow: rgba(0, 255, 65, 0.5);
  --accent-color: #00d2ff;
  --accent-glow: rgba(0, 210, 255, 0.5);
  --text-color: #e0e0e0;
  --text-dim: #888;
  --border-color: rgba(255, 255, 255, 0.1);
  --glass-blur: 12px;
  --selection-bg: rgba(0, 255, 65, 0.3);
}

::selection {
  background: var(--selection-bg);
  color: #fff;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: "Outfit", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Background Effects */
.background-scanlines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
    linear-gradient(
      90deg,
      rgba(255, 0, 0, 0.06),
      rgba(0, 255, 0, 0.02),
      rgba(0, 0, 255, 0.06)
    );
  background-size:
    100% 4px,
    3px 100%;
  pointer-events: none;
  z-index: 100;
  opacity: 0.15;
}

.app-container {
  width: 100%;
  max-width: 900px;
  padding: 2rem;
  z-index: 10;
}

/* Header & Glitch */
.hero-section {
  text-align: center;
  margin-bottom: 3rem;
}

.glitch-text {
    font-size: 3.5rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--primary-color);
    position: relative;
    text-shadow: 0 0 10px var(--primary-glow);
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch-text::before {
    color: #ff00c1;
    z-index: -1;
    animation: glitch 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
}

.glitch-text::after {
    color: #00fff9;
    z-index: -2;
    animation: glitch 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) reverse both infinite;
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

.subtitle {
    font-family: 'Fira Code', monospace;
    color: var(--accent-color);
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-top: 0.5rem;
    opacity: 0.8;
}

/* Shimmer Loading State */
.shimmer {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Shake Animation */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

.shake {
  animation: shake 0.4s cubic-bezier(.36,.07,.19,.97) both;
}

/* Error Input State */
input.invalid {
  border-color: #ff0055 !important;
  box-shadow: 0 0 15px rgba(255, 0, 85, 0.3) !important;
}

/* Mode Toggle Menu */
.mode-toggle {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.5rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.nav-btn {
    background: transparent;
    border: none;
    color: var(--text-dim);
    padding: 0.8rem 2.5rem;
    border-radius: 100px; /* Pill shape like the image */
    display: flex;
    flex-direction: row; /* Horizontal layout for icon and text */
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 160px;
    font-family: inherit;
    position: relative;
    z-index: 1;
}

#nav-encrypt.active {
    background: var(--primary-color);
    box-shadow: 
        0 0 30px var(--primary-glow), 
        0 0 60px rgba(0, 255, 65, 0.4),
        inset 0 0 10px rgba(255, 255, 255, 0.2);
}

#nav-decrypt.active {
    background: var(--accent-color);
    box-shadow: 
        0 0 30px var(--accent-glow), 
        0 0 60px rgba(0, 210, 255, 0.4),
        inset 0 0 10px rgba(255, 255, 255, 0.2);
}

.nav-btn.active .nav-icon {
    /* Remove filter to keep natural emoji colors */
    filter: none; 
}

.nav-btn.active .nav-text {
    color: #000; /* High contrast black text against the glowing pill */
    font-weight: 700;
}

.nav-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
}

.nav-icon {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.nav-btn:hover .nav-icon {
    transform: scale(1.1);
}

.nav-text {
    text-transform: capitalize; /* "Encrypt" instead of uppercase */
    font-size: 1rem;
    letter-spacing: 0.5px;
}

/* Panes & Content */
.content-wrapper {
  position: relative;
  min-height: 400px;
}

.pane {
  display: none;
  background: var(--pane-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  animation: fadeIn 0.4s ease-out;
}

.pane.active {
  display: block;
}

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

.pane-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.pane-header h2 {
  font-weight: 400;
  letter-spacing: 1px;
}

/* Forms & Inputs */
.input-group {
  margin-bottom: 1.5rem;
}

.input-group label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 1rem 5rem 1rem 1.25rem; /* Increased right padding for clear and toggle buttons */
  border-radius: 12px;
  color: #fff;
  font-family: "Fira Code", monospace;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.input-wrapper,
.select-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.views-hybrid-input {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}

.custom-select {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
}

.custom-num-input {
  width: 100px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--primary-color);
  padding: 1rem 0.75rem;
  border-radius: 12px;
  color: #fff;
  font-family: 'Fira Code', monospace;
  font-size: 1rem;
  text-align: center;
  box-shadow: 0 0 10px var(--primary-glow);
  outline: none;
}

.custom-select:focus, .custom-num-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 15px var(--primary-glow);
}

.custom-select option {
  background: #1a1a1a;
  color: #fff;
}

.toggle-pass-btn {
  position: absolute;
  right: 3rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
  opacity: 0.6;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  z-index: 5;
}

.toggle-pass-btn:hover {
  opacity: 1;
  color: var(--accent-color);
  text-shadow: 0 0 8px var(--accent-glow);
}

.toggle-pass-btn.active {
    color: var(--primary-color);
    text-shadow: 0 0 8px var(--primary-glow);
}

.clear-btn {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  line-height: 1;
  z-index: 5;
}

.file-drop-zone .clear-btn {
  top: 1.5rem;
  transform: none;
}

.clear-btn.visible {
  opacity: 0.6;
  pointer-events: auto;
}

.clear-btn:hover {
  opacity: 1;
  color: #ff0055;
  text-shadow: 0 0 8px rgba(255, 0, 85, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.file-drop-zone .clear-btn:hover {
    transform: scale(1.1);
}

.paste-btn {
  position: absolute;
  right: 1rem;
  top: 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  opacity: 0.6;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  line-height: 1;
  z-index: 5;
}

.paste-btn:hover {
  opacity: 1;
  color: var(--primary-color);
  text-shadow: 0 0 8px var(--primary-glow);
  transform: scale(1.1);
}

.paste-btn.hidden {
  opacity: 0;
  pointer-events: none;
}

/* File Drop Zone */
.file-drop-zone {
  position: relative;
  border: 2px dashed var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.file-drop-zone:hover {
  border-color: var(--accent-color);
  background: rgba(0, 210, 255, 0.05);
}

.preview-overlay {
    position: absolute;
    inset: 5px;
    border-radius: 12px;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    overflow: hidden;
}

.preview-overlay img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.preview-btn {
  position: absolute;
  right: 1rem;
  bottom: 0.8rem;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.2s ease;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  z-index: 10;
}

.preview-btn.visible {
  opacity: 0.6;
  pointer-events: auto;
}

.preview-btn:hover {
  opacity: 1;
  color: var(--primary-color);
  text-shadow: 0 0 8px var(--primary-glow);
  transform: scale(1.1);
}

.preview-btn.active {
    color: var(--accent-color);
    text-shadow: 0 0 8px var(--accent-glow);
}

#image-picker {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.drop-zone-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.upload-icon {
  font-size: 2rem;
}

/* Buttons */
.primary-btn,
.secondary-btn {
  width: 100%;
  padding: 1.25rem;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  margin-top: 1rem;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.primary-btn {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 4px 15px var(--primary-glow);
    position: relative;
    overflow: hidden;
}

.primary-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: 0.5s;
}

.primary-btn:hover::after {
    left: 100%;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--primary-glow);
    background: #00ff60;
}

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

.secondary-btn {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.secondary-btn:hover {
    background: var(--accent-color);
    color: #000;
    box-shadow: 0 0 25px var(--accent-glow);
    transform: scale(1.02);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 65, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 255, 65, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 65, 0); }
}

.primary-btn.processing {
    animation: pulse 1.5s infinite;
    pointer-events: none;
    opacity: 0.8;
}

.primary-btn:active, .secondary-btn:active, .save-btn:active {
    transform: translateY(1px) scale(0.98);
}

.save-btn {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-family: 'Fira Code', monospace;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 1.5rem auto 0;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.1);
}

.save-btn:hover {
    background: var(--accent-color);
    color: #000;
    box-shadow: 0 0 20px var(--accent-glow);
    transform: scale(1.05);
}

/* Output Display */
.output-area,
.display-area {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

.emoji-result-container {
  display: flex;
  gap: 1rem;
  margin: 1rem 0;
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.button-group.horizontal {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    width: 100%;
}

.button-group.horizontal button {
    margin: 0;
    flex: 1;
    max-width: 200px;
}

.emoji-key {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 8px;
  font-size: 1.25rem;
  word-break: break-all;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.icon-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.status-msg {
  font-size: 0.8rem;
  color: #ffaa00;
  text-align: center;
  font-family: 'Fira Code', monospace;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 1rem;
  text-shadow: 0 0 5px rgba(255, 170, 0, 0.4);
  animation: flicker 4s infinite;
}

@keyframes flicker {
  0%, 19.999%, 22%, 62.999%, 64%, 64.999%, 70%, 100% {
    opacity: 0.99;
    text-shadow: 0 0 5px rgba(255, 170, 0, 0.4);
  }
  20%, 21.999%, 63%, 63.999%, 65%, 69.999% {
    opacity: 0.4;
    text-shadow: none;
  }
}

.image-preview-container {
  margin: 1.5rem 0;
}

.image-preview-container img {
  max-width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 210, 255, 0.1);
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.image-preview-container img:hover {
  transform: scale(1.02);
}

.delete-btn {
    border-color: #ff0055;
    color: #ff0055;
}

.delete-btn:hover {
    background: #ff0055 !important;
    color: #000;
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.4);
}

.hidden {
  display: none !important;
}

/* Privacy Guide Section */
.privacy-guide {
    margin-top: 5rem;
    padding: 3rem;
    background: rgba(15, 15, 15, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    backdrop-filter: blur(25px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
}

.privacy-guide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.guide-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.guide-icon {
    font-size: 2.5rem;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.privacy-guide:hover .guide-icon {
    transform: rotate(15deg) scale(1.2);
}

.guide-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

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

.guide-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.5rem;
    border-radius: 24px;
    transition: all 0.4s ease;
}

.guide-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.guide-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    color: var(--accent-color);
    font-weight: 600;
}

.guide-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-dim);
}

.technical-details {
    background: rgba(0, 0, 0, 0.2);
    padding: 2.5rem;
    border-radius: 20px;
    margin-bottom: 4rem;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.technical-details h3 {
    font-family: 'Fira Code', monospace;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.detail-item {
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.detail-item::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-family: 'Fira Code', monospace;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.step {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-num {
    font-family: 'Fira Code', monospace;
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    line-height: 0.8;
    user-select: none;
}

.step-content h4 {
    margin-bottom: 0.75rem;
    color: #fff;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .guide-grid {
        grid-template-columns: 1fr;
    }
    .process-steps {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .privacy-guide {
        padding: 2.5rem 1.5rem;
        border-radius: 24px;
    }
    .guide-header h2 {
        font-size: 1.5rem;
    }
    .guide-card {
        padding: 2rem;
    }
}

@media (max-width: 600px) {
    .app-container {
        padding: 1rem;
    }
    .glitch-text {
        font-size: 2rem;
    }
    .nav-btn {
        min-width: 100px;
        padding: 0.75rem 1rem;
    }
    .notification-container {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
    }
    .toast {
        min-width: auto;
    }
    .guide-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}


/* Footer */
.app-footer {
  margin-top: 3rem;
  text-align: center;
  font-family: "Fira Code", monospace;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.status-online {
  color: var(--primary-color);
}

/* Loading Overlay */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(0, 255, 65, 0.1);
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1.5rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Notifications */
.notification-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  border-left: 4px solid var(--primary-color);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  color: #fff;
  font-family: 'Fira Code', monospace;
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideIn 0.3s ease-out;
  pointer-events: auto;
  min-width: 300px;
}

.toast.error {
  border-left-color: #ff0055;
}

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

.toast.info {
  border-left-color: var(--accent-color);
}

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

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

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