/* DatIA Luxury Fintech Design System · Institutional Financial Architecture */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  color-scheme: light dark;
  /* Luminous Modern Slate/Navy Palette (Crisp & High Contrast) */
  --fintech-bg: #0b1329;
  --fintech-bg-mesh: radial-gradient(at 15% 15%, rgba(16, 185, 129, 0.16) 0px, transparent 48%),
                     radial-gradient(at 85% 15%, rgba(6, 182, 212, 0.16) 0px, transparent 48%),
                     radial-gradient(at 50% 90%, rgba(99, 102, 241, 0.12) 0px, transparent 55%),
                     #0b1329;
  --fintech-surface: #121e3a;
  --fintech-surface-card: rgba(18, 30, 58, 0.88);
  --fintech-surface-glass: rgba(255, 255, 255, 0.05);
  --fintech-elevated: #1a2a4e;
  --fintech-border: rgba(255, 255, 255, 0.12);
  --fintech-border-focus: #10b981;
  --fintech-emerald: #10b981;
  --fintech-emerald-bright: #34d399;
  --fintech-emerald-glow: rgba(16, 185, 129, 0.3);
  --fintech-cyan: #06b6d4;
  --fintech-cyan-glow: rgba(6, 182, 212, 0.3);
  --fintech-indigo: #6366f1;
  --fintech-amber: #f59e0b;
  --fintech-rose: #f43f5e;
  --fintech-text: #ffffff;
  --fintech-text-secondary: #cbd5e1;
  --fintech-text-muted: #94a3b8;
  --fintech-input-bg: rgba(11, 19, 41, 0.85);
  --fintech-font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --fintech-font-mono: 'Space Grotesk', ui-monospace, SFMono-Regular, monospace;
}

:root:has(> head > meta[name="color-scheme"][content="dark"]) {
  color-scheme: dark;
}

:root:has(> head > meta[name="color-scheme"][content="light"]) {
  color-scheme: light;
}

/* Luminous Executive Light Theme */
body.executive-light,
body.theme-light {
  --fintech-bg: #f8fafc;
  --fintech-bg-mesh: radial-gradient(at 15% 15%, rgba(16, 185, 129, 0.08) 0px, transparent 45%),
                     radial-gradient(at 85% 15%, rgba(6, 182, 212, 0.08) 0px, transparent 45%),
                     #f8fafc;
  --fintech-surface: #ffffff;
  --fintech-surface-card: #ffffff;
  --fintech-surface-glass: rgba(241, 245, 249, 0.8);
  --fintech-elevated: #f1f5f9;
  --fintech-border: #e2e8f0;
  --fintech-border-focus: #059669;
  --fintech-text: #0f172a;
  --fintech-text-secondary: #334155;
  --fintech-text-muted: #64748b;
  --fintech-input-bg: #ffffff;
  background: var(--fintech-bg-mesh) !important;
  color: var(--fintech-text) !important;
}

body.executive-light .luxury-card,
body.theme-light .luxury-card {
  background: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 10px 15px -3px rgba(0, 0, 0, 0.04) !important;
  color: #0f172a !important;
}

body.executive-light .text-white,
body.theme-light .text-white {
  color: #0f172a !important;
}

body.executive-light .text-secondary,
body.theme-light .text-secondary {
  color: #475569 !important;
}

body.executive-light .luxury-input,
body.theme-light .luxury-input,
body.executive-light .luxury-select,
body.theme-light .luxury-select {
  background-color: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

body.executive-light .luxury-select option,
body.theme-light .luxury-select option {
  background-color: #ffffff !important;
  color: #0f172a !important;
}

body.luxury-fintech-theme {
  background: var(--fintech-bg-mesh);
  background-attachment: fixed;
  color: var(--fintech-text);
  font-family: var(--fintech-font-sans);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* Glassmorphism Luxury Cards */
.luxury-card {
  background: var(--fintech-surface-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--fintech-border);
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.luxury-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6), 0 0 25px -5px var(--fintech-emerald-glow);
}

.luxury-card-glow-emerald {
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 25px -5px var(--fintech-emerald-glow);
}

.luxury-card-glow-cyan {
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 25px -5px var(--fintech-cyan-glow);
}

/* Inputs & Form Controls */
.luxury-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--fintech-text-muted);
  margin-bottom: 0.5rem;
}

