/* ==========================================================================
   POWER BI CARD DESIGNER - INTEF BRANDED CSS STYLESHEET
   ========================================================================== */

:root {
  /* INTEF Brand Palette */
  --intef-navy: #031F4A;
  --intef-navy-dark: #00081f;
  --intef-navy-container: #072a60;
  --intef-gold: #FFC710;
  --intef-gold-hover: #f5bf00;
  --intef-gold-light: #fffbeb;
  
  /* System Tokens */
  --primary: #031F4A;
  --primary-hover: #072a60;
  --bg-app: #f7f9fc;
  --bg-panel: #ffffff;
  --bg-stage: #435a7b;
  --border-color: #c5cbd5;
  --border-subtle: #e6e8eb;
  --text-main: #191c1e;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --accent-green: #10b981;
  --accent-red: #ef4444;
  
  /* Fonts */
  --font-family: 'Hanken Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-code: 'JetBrains Mono', monospace;
}

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

html, body {
  width: 100%;
  height: 100vh;
  background-color: var(--bg-app);
  color: var(--text-main);
  font-family: var(--font-family);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   APP HEADER (INTEF DEEP NAVY & GOLD)
   ========================================================================== */
.app-header {
  background-color: var(--intef-navy);
  border-bottom: 3px solid var(--intef-gold);
  padding: 8px 20px;
  position: relative;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(3, 31, 74, 0.25);
  height: 54px;
}

.header-content {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

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

.logo-container {
  width: 36px;
  height: 36px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-titles h1 {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* INTEF Dedicated Header Block */
.header-promo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  padding-left: 14px;
}

.promo-brand {
  color: var(--intef-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.1px;
}

.promo-desc {
  color: #b0c6fb;
  font-size: 11px;
  font-weight: 400;
}

.promo-desc strong {
  color: #ffffff;
}

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

.btn-youtube {
  background-color: var(--intef-gold);
  color: #251a00;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(255, 199, 16, 0.3);
}

.btn-youtube:hover {
  background-color: var(--intef-gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 199, 16, 0.45);
}

.btn-theme-toggle {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--intef-gold);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-theme-toggle:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: var(--intef-gold);
  transform: scale(1.05);
}

.btn-github {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}

.btn-github:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--intef-gold);
  border-color: var(--intef-gold);
}

/* ==========================================================================
   DARK THEME APP OVERRIDES (.dark-theme)
   ========================================================================== */
body.dark-theme {
  --bg-app: #0b1329;
  --bg-panel: #0f172a;
  --border-color: #1e293b;
  --border-subtle: #1e293b;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
}

body.dark-theme .config-section {
  background-color: #1e293b;
  border-color: #334155;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

body.dark-theme .section-title {
  color: #ffffff;
  border-bottom-color: #334155;
}

body.dark-theme .section-title .icon {
  color: var(--intef-gold);
}

body.dark-theme .form-group label {
  color: #e2e8f0;
}

body.dark-theme .form-group input[type="text"],
body.dark-theme .form-select {
  background-color: #0f172a;
  border-color: #334155;
  color: #f8fafc;
}

body.dark-theme .form-group input[type="text"]:focus,
body.dark-theme .form-select:focus {
  border-color: var(--intef-gold);
  background-color: #0f172a;
}

body.dark-theme .segmented-control {
  background-color: #0f172a;
  border-color: #334155;
}

body.dark-theme .segment-btn {
  color: #94a3b8;
}

body.dark-theme .segment-btn.active {
  background-color: var(--intef-gold);
  color: #251a00;
}

body.dark-theme .icon-opt {
  background-color: #0f172a;
  border-color: #334155;
  color: #94a3b8;
}

body.dark-theme .icon-opt:hover {
  border-color: var(--intef-gold);
  color: #ffffff;
}

body.dark-theme .icon-opt.active {
  border-color: var(--intef-gold);
  background-color: rgba(255, 199, 16, 0.15);
  color: var(--intef-gold);
}

body.dark-theme .theme-btn {
  background-color: #0f172a;
  border-color: #334155;
  color: #94a3b8;
}

body.dark-theme .theme-btn:hover {
  border-color: var(--intef-gold);
  color: #ffffff;
}

body.dark-theme .theme-btn.active {
  border-color: var(--intef-gold);
  background-color: rgba(255, 199, 16, 0.15);
  color: #ffffff;
}

body.dark-theme .color-input-wrapper {
  background-color: #0f172a;
  border-color: #334155;
}

body.dark-theme .color-val-hex {
  color: #ffffff;
}

body.dark-theme .color-val-hex:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #334155;
}

body.dark-theme .color-val-hex:focus {
  background-color: #0b1329;
  color: #ffffff;
  border-color: var(--intef-gold);
  box-shadow: 0 0 0 2px rgba(255, 199, 16, 0.3);
}

body.dark-theme .preview-card-container {
  background-color: #0f172a;
  border-color: #1e293b;
}

body.dark-theme .preview-badge {
  background-color: rgba(255, 199, 16, 0.15);
  color: var(--intef-gold);
  border-color: rgba(255, 199, 16, 0.3);
}

/* ==========================================================================
   APP CONTAINER & LAYOUT (EXACT 100VH FIT WITH FOOTER)
   ========================================================================== */
.app-container {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 370px 1fr;
  height: calc(100vh - 80px);
  max-height: calc(100vh - 80px);
  overflow: hidden;
}

@media (max-width: 1024px) {
  .app-container {
    grid-template-columns: 1fr;
    overflow-y: auto;
    height: auto;
  }
}

/* ==========================================================================
   APP FOOTER (INTEF BRANDED)
   ========================================================================== */
.app-footer {
  background-color: var(--intef-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  height: 26px;
  display: flex;
  align-items: center;
  z-index: 1000;
  position: relative;
}

.footer-content {
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-code);
  font-size: 10.5px;
  color: #b0c6fb;
}

.footer-tag {
  color: var(--intef-gold);
  font-weight: 700;
}

/* ==========================================================================
   LEFT CONTROLS PANEL (COMPACT FULLY VISIBLE)
   ========================================================================== */
.control-panel {
  background-color: var(--bg-panel);
  border-right: 1px solid var(--border-color);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  max-height: 100%;
}

.config-section {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.config-section:hover {
  border-color: #b0c6fb;
  box-shadow: 0 3px 12px rgba(3, 31, 74, 0.05);
}

.section-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--intef-navy);
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 4px;
}

