/* ============================================================
   SIMULADOR DE AHORRO E INTERÉS COMPUESTO - FIJATE TOOLS
   CSS Moderno, Responsive & Optimizado
   ============================================================ */

:root {
  --bg-main: #0b0f19;
  --bg-surface: #111827;
  --bg-card: #1f2937;
  --bg-card-hover: #263345;
  --bg-input: #0f172a;
  --border-color: #374151;
  --border-focus: #10b981;
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;

  --accent-emerald: #10b981;
  --accent-emerald-light: #34d399;
  --accent-emerald-dark: #059669;
  --accent-emerald-glow: rgba(16, 185, 129, 0.28);

  --accent-blue: #3b82f6;
  --accent-blue-light: #60a5fa;

  --accent-purple: #8b5cf6;
  --accent-amber: #f59e0b;
  --accent-danger: #ef4444;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 24px rgba(16, 185, 129, 0.35);

  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-title: 'Outfit', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================================
   CABECERA (.app-header)
   ============================================================ */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  height: 64px;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-back-tools {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.2s ease;
}

.btn-back-tools:hover {
  color: var(--text-main);
  border-color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.08);
}

.brand-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo-box {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.3), rgba(59, 130, 246, 0.35));
  border: 1px solid rgba(16, 185, 129, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-emerald-light);
}

.brand-text {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.brand-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-header-action {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-header-action:hover {
  color: var(--text-main);
  border-color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.08);
}

.history-count-badge {
  display: inline-block;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--accent-emerald);
  color: #fff;
  border-radius: 9999px;
  padding: 0 4px;
}

/* ============================================================
   CONTENEDOR PRINCIPAL (.app-main-container)
   ============================================================ */
.app-main-container {
  flex: 1;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Barra de introducción */
.tool-intro-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 0.25rem;
}

.tool-main-heading {
  font-family: var(--font-title);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.tool-main-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  max-width: 800px;
}

.finance-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: #6ee7b7;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
}

/* Presets rápidos */
.quick-presets-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8125rem;
}

.presets-label {
  color: var(--text-dim);
  font-weight: 600;
}

.btn-preset-chip {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-preset-chip:hover {
  color: #fff;
  border-color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.12);
}

/* ============================================================
   GRID DE TRABAJO (FORMULARIO + RESULTADOS)
   ============================================================ */