.luxury-input-group {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 1.25rem;
}

.luxury-input-icon {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 1.05rem;
  pointer-events: none;
  transition: color 0.2s ease;
  z-index: 2;
}

.luxury-input {
  width: 100%;
  background: var(--fintech-input-bg, rgba(14, 22, 44, 0.85));
  border: 1px solid var(--fintech-border, rgba(255, 255, 255, 0.15));
  border-radius: 0.75rem;
  padding: 0.85rem 1rem 0.85rem 2.85rem;
  color: var(--fintech-text, #ffffff);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.25s ease;
  outline: none;
  font-family: var(--fintech-font-sans);
}

.luxury-input-noicon {
  padding-left: 1rem !important;
}

.luxury-input:focus {
  border-color: var(--fintech-emerald);
  background: rgba(18, 30, 58, 0.95);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25), 0 0 20px rgba(16, 185, 129, 0.1);
  color: var(--fintech-text, #ffffff);
}

.luxury-input-group:focus-within .luxury-input-icon {
  color: var(--fintech-emerald);
}

/* Modern Accessible Validity States (Compliant with Modern Web Guidance) */
.luxury-input:not(input[type="range"]):user-invalid {
  border-color: #f43f5e;
  box-shadow: 0 0 0 2px rgba(244, 63, 94, 0.2);
}

.luxury-input:not(input[type="range"]):user-valid {
  border-color: #10b981;
}

.luxury-select {
  width: 100%;
  background: var(--fintech-input-bg, rgba(14, 22, 44, 0.85)) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2394a3b8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") no-repeat right 1rem center/14px 10px;
  border: 1px solid var(--fintech-border, rgba(255, 255, 255, 0.15));
  border-radius: 0.75rem;
  padding: 0.85rem 2.5rem 0.85rem 2.85rem;
  color: var(--fintech-text, #ffffff);
  font-size: 0.95rem;
  font-weight: 500;
  appearance: none;
  -webkit-appearance: none;
  transition: all 0.25s ease;
  outline: none;
  font-family: var(--fintech-font-sans);
}

.luxury-select:focus {
  border-color: var(--fintech-cyan);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.25);
  background-color: rgba(18, 30, 58, 0.95);
}

.luxury-select option {
  background-color: #121e3a;
  color: #ffffff;
  padding: 0.5rem;
}

/* Form Automation Preset Pills */
.form-preset-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.preset-pill-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--fintech-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-right: 0.25rem;
}

.preset-pill-btn {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
}

.preset-pill-btn:hover {
  background: rgba(16, 185, 129, 0.25);
  border-color: #10b981;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Ratio KPI Metric Cards for Underwriting & Analysis */
.ratio-kpi-card {
  background: rgba(14, 23, 47, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.85rem;
  padding: 1rem;
  text-align: center;
  transition: all 0.25s ease;
  backdrop-filter: blur(10px);
}

.ratio-kpi-card:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

body.executive-light .ratio-kpi-card,
body.theme-light .ratio-kpi-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

body.executive-light .ratio-kpi-card:hover,
body.theme-light .ratio-kpi-card:hover {
  border-color: #10b981;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.12);
}

/* Institutional Trust & Technology Architecture Bar */
.trust-logos-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 2rem;
  padding: 1.25rem;
  background: rgba(18, 30, 58, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(12px);
}

.trust-logo-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.trust-logo-item:hover {
  color: #ffffff;
}

.trust-logo-icon {
  font-size: 1.25rem;
  color: #38bdf8;
}

/* Radio & Toggle Pills */
.luxury-pill-select {
  display: flex;
  gap: 0.5rem;
  background: rgba(10, 16, 30, 0.6);
  padding: 0.35rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.luxury-pill-btn {
  flex: 1;
  text-align: center;
  padding: 0.6rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--fintech-text-muted);
  border: none;
  background: transparent;
}

.luxury-pill-btn.active {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(6, 182, 212, 0.2));
  color: #ffffff;
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Luxury Buttons */
.btn-luxury-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.95rem 1.75rem;
  border-radius: 0.85rem;
  border: none;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-luxury-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: 0.5s;
}

.btn-luxury-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
  color: #ffffff;
}

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