.section-title .icon {
  font-size: 16px;
  color: var(--intef-navy);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

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

.form-group label {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.form-group input[type="text"],
.form-select {
  background-color: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 4px 6px;
  color: var(--text-main);
  font-size: 11.5px;
  font-family: var(--font-family);
  outline: none;
  transition: all 0.2s ease;
}

.form-group input[type="text"]:focus,
.form-select:focus {
  border-color: var(--intef-gold);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 199, 16, 0.25);
}

.form-group small {
  font-size: 11px;
  color: var(--text-muted);
}

/* Theme Selector Buttons */
.theme-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.theme-btn {
  background-color: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 8px 4px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.theme-btn:hover {
  border-color: var(--intef-navy);
  color: var(--intef-navy);
  background-color: #ffffff;
}

.theme-btn.active {
  border-color: var(--intef-navy);
  background-color: var(--intef-navy);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(3, 31, 74, 0.2);
}

.theme-preview {
  width: 22px;
  height: 14px;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.theme-preview.light { background-color: #ffffff; }
.theme-preview.dark { background-color: #0f172a; }
.theme-preview.glass { background: linear-gradient(135deg, rgba(255,255,255,0.8), rgba(255,255,255,0.3)); }
.theme-preview.custom { background-color: #312e81; }

/* Segmented Control (SVG / Emoji) */
.segmented-control {
  display: flex;
  background-color: #f1f5f9;
  padding: 3px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.segment-btn {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 6px;
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.segment-btn.active {
  background-color: var(--intef-navy);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(3, 31, 74, 0.15);
}

/* Icon Grid Options */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}

.icon-opt {
  background-color: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 8px;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.icon-opt:hover {
  border-color: var(--intef-navy);
  color: var(--intef-navy);
  background-color: #ffffff;
}

.icon-opt.active {
  border-color: var(--intef-navy);
  background-color: rgba(3, 31, 74, 0.1);
  color: var(--intef-navy);
}

/* Color Pickers Grid */
.color-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.color-picker-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.color-picker-item label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-main);
  text-transform: none;
}

.color-input-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: #f8fafc;
  padding: 3px 6px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.color-input-wrapper input[type="color"] {
  -webkit-appearance: none;
  border: none;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  cursor: pointer;
  background: none;
}

.color-input-wrapper input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}

.color-input-wrapper input[type="color"]::-webkit-color-swatch {
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}

/* Editable HEX Input */
.color-val-hex {
  font-family: var(--font-code);
  font-size: 11px;
  font-weight: 600;
  color: var(--intef-navy);
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  width: 65px;
  padding: 2px 4px;
  text-transform: uppercase;
  outline: none;
  transition: all 0.15s ease;
}

.color-val-hex:hover {
  border-color: var(--border-color);
  background-color: #ffffff;
}

.color-val-hex:focus {
  border-color: var(--intef-gold);
  background-color: #ffffff;
  color: var(--intef-navy);
  box-shadow: 0 0 0 2px rgba(255, 199, 16, 0.3);
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   RIGHT WORKSPACE (PREVIEW + DAX COMPACT FLEX)
   ========================================================================== */
.workspace {
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
}

.preview-card-container {
  background-color: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  flex-shrink: 0;
}

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

.preview-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.preview-badge {
  background-color: rgba(3, 31, 74, 0.08);
  color: var(--intef-navy);
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  border: 1px solid rgba(3, 31, 74, 0.15);
}

.preview-hint {
  font-size: 11px;
  color: var(--text-muted);
}

.preview-stage {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px 10px;
  background-color: var(--bg-stage);
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  min-height: 250px;
}

.stage-background {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ==========================================================================
   DYNAMIC CARD STYLES & THEMES (PRESERVED DIMENSIONS)
   ========================================================================== */
.sales-card {
  width: 320px;
  height: 250px;
  min-width: 200px;
  min-height: 180px;
  border-radius: 16px;
  padding: 14px 16px 12px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  resize: both;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Theme Light */
.sales-card.theme-light {
  background-color: #ffffff;
  border: 1px solid #eaeaea;
  color: #1f2937;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.sales-card.theme-light .card-title { color: #111827; }
.sales-card.theme-light .price-value { color: #111827; }
.sales-card.theme-light .update-time { color: #9ca3af; }
.sales-card.theme-light .chart-label { color: #9ca3af; }
.sales-card.theme-light .x-axis { color: #9ca3af; }

/* Theme Dark */
.sales-card.theme-dark {
  background-color: #0f172a;
  border: 1px solid #1e293b;
  color: #f8fafc;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
}

.sales-card.theme-dark .card-title { color: #ffffff; }
.sales-card.theme-dark .price-value { color: #ffffff; }
.sales-card.theme-dark .update-time { color: #64748b; }
.sales-card.theme-dark .chart-label { color: #64748b; }
.sales-card.theme-dark .x-axis { color: #64748b; }

/* Theme Glass */
.sales-card.theme-glass {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.sales-card.theme-glass .card-title { color: #ffffff; }
.sales-card.theme-glass .price-value { color: #ffffff; }
.sales-card.theme-glass .update-time { color: rgba(255, 255, 255, 0.8); }
.sales-card.theme-glass .chart-label { color: rgba(255, 255, 255, 0.8); }
.sales-card.theme-glass .x-axis { color: rgba(255, 255, 255, 0.8); }

/* Theme Custom */
.sales-card.theme-custom {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Resize Handle Bottom-Right */
.resize-handle-br {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 16px;
  height: 16px;
  cursor: nwse-resize;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.resize-handle-br:hover {
  opacity: 1;
}

.resize-handle-br::before {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid #9ca3af;
  border-bottom: 2px solid #9ca3af;
}

/* Card Header: Left Icon, Centered Title */
.card-header {
  display: flex;
  align-items: center;
  position: relative;
  margin-bottom: 2px;
  min-height: 36px;
}

.icon-container {
  width: clamp(32px, 8vw, 38px);
  height: clamp(32px, 8vw, 38px);
  background: linear-gradient(135deg, rgba(3, 31, 74, 0.08) 0%, rgba(3, 31, 74, 0.2) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 2;
}

.sales-icon {
  width: 20px;
  height: 20px;
}

.emoji-icon {
  font-size: 18px;
  line-height: 1;
}

.title-area {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.card-title {
  font-size: clamp(14px, 3.8vw, 17px);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 40px;
}

.price-value {
  font-size: clamp(24px, 7.5vw, 32px);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin: 2px 0;
  text-align: left;
}

.meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

/* Minimalist Dot Capsule Badge */
.change-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: clamp(9.5px, 2.6vw, 11px);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  letter-spacing: -0.1px;
}

.badge-dot {
  width: 5px;
  height: 5px;
  background-color: #10b981;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.update-time {
  font-size: clamp(9.5px, 2.4vw, 10.5px);
  font-weight: 400;
}

.chart-label {
  font-size: clamp(9.5px, 2.5vw, 11px);
  font-weight: 500;
  margin-bottom: 2px;
}

.chart-container {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0;
}

.chart-svg {
  width: 100%;
  height: 100%;
  max-height: 80px;
  display: block;
  overflow: visible;
}

.x-axis {
  display: flex;
  justify-content: space-between;
  padding: 0 5%;
  margin-top: 2px;
  font-size: clamp(8.5px, 2.2vw, 10px);
  font-weight: 400;
}

/* ==========================================================================
   DAX CODE BOX (INTEF DEEP NAVY CON BOTÓN DORADO)
   ========================================================================== */
.dax-code-box {
  background-color: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.dax-header {
  background-color: var(--intef-navy);
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--intef-gold);
  flex-shrink: 0;
}

.dax-title {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dax-title .material-symbols-outlined {
  color: var(--intef-gold);
  font-size: 18px;
}

.btn-copy-dax {
  background-color: var(--intef-gold);
  color: #251a00;
  border: none;
  font-size: 11.5px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  box-shadow: 0 3px 10px rgba(255, 199, 16, 0.35);
}

.btn-copy-dax:hover {
  background-color: var(--intef-gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(255, 199, 16, 0.45);
}

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

.dax-content {
  padding: 12px 14px;
  background-color: #00081f;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.dax-content pre {
  font-family: var(--font-code);
  font-size: 11.5px;
  line-height: 1.45;
  color: #7288b8;
  white-space: pre-wrap;
  word-break: break-all;
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: var(--intef-navy);
  color: var(--intef-gold);
  border: 1px solid var(--intef-gold);
  font-size: 13px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(3, 31, 74, 0.35);
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
  z-index: 2000;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}