.savings-workspace-grid {
  display: grid;
  grid-template-columns: 430px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.workspace-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.card-section-title {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.form-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

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

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

.field-live-val {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent-emerald-light);
}

.input-with-stepper {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.styled-number-input {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 700;
  padding: 0.65rem 0.85rem;
  outline: none;
}

.styled-number-input:focus {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.styled-range {
  width: 100%;
  accent-color: var(--accent-emerald);
  cursor: pointer;
}

.styled-select {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  outline: none;
  cursor: pointer;
}

.styled-select:focus {
  border-color: var(--accent-emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

/* ============================================================
   PANEL DE RESULTADOS
   ============================================================ */
/* Hero Card */
.savings-hero-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(59, 130, 246, 0.1));
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow: var(--shadow-glow);
}

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

.hero-tag {
  font-family: var(--font-title);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent-emerald-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn-hero-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.btn-hero-copy:hover {
  background: rgba(16, 185, 129, 0.3);
  border-color: var(--accent-emerald);
}

.hero-big-number-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.hero-money-number {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

/* Barra de desglose */
.capital-breakdown-track {
  width: 100%;
  height: 12px;
  background: #0f172a;
  border-radius: 9999px;
  overflow: hidden;
  display: flex;
}

.breakdown-bar-principal {
  height: 100%;
  background: var(--accent-blue);
  transition: width 0.3s ease;
}

.breakdown-bar-interest {
  height: 100%;
  background: var(--accent-emerald);
  transition: width 0.3s ease;
}

.hero-breakdown-badges {
  display: grid;
  grid-template-columns: 1.3fr 1.3fr 0.8fr;
  gap: 0.75rem;
}

.badge-item {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-color);
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.dot-indicator {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  display: inline-block;
  margin-right: 0.35rem;
}

.dot-principal { background: var(--accent-blue); }
.dot-interest { background: var(--accent-emerald); }

.badge-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 600;
  display: flex;
  align-items: center;
}

.badge-val {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

/* Comparativa VS Cash */
.savings-vs-cash-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.vs-header {
  font-family: var(--font-title);
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
}

.vs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.vs-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.vs-box-label {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 600;
}

.vs-box-val {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.vs-gain .vs-box-val {
  color: var(--accent-emerald-light);
}

.vs-box-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ============================================================
   GRÁFICO CANVAS
   ============================================================ */
.chart-container-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

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

.chart-title {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.chart-legend-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

.chart-canvas-wrapper {
  width: 100%;
  height: 260px;
  position: relative;
}

#savings-evolution-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* ============================================================
   TABLA ANUAL DETALLADA
   ============================================================ */
.schedule-table-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

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

.table-card-title {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.btn-export-csv {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-export-csv:hover {
  border-color: var(--accent-emerald);
  color: #fff;
}

.table-responsive-wrapper {
  max-height: 320px;
  overflow-y: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}

.styled-savings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  text-align: right;
}

.styled-savings-table th,
.styled-savings-table td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.styled-savings-table th {
  background: var(--bg-input);
  color: var(--text-muted);
  font-family: var(--font-title);
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 10;
}

.styled-savings-table th:first-child,
.styled-savings-table td:first-child {
  text-align: center;
}

.styled-savings-table td {
  font-family: var(--font-mono);
  color: var(--text-main);
}

.styled-savings-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* ============================================================
   SECCIÓN EDUCATIVA Y FAQ
   ============================================================ */
.tool-content-info {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.info-columns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.info-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.info-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-card-title {
  font-family: var(--font-title);
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
}

.info-card-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* FAQ Box */
.faq-container-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.faq-main-title {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.25rem;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: var(--accent-emerald);
}

.faq-question {
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-arrow {
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-arrow {
  transform: rotate(180deg);
  color: var(--accent-emerald);
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   DRAWER HISTORIAL
   ============================================================ */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  justify-content: flex-end;
}

.drawer-panel {
  width: 400px;
  max-width: 100%;
  height: 100%;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  animation: slideInRight 0.25s ease-out;
}

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

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

.drawer-title-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-main);
}

.drawer-title-box h3 {
  font-family: var(--font-title);
  font-size: 1.125rem;
}

.btn-drawer-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
}

.btn-drawer-close:hover {
  color: #fff;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.history-item-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 0.75rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.history-item-card:hover {
  border-color: var(--accent-emerald);
}

.history-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.history-item-expr {
  font-size: 0.8125rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.history-empty-message {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-dim);
  padding: 2rem 0;
}

.drawer-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border-color);
}

.btn-drawer-danger {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: transparent;
  color: var(--accent-danger);
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 0.55rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
}

.btn-drawer-danger:hover {
  background: rgba(239, 68, 68, 0.1);
}

/* ============================================================
   MODALES CUSTOM
   ============================================================ */
.custom-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.custom-modal-dialog {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  width: 440px;
  max-width: 100%;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

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

.custom-modal-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.custom-modal-title h3 {
  font-family: var(--font-title);
  font-size: 1.125rem;
  color: #fff;
}

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

.custom-modal-body {
  padding: 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.custom-modal-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
}

.btn-modal-secondary {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
}

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

.btn-modal-danger {
  background: var(--accent-danger);
  border: none;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.btn-modal-danger:hover {
  background: #dc2626;
}

/* ============================================================
   TOAST FLOTANTE
   ============================================================ */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  background: #10b981;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notification.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ============================================================ */
@media (max-width: 1024px) {
  .savings-workspace-grid {
    grid-template-columns: 1fr;
  }
  
  .info-columns-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .btn-text-desktop {
    display: none;
  }
  
  .tool-main-heading {
    font-size: 1.35rem;
  }

  .hero-breakdown-badges {
    grid-template-columns: 1fr;
  }

  .vs-grid {
    grid-template-columns: 1fr;
  }
}