.btn-luxury-cyan {
  background: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%);
  color: #ffffff;
  font-weight: 700;
  padding: 0.95rem 1.75rem;
  border-radius: 0.85rem;
  border: none;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-luxury-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.5);
  color: #ffffff;
}

.btn-luxury-glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--fintech-text);
  font-weight: 600;
  padding: 0.85rem 1.5rem;
  border-radius: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-luxury-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Badges & Pills */
.badge-glow-emerald {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: 0.02em;
}

.badge-glow-cyan {
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.4);
  color: #38bdf8;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.badge-glow-amber {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Pulsing Dots */
.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--fintech-emerald);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-ring 1.8s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pulse-ring {
  to {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
}

/* Financial Steppers / Guías */
.fintech-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
  gap: 0.5rem;
}

.fintech-stepper::before {
  content: '';
  position: absolute;
  top: 1.35rem;
  left: 2rem;
  right: 2rem;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  z-index: 1;
}

.stepper-node {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.stepper-circle {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--fintech-surface, #121e3a);
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--fintech-text-muted);
  transition: all 0.3s ease;
}

.stepper-node.active .stepper-circle {
  border-color: var(--fintech-emerald);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.35), rgba(6, 182, 212, 0.35));
  color: #ffffff;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

.stepper-label {
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 0.5rem;
  color: var(--fintech-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.stepper-node.active .stepper-label {
  color: #ffffff;
}

@media (max-width: 768px) {
  .fintech-stepper {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 0.5rem 0.25rem 0.75rem 0.25rem;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .fintech-stepper::before {
    display: none;
  }
  .stepper-node {
    flex: 0 0 auto;
    min-width: 95px;
    scroll-snap-align: center;
  }
  .stepper-circle {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 0.85rem;
  }
  .stepper-label {
    font-size: 0.68rem;
  }
}

/* Trust Architecture & Guarantee Cards */
.guarantee-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(6, 182, 212, 0.05) 100%);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.guarantee-box h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #34d399;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.guarantee-box p {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 0;
}

.trust-badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.trust-badge-item {
  background: rgba(14, 21, 38, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.85rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.trust-badge-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.65rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #34d399;
  font-size: 1.1rem;
}

.trust-badge-text-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
}

.trust-badge-text-desc {
  font-size: 0.72rem;
  color: var(--fintech-text-muted);
}

/* Numbers & Ticker Typography */
.fintech-mono {
  font-family: var(--fintech-font-mono);
}

.kpi-metric-hero {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  font-family: var(--fintech-font-mono);
  letter-spacing: -0.03em;
}

/* Clean Tables for Financial Statements */
.luxury-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  color: #cbd5e1;
  font-size: 0.9rem;
}

.luxury-table th {
  background: rgba(10, 16, 30, 0.8);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fintech-text-muted);
  font-weight: 700;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.luxury-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

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

/* Responsive tweaks & Mobile Navigation Engine */
@media (max-width: 768px) {
  .luxury-card {
    padding: 1.25rem;
  }
  .fintech-stepper {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .fintech-stepper::before {
    display: none;
  }
  .stepper-node {
    flex: 1 1 40%;
  }
}

/* ==========================================================================
   LUXURY FINTECH DROPDOWN MENUS (HOVER BRIDGE & BUFFERED GRACE PERIOD)
   ========================================================================== */
.navbar-nav .nav-item.dropdown {
  position: relative;
}

@media (min-width: 992px) {
  .navbar-nav .nav-item.dropdown {
    padding-bottom: 0.5rem;
    margin-bottom: -0.5rem;
  }

  .navbar-nav .nav-item.dropdown .dropdown-menu {
    position: absolute !important;
    top: calc(100% - 4px) !important;
    left: 0 !important;
    z-index: 1050 !important;
    display: block !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    pointer-events: none;
    margin-top: 0 !important;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.75), 0 0 25px rgba(16, 185, 129, 0.18) !important;
    /* Buffer de salida: espera 240ms antes de comenzar a cerrarse para permitir navegación fluida */
    transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1) 0.24s,
                transform 0.22s cubic-bezier(0.16, 1, 0.3, 1) 0.24s,
                visibility 0.22s step-end 0.46s;
  }

  /* Puente invisible anti-escape (Hover Bridge): cubre el área entre el link y el menú */
  .navbar-nav .nav-item.dropdown .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -24px;
    left: 0;
    right: 0;
    height: 24px;
    background: transparent;
    display: block;
    pointer-events: auto;
    z-index: 1;
  }

  .navbar-nav .nav-item.dropdown:hover .dropdown-menu,
  .navbar-nav .nav-item.dropdown:focus-within .dropdown-menu,
  .navbar-nav .nav-item.dropdown.show .dropdown-menu,
  .navbar-nav .nav-item.dropdown .dropdown-menu.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
    /* Apertura instantánea sin retardo */
    transition-delay: 0s !important;
  }
}

.dropdown-item {
  color: #cbd5e1;
  transition: all 0.2s ease;
  position: relative;
  z-index: 2;
}

.dropdown-item:hover, .dropdown-item:focus {
  background: rgba(16, 185, 129, 0.14) !important;
  color: #34d399 !important;
  transform: translateX(4px);
}

/* Modo Claro (.executive-light) para Dropdowns */
body.executive-light .navbar-nav .nav-item.dropdown .dropdown-menu {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.15), 0 0 25px rgba(16, 185, 129, 0.1) !important;
}

body.executive-light .dropdown-item {
  color: #334155 !important;
}

body.executive-light .dropdown-item .text-white {
  color: #0f172a !important;
}

body.executive-light .dropdown-item .text-muted {
  color: #64748b !important;
}

body.executive-light .dropdown-item:hover,
body.executive-light .dropdown-item:focus {
  background: rgba(16, 185, 129, 0.1) !important;
  color: #059669 !important;
}

/* ==========================================================================
   GRAND ANIMATED HERO SLIDER (TIER-1 LUXURY FINTECH)
   ========================================================================== */
.fintech-hero-slider {
  position: relative;
  overflow: hidden;
  border-radius: 1.75rem;
  border: 1px solid var(--fintech-border);
  min-height: 540px;
  background: #070a13;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  margin-bottom: 3.5rem;
}

.slider-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #10b981, #06b6d4);
  width: 0%;
  z-index: 20;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
}

.slider-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
  display: flex;
  align-items: center;
  z-index: 1;
}

.slider-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 7s ease-out;
  z-index: 1;
}

.slider-slide.active .slide-bg {
  transform: scale(1.08);
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(7, 10, 19, 0.96) 0%, rgba(7, 10, 19, 0.85) 55%, rgba(7, 10, 19, 0.45) 100%);
  z-index: 2;
}

@media (max-width: 768px) {
  .slide-overlay {
    background: linear-gradient(180deg, rgba(7, 10, 19, 0.85) 0%, rgba(7, 10, 19, 0.98) 85%);
  }
  .fintech-hero-slider {
    min-height: 580px;
    border-radius: 1.25rem;
  }
}

.slide-container {
  position: relative;
  z-index: 3;
  padding: 3.5rem 4rem;
  max-width: 820px;
}

@media (max-width: 768px) {
  .slide-container {
    padding: 2.25rem 1.5rem;
  }
}

.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.85rem;
  border-radius: 2rem;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
}

.slide-title {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  font-family: var(--fintech-font-sans);
}

@media (max-width: 768px) {
  .slide-title {
    font-size: 1.85rem;
  }
}

.slide-desc {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 680px;
}

@media (max-width: 768px) {
  .slide-desc {
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
  }
}

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

/* Slider Controls & Counter */
.slider-controls {
  position: absolute;
  bottom: 2rem;
  right: 3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 10;
}

@media (max-width: 768px) {
  .slider-controls {
    bottom: 1.25rem;
    right: 1.25rem;
    left: 1.25rem;
    justify-content: space-between;
  }
}

.slider-counter {
  font-family: var(--fintech-font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(14, 21, 38, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.75rem;
  border-radius: 1rem;
  backdrop-filter: blur(10px);
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(14, 21, 38, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
}

.slider-btn:hover {
  background: var(--fintech-emerald);
  border-color: var(--fintech-emerald);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

.slider-dots {
  position: absolute;
  bottom: 2.25rem;
  left: 4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 10;
}

@media (max-width: 768px) {
  .slider-dots {
    display: none;
  }
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.slider-dot.active {
  width: 32px;
  background: var(--fintech-emerald);
  box-shadow: 0 0 10px var(--fintech-emerald);
}

/* ==========================================================================
   FLAGSHIP SERVICES PHOTOGRAPHY CARDS
   ========================================================================== */
.fintech-service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--fintech-surface-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--fintech-border);
  border-radius: 1.35rem;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  text-decoration: none;
  color: inherit;
}

.fintech-service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 25px 50px -15px rgba(0, 0, 0, 0.7), 0 0 30px -5px var(--fintech-emerald-glow);
  color: inherit;
}

.service-card-media {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
  background: #070a13;
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fintech-service-card:hover .service-card-img {
  transform: scale(1.08);
}

.service-card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 10, 19, 0.15) 0%, rgba(7, 10, 19, 0.85) 100%);
}

.service-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(14, 21, 38, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #34d399;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.65rem;
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  z-index: 2;
}

.service-card-guarantee {
  position: absolute;
  bottom: 0.85rem;
  right: 1rem;
  font-size: 0.7rem;
  color: #fbbf24;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.service-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.service-card-desc {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex: 1;
}

.service-card-kpi {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.78rem;
}

/* ==========================================================================
   MOBILE NAVIGATION DRAWER & BOTTOM DOCK
   ========================================================================== */
.mobile-drawer-popover {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(7, 10, 19, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-drawer-popover.is-open {
  display: block;
  opacity: 1;
}

.mobile-drawer-sheet {
  position: absolute;
  top: 0;
  right: 0;
  width: min(88vw, 380px);
  height: 100%;
  background: #0a0f1d;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-drawer-popover.is-open .mobile-drawer-sheet {
  transform: translateX(0);
}

.drawer-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.drawer-section-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
  color: #64748b;
  margin-top: 1.25rem;
  margin-bottom: 0.75rem;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.75rem;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
  margin-bottom: 0.25rem;
}

.drawer-link:hover, .drawer-link:active {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
}

.drawer-link-badge {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 0.4rem;
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
}

.drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 21, 38, 0.5);
}

/* Floating Mobile Bottom Navigation Dock */
.mobile-bottom-dock {
  display: none;
}

@media (max-width: 768px) {
  body.luxury-fintech-theme {
    padding-bottom: 75px !important;
  }
  .mobile-bottom-dock {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(10, 15, 28, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1040;
    justify-content: space-around;
    align-items: center;
    padding: 0 0.5rem;
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.6);
  }
  .dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #94a3b8;
    font-size: 0.65rem;
    font-weight: 700;
    gap: 0.25rem;
    padding: 0.4rem 0.6rem;
    border-radius: 0.6rem;
    transition: color 0.2s ease, transform 0.2s ease;
  }
  .dock-item i {
    font-size: 1.1rem;
  }
  .dock-item.active, .dock-item:hover {
    color: #10b981;
    transform: translateY(-2px);
  }
}

/* ==========================================================================
   PRINT & OFFICIAL PDF CERTIFICATE EXPORT ENGINE
   ========================================================================== */
@media print {
  @page {
    size: letter portrait;
    margin: 1.5cm 1.2cm;
  }
  
  body, html {
    background: #ffffff !important;
    color: #0f172a !important;
    font-size: 10.5pt !important;
    line-height: 1.5 !important;
  }
  
  /* Ocultar elementos no relevantes en documento PDF */
  .navbar, 
  .mobile-drawer-popover, 
  .mobile-bottom-dock, 
  .slider-controls,
  .slider-dots,
  .btn, 
  .btn-luxury-primary, 
  .btn-luxury-outline, 
  .btn-luxury-cyan, 
  .btn-luxury-glass,
  .form-preset-pills, 
  form, 
  #mobileDrawerOpen, 
  .guarantee-box .btn, 
  .no-print,
  #agentSimForm,
  #agentTabs,
  .badge-glow-emerald i,
  .badge-glow-cyan i {
    display: none !important;
  }
  
  .luxury-card {
    background: #ffffff !important;
    border: 1px solid #94a3b8 !important;
    box-shadow: none !important;
    color: #0f172a !important;
    page-break-inside: avoid;
    break-inside: avoid;
    margin-bottom: 1.25rem !important;
    padding: 1.25rem !important;
  }
  
  .text-white {
    color: #0f172a !important;
  }
  
  .text-secondary, .text-muted {
    color: #475569 !important;
  }
  
  .text-success, .text-emerald {
    color: #059669 !important;
  }
  
  pre {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    white-space: pre-wrap !important;
  }
  
  .datia-svg-chart, .datia-svg-waterfall, .datia-svg-timeline, .datia-svg-gauge {
    filter: invert(0) !important;
  }
  
  .print-certificate-header {
    display: block !important;
    border-bottom: 2px solid #0f172a;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
  }
  .datia-context-ribbon,
  .datia-cmd-dialog,
  .datia-money-helper,
  .datia-toast-container {
    display: none !important;
  }
}

/* ==========================================================================
   INSTITUTIONAL BANKING CONTEXT RIBBON & AUTOMATED WORKFLOW BAR
   ========================================================================== */
.datia-context-ribbon {
  background: rgba(10, 16, 32, 0.92);
  border-bottom: 1px solid rgba(16, 185, 129, 0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-size: 0.78rem;
  position: relative;
  z-index: 1020;
}

body.executive-light .datia-context-ribbon,
body.theme-light .datia-context-ribbon {
  background: rgba(248, 250, 252, 0.96);
  border-bottom: 1px solid #cbd5e1;
}

.datia-breadcrumb-trail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  color: #94a3b8;
}

.datia-breadcrumb-trail a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.datia-breadcrumb-trail a:hover {
  color: #34d399;
}

body.executive-light .datia-breadcrumb-trail a,
body.theme-light .datia-breadcrumb-trail a {
  color: #334155;
}

.datia-nav-active-pill {
  background: rgba(16, 185, 129, 0.16) !important;
  border: 1px solid rgba(16, 185, 129, 0.45) !important;
  color: #34d399 !important;
  border-radius: 0.65rem;
}

.datia-cmd-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: #e2e8f0;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.38rem 0.7rem;
  border-radius: 0.65rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.datia-cmd-trigger-btn:hover {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.14);
  color: #ffffff;
}

body.executive-light .datia-cmd-trigger-btn,
body.theme-light .datia-cmd-trigger-btn {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}

.datia-kbd {
  font-family: var(--fintech-font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.1rem 0.38rem;
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #34d399;
}

body.executive-light .datia-kbd,
body.theme-light .datia-kbd {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #059669;
}

/* ==========================================================================
   UNIVERSAL BANKING COMMAND PALETTE (<dialog closedby="any">)
   Compliant with Modern Web Guidance: light-dismiss-a-dialog
   ========================================================================== */
dialog.datia-cmd-dialog {
  width: min(94vw, 720px);
  max-height: min(84vh, 660px);
  margin: 6vh auto auto auto;
  padding: 0;
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: 1.15rem;
  background: #0b1329;
  color: #ffffff;
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.85), 0 0 35px rgba(16, 185, 129, 0.22);
  overflow: hidden;
}

dialog.datia-cmd-dialog[open] {
  display: flex;
  flex-direction: column;
}

dialog.datia-cmd-dialog::backdrop {
  background-color: rgba(6, 10, 22, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

body.executive-light dialog.datia-cmd-dialog,
body.theme-light dialog.datia-cmd-dialog {
  background: #ffffff;
  color: #0f172a;
  border-color: #cbd5e1;
  box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.25);
}

.datia-cmd-header {
  padding: 0.9rem 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(18, 30, 58, 0.9);
}

body.executive-light .datia-cmd-header,
body.theme-light .datia-cmd-header {
  background: #f8fafc;
  border-bottom-color: #e2e8f0;
}

.datia-cmd-search-box {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(8, 13, 26, 0.85);
  border: 1px solid rgba(16, 185, 129, 0.45);
  border-radius: 0.75rem;
  padding: 0.55rem 0.9rem;
}

body.executive-light .datia-cmd-search-box,
body.theme-light .datia-cmd-search-box {
  background: #ffffff;
  border-color: #10b981;
}

.datia-cmd-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 500;
}

body.executive-light .datia-cmd-input,
body.theme-light .datia-cmd-input {
  color: #0f172a;
}

.datia-cmd-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.65rem;
}

.datia-cmd-filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.datia-cmd-filter-btn.active,
.datia-cmd-filter-btn:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: #10b981;
  color: #34d399;
}

body.executive-light .datia-cmd-filter-btn,
body.theme-light .datia-cmd-filter-btn {
  background: #e2e8f0;
  border-color: #cbd5e1;
  color: #475569;
}

body.executive-light .datia-cmd-filter-btn.active,
body.theme-light .datia-cmd-filter-btn.active {
  background: #10b981;
  border-color: #059669;
  color: #ffffff;
}

.datia-cmd-body {
  padding: 0.65rem 0.85rem;
  overflow-y: auto;
  flex: 1;
  max-height: 430px;
}

.datia-cmd-group-title {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #64748b;
  padding: 0.5rem 0.5rem 0.25rem 0.5rem;
}

.datia-cmd-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.6rem 0.75rem;
  border-radius: 0.7rem;
  border: 1px solid transparent;
  background: transparent;
  text-align: left;
  color: inherit;
  cursor: pointer;
  transition: all 0.15s ease;
  margin-bottom: 0.2rem;
}

.datia-cmd-item:hover,
.datia-cmd-item.is-selected {
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(16, 185, 129, 0.4);
}

.datia-cmd-icon {
  width: 36px;
  height: 36px;
  border-radius: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.datia-cmd-icon-cyan { background: rgba(6, 182, 212, 0.15); color: #22d3ee; }
.datia-cmd-icon-amber { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.datia-cmd-icon-rose { background: rgba(244, 63, 94, 0.15); color: #fb7185; }
.datia-cmd-icon-indigo { background: rgba(99, 102, 241, 0.15); color: #818cf8; }

.datia-cmd-content {
  flex: 1;
  min-width: 0;
}

.datia-cmd-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.executive-light .datia-cmd-title,
body.theme-light .datia-cmd-title {
  color: #0f172a;
}

.datia-cmd-desc {
  font-size: 0.73rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.datia-cmd-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.datia-cmd-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.18rem 0.5rem;
  border-radius: 0.4rem;
  background: rgba(255, 255, 255, 0.07);
  color: #cbd5e1;
}

body.executive-light .datia-cmd-badge,
body.theme-light .datia-cmd-badge {
  background: #f1f5f9;
  color: #334155;
}

.datia-cmd-footer {
  padding: 0.55rem 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 13, 26, 0.9);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  color: #94a3b8;
}

body.executive-light .datia-cmd-footer,
body.theme-light .datia-cmd-footer {
  background: #f8fafc;
  border-top-color: #e2e8f0;
  color: #475569;
}

/* ==========================================================================
   LIVE MONETARY INSPECTOR, AUTO-PILOT PULSE & TOAST NOTIFICATIONS
   ========================================================================== */
.datia-money-helper {
  font-family: var(--fintech-font-mono);
  font-size: 0.71rem;
  color: #cbd5e1;
  margin-top: 0.28rem;
  padding-left: 0.2rem;
  line-height: 1.3;
}

body.executive-light .datia-money-helper,
body.theme-light .datia-money-helper {
  color: #334155;
}

.datia-field-autofilled {
  border-color: #10b981 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.35), 0 0 20px rgba(16, 185, 129, 0.25) !important;
  transition: all 0.3s ease !important;
}

.datia-toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1090;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: min(92vw, 440px);
}

@media (max-width: 768px) {
  .datia-toast-container {
    bottom: 4.8rem;
    right: 0.75rem;
    left: 0.75rem;
  }
}

.datia-banking-toast {
  background: rgba(11, 19, 41, 0.96);
  border: 1px solid rgba(16, 185, 129, 0.55);
  border-left: 4px solid #10b981;
  color: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.datia-banking-toast.datia-toast-cyan {
  border-color: rgba(6, 182, 212, 0.55);
  border-left-color: #06b6d4;
}

.datia-banking-toast.is-hiding {
  opacity: 0;
  transform: translateY(10px);
}

/* ==========================================================================
   RESPONSIVE STICKY FINANCIAL DATA TABLES
   Compliant with Modern Web Guidance: responsive-table
   ========================================================================== */
.datia-table-region,
.table-responsive {
  overflow: auto;
  max-inline-size: 100%;
  max-block-size: min(560px, 82vh);
  container-type: inline-size;
  border-radius: 0.75rem;
}

.datia-table-region table,
.table-responsive table {
  border-collapse: separate;
  border-spacing: 0;
}

.datia-table-region thead,
.table-responsive thead {
  position: sticky;
  inset-block-start: 0;
  z-index: 2;
  background: #0e1629;
}

body.executive-light .datia-table-region thead,
body.theme-light .datia-table-region thead,
body.executive-light .table-responsive thead,
body.theme-light .table-responsive thead {
  background: #f1f5f9;
}

@container (width < 600px) {
  .datia-responsive-stack,
  .datia-responsive-stack thead,
  .datia-responsive-stack tbody,
  .datia-responsive-stack tr,
  .datia-responsive-stack th,
  .datia-responsive-stack td {
    display: block;
  }

  .datia-responsive-stack thead {
    display: none;
  }

  .datia-responsive-stack tr {
    margin-block-end: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.75rem;
    padding: 0.5rem;
    background: rgba(14, 21, 38, 0.75);
  }

  .datia-responsive-stack tbody th {
    position: sticky;
    inset-block-start: 0;
    z-index: 2;
    background: #121e3a;
  }

  .datia-responsive-stack td[data-label]::before {
    content: attr(data-label) ": ";
    font-weight: 700;
    color: #94a3b8;
    margin-right: 0.35rem;
  }
}

/* ==========================================================================
   ZONA BETA TESTERS & VALIDADOR EXPERTO · VALIDACIÓN POST-INTERACCIÓN
   Compliant with Modern Web Guidance: forms, validate-input-after-interaction,
   select-menu-interaction, autofill-sign-up-form
   ========================================================================== */
.visually-hidden:where(:not(:focus-within, :active)) {
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.datia-beta-input {
  font: inherit;
  font-size: max(1rem, 1em);
  min-block-size: 46px;
}

.error-msg {
  display: none;
}

.datia-beta-input:is(:user-invalid, .user-invalid-fallback) {
  border-color: #f43f5e !important;
  box-shadow: 0 0 0 2px rgba(244, 63, 94, 0.22);
}

.datia-beta-input:is(:user-valid, .user-valid-fallback) {
  border-color: #10b981 !important;
}

:is(:user-invalid, .user-invalid-fallback) ~ .error-msg {
  display: block;
}

.datia-beta-floating-pill {
  position: fixed;
  inset-block-end: 1.15rem;
  inset-inline-start: 1.15rem;
  z-index: 1040;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(9, 14, 28, 0.94);
  border: 1px solid rgba(245, 158, 11, 0.45);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
}

.datia-beta-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #f8fafc;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
}

.datia-beta-pill-link:hover {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.14);
}

.datia-beta-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #090d16;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border: none;
  cursor: pointer;
}

.datia-beta-pill-btn:hover {
  background: linear-gradient(135deg, #fcd34d, #fbbf24);
}

@media (max-width: 768px) {
  .datia-beta-floating-pill {
    inset-block-end: 4.5rem;
    inset-inline-start: 0.75rem;
  }
}


