/* ==========================================================================
   UNIÓN CONTABLE GLOBAL • SISTEMA DE INVENTARIO Y CONTROL FISCAL SENIAT
   CLIENTE: INVERSIONES DG 67, C.A. (RIF: J-50700865-7)
   TEMA CORPORATIVO OFICIAL: FONDO BLANCO / AZUL NAVY INSTITUCIONAL
   ========================================================================== */

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Colores Corporativos Oficiales Unión Contable Global */
  --ucg-navy: #000080;          /* Azul Marino Principal Institucional */
  --ucg-navy-dark: #07153a;     /* Azul Marino Profundo */
  --ucg-blue-accent: #0A5CF5;   /* Azul Real Vibrante */
  --ucg-blue-light: #eff6ff;    /* Fondo Azul Muy Claro */
  --ucg-blue-border: #bfdbfe;   /* Borde Azul Tenue */

  /* Colores Neutros y Fondos Blancos */
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --bg-input: #ffffff;

  --border-light: #e2e8f0;
  --border-subtle: #cbd5e1;
  --border-focus: #0A5CF5;

  --text-primary: #0f172a;      /* Slate 900 (Lectura óptima) */
  --text-secondary: #334155;    /* Slate 700 */
  --text-muted: #64748b;        /* Slate 500 */

  /* Estados Funcionales Contables */
  --accent-emerald: #166534;    /* Verde Contable Institucional */
  --accent-emerald-bg: #f0fdf4;
  --accent-emerald-border: #bbf7d0;

  --accent-rose: #be123c;       /* Rojo Alerta / Salidas */
  --accent-rose-bg: #fff1f2;
  --accent-rose-border: #fecdd3;

  --accent-amber: #b45309;      /* Ámbar Alertas Stock Mínimo */
  --accent-amber-bg: #fffbeb;
  --accent-amber-border: #fde68a;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --shadow-subtle: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 4px 16px -2px rgba(0, 0, 128, 0.06), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
  --shadow-elevated: 0 12px 30px -4px rgba(0, 0, 128, 0.1);
}

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

html {
  font-size: 13px; /* Escala global óptima para densidad corporativa tipo Stripe/Linear/ERP */
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-primary);
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   ARQUITECTURA DE APLICACIÓN CON MENÚ LATERAL IZQUIERDO (SIDEBAR ENTERPRISE)
   ========================================================================== */
.app-layout {
  display: flex;
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  background-color: var(--bg-body);
}

/* 1. BARRA LATERAL IZQUIERDA (COMPACTA, ESTÉTICA Y CERO SOBRECARGA) */
.app-sidebar {
  width: 240px;
  min-width: 240px;
  max-width: 240px;
  flex-shrink: 0;
  height: 100vh;
  position: sticky;
  top: 0;
  background: #ffffff;
  border-right: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  z-index: 100;
  box-shadow: 1px 0 10px rgba(0, 0, 128, 0.03);
  user-select: none;
}

/* 1.1 Brand Asesoría */
.sidebar-brand {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border-light);
  background: #ffffff;
}

.sidebar-logo {
  height: 30px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 128, 0.1));
}

.sidebar-brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sidebar-agency-tag {
  font-size: 0.52rem;
  font-weight: 800;
  color: var(--ucg-blue-accent);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  line-height: 1;
}

.sidebar-agency-title {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--ucg-navy);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-top: 1px;
}

/* 1.2 Ficha Fiscal Compacta del Contribuyente */
.sidebar-client-box {
  margin: 6px 10px;
  padding: 7px 10px;
  background: linear-gradient(145deg, #f8fafc 0%, #eff6ff 100%);
  border: 1px solid #bfdbfe;
  border-left: 3px solid var(--ucg-navy);
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 128, 0.03);
  transition: all 0.15s ease;
}

.sidebar-client-box:hover {
  border-color: #93c5fd;
  box-shadow: 0 2px 6px rgba(0, 0, 128, 0.06);
}

.client-box-top {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16a34a;
  display: inline-block;
  flex-shrink: 0;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.sidebar-client-name {
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--ucg-navy-dark);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

.client-box-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 3px;
}

.sidebar-client-rif {
  font-size: 0.67rem;
  color: #475569;
  font-weight: 700;
}

.client-tag-pill {
  font-size: 0.58rem;
  font-weight: 700;
  color: #1e40af;
  background: #dbeafe;
  padding: 1px 5px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

/* 1.3 Navegación Vertical Optimizada */
.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 4px 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 1.5px;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.sidebar-nav::-webkit-scrollbar {
  width: 3px;
}
.sidebar-nav::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.nav-section-title {
  font-size: 0.56rem;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 8px 8px 2px;
  user-select: none;
}

.sidebar-nav .nav-tab {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 9px;
  border-radius: 6px;
  border: 1px solid transparent;
  background: transparent;
  color: #334155;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: none;
  outline: none;
  white-space: nowrap;
}

.sidebar-nav .nav-tab svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  stroke: #64748b;
  transition: stroke 0.15s ease;
}

.sidebar-nav .nav-tab span {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-nav .nav-tab:hover {
  background: #eff6ff;
  color: var(--ucg-navy);
  border-color: #dbeafe;
  transform: translateX(2px);
}

.sidebar-nav .nav-tab:hover svg {
  stroke: var(--ucg-blue-accent);
}

.sidebar-nav .nav-tab.active {
  background: linear-gradient(135deg, var(--ucg-navy) 0%, #0A5CF5 100%);
  color: #ffffff;
  border-color: var(--ucg-navy);
  box-shadow: 0 2px 8px rgba(0, 0, 128, 0.2);
  transform: none;
  font-weight: 700;
}

.sidebar-nav .nav-tab.active svg {
  stroke: #ffffff;
}

.nav-badge-pill {
  font-size: 0.54rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-left: auto;
  flex-shrink: 0;
  background: #dbeafe;
  color: var(--ucg-blue-accent);
}

.sidebar-nav .nav-tab.active .nav-badge-pill {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* 1.4 Footer del Menú Lateral */
.sidebar-footer {
  padding: 8px 10px;
  border-top: 1px solid var(--border-light);
  background: #ffffff;
}

.cloud-badge-sidebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
  font-size: 0.70rem;
  font-weight: 700;
  color: #166534;
  transition: all 0.15s ease;
}

.cloud-status-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cloud-title {
  font-size: 0.68rem;
  font-weight: 800;
  color: #166534;
  line-height: 1.1;
}

.cloud-sub {
  font-size: 0.60rem;
  color: #15803d;
  line-height: 1;
}

.status-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #16a34a;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 5px rgba(22, 163, 74, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

/* ==========================================================================
   ÁREA PRINCIPAL DE CONTENIDO (DERECHA)
   ========================================================================== */
.app-main-wrapper {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg-body);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Barra Superior Ejecutiva */
.app-topbar {
  height: 46px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

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

.topbar-breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.76rem;
}

.crumb-company {
  font-weight: 800;
  color: var(--ucg-navy);
  letter-spacing: -0.01em;
}

.crumb-sep {
  color: #cbd5e1;
  font-weight: 600;
}

.crumb-active {
  color: #475569;
  font-weight: 600;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-period-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: #475569;
  background: #f8fafc;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  font-weight: 600;
}

.topbar-period-pill strong {
  color: var(--ucg-navy);
}

.btn-action-excel {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  height: 30px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(22, 101, 52, 0.06);
  white-space: nowrap;
}

.btn-action-excel:hover {
  background: #dcfce7;
  border-color: #4ade80;
  color: #14532d;
  transform: translateY(-1px);
}

.btn-action-pdf {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #be123c;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  height: 30px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(190, 18, 60, 0.06);
  white-space: nowrap;
}

.btn-action-pdf:hover {
  background: #fee2e2;
  border-color: #fda4af;
  color: #9f1239;
  transform: translateY(-1px);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  height: 32px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.btn-lg {
  height: 38px;
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: 8px;
}

.btn-sm {
  height: 26px;
  padding: 3px 8px;
  font-size: 0.70rem;
}

.btn-navy {
  background: linear-gradient(135deg, var(--ucg-navy), var(--ucg-blue-accent));
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 128, 0.18);
}
.btn-navy:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 128, 0.25);
}

.btn-emerald {
  background: linear-gradient(135deg, #15803d, #16a34a);
  color: white;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.2);
}
.btn-emerald:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.btn-rose {
  background: linear-gradient(135deg, #be123c, #e11d48);
  color: white;
  box-shadow: 0 2px 8px rgba(190, 18, 60, 0.2);
}
.btn-rose:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(190, 18, 60, 0.3);
}

.btn-secondary {
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
}
.btn-secondary:hover {
  background: #e2e8f0;
  color: var(--text-primary);
}

.btn-outline-excel {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
}
.btn-outline-excel:hover {
  background: #dcfce7;
  color: #14532d;
}

.btn-outline-pdf {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}
.btn-outline-pdf:hover {
  background: #fee2e2;
  color: #7f1d1d;
}

.btn-text {
  background: transparent;
  border: none;
  color: var(--ucg-blue-accent);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}
.btn-text:hover {
  text-decoration: underline;
}

/* ==========================================================================
   MAIN CONTENT & TABS
   ========================================================================== */
.main-content {
  flex: 1;
  max-width: 1560px;
  width: 100%;
  margin: 0 auto;
  padding: 16px 22px 40px;
  box-sizing: border-box;
  overflow-x: hidden;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-pane.active {
  display: block;
}

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

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 12px;
}

h1 {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ucg-navy);
  margin-bottom: 2px;
  line-height: 1.25;
}

.subtitle {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.header-buttons {
  display: flex;
  gap: 8px;
}

/* ==========================================================================
   KPI CARDS (CLEAN WHITE CORPORATE - VERTICAL HIGH DENSITY)
   ========================================================================== */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.kpi-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 82px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  border-top: 3px solid var(--ucg-navy);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
}

.kpi-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 128, 0.07);
}

.card-cyan { border-top-color: var(--ucg-blue-accent); }
.card-indigo { border-top-color: var(--ucg-navy); }
.card-emerald { border-top-color: #16a34a; }
.card-amber { border-top-color: #d97706; }
.card-rose { border-top-color: #dc2626; }

/* Dashboard Cards with Icons */
.kpi-card.has-icon, .kpi-card:has(.kpi-icon) {
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.kpi-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-cyan .kpi-icon { background: #eff6ff; color: var(--ucg-blue-accent); }
.card-indigo .kpi-icon { background: #e0e7ff; color: var(--ucg-navy); }
.card-emerald .kpi-icon { background: #f0fdf4; color: #16a34a; }
.card-amber .kpi-icon { background: #fef2f2; color: #dc2626; }
.card-rose .kpi-icon { background: #fff1f2; color: #be123c; }

.kpi-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.kpi-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  line-height: 1.2;
}

.kpi-value {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  font-family: var(--font-mono);
  margin: 2px 0 1px;
  line-height: 1.15;
}

.alert-text {
  color: #dc2626;
}

.kpi-sub, .kpi-detail {
  font-size: 0.69rem;
  color: #64748b;
  font-weight: 500;
  line-height: 1.25;
}

/* ==========================================================================
   PANEL CARDS & TABLES (WHITE THEME)
   ========================================================================== */
.dashboard-split {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 20px;
}

@media (max-width: 960px) {
  .dashboard-split {
    grid-template-columns: 1fr;
  }
}

.panel-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.panel-header h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--ucg-navy);
}

/* Category Bars */
.category-item {
  margin-bottom: 12px;
}

.category-label-flex {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.category-name {
  color: var(--text-primary);
}

.category-count {
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.bar-bg {
  height: 8px;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ucg-navy), var(--ucg-blue-accent));
}

/* Tables */
.table-panel {
  padding: 0;
  overflow: hidden;
}

.table-meta {
  padding: 10px 18px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 700;
  border-bottom: 1px solid var(--border-light);
  background: #f8fafc;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-responsive::-webkit-scrollbar {
  height: 6px;
}
.table-responsive::-webkit-scrollbar-track {
  background: #f1f5f9;
}
.table-responsive::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.table-responsive::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.table-scroll {
  max-height: 520px;
  overflow-y: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.76rem;
  text-align: left;
}

.data-table th {
  background: #f8fafc;
  color: var(--ucg-navy);
  font-size: 0.67rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 8px 10px;
  border-bottom: 1.5px solid #cbd5e1;
  position: sticky;
  top: 0;
  z-index: 10;
}

.data-table td {
  padding: 6.5px 10px;
  border-bottom: 1px solid #f1f5f9;
  color: var(--text-secondary);
}

.data-table tr:hover td {
  background: #f8fafc;
}

.data-table .font-bold {
  font-weight: 700;
  color: var(--text-primary);
}

.data-table .font-mono {
  font-family: var(--font-mono);
}

.text-right { text-align: right; }
.text-center { text-align: center; }

/* Status Badges */
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 0.67rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge-suficiente {
  background: var(--accent-emerald-bg);
  color: var(--accent-emerald);
  border: 1px solid var(--accent-emerald-border);
}

.badge-solicitar {
  background: var(--accent-rose-bg);
  color: var(--accent-rose);
  border: 1px solid var(--accent-rose-border);
}

.badge-code {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--ucg-navy);
  background: var(--ucg-blue-light);
  padding: 1px 6px;
  border-radius: 4px;
  display: inline-block;
  border: 1px solid var(--ucg-blue-border);
  font-size: 0.72rem;
}

.meta-tag {
  font-size: 0.68rem;
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--text-secondary);
  font-weight: 600;
}

/* ==========================================================================
   FILTERS BAR
   ========================================================================== */
.filters-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  flex-wrap: wrap;
}

.search-box {
  flex: 1;
  min-width: 260px;
  height: 32px;
  display: flex;
  align-items: center;
  gap: 7px;
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 0 10px;
  color: var(--text-muted);
  box-sizing: border-box;
}

.search-box input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.78rem;
  width: 100%;
}

.select-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

select, input[type="date"] {
  height: 32px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0 10px;
  outline: none;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
}

select:focus, input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 2px rgba(10, 92, 245, 0.12);
}

/* ==========================================================================
   FORMS (ENTRADAS & SALIDAS)
   ========================================================================== */
.form-container {
  max-width: 980px;
  margin: 0 auto;
}

.movement-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-section {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-card);
  border-top: 3px solid var(--ucg-navy);
}

.section-title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--ucg-navy);
}

.section-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-field label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.form-field input, .form-field select {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.85rem;
  outline: none;
}

.items-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.items-entry-table {
  width: 100%;
  border-collapse: collapse;
}

.items-entry-table th {
  background: #f8fafc;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--ucg-navy);
  text-transform: uppercase;
  padding: 9px 12px;
  border-bottom: 1px solid var(--border-light);
}

.items-entry-table td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--border-light);
}

.items-entry-table select, .items-entry-table input {
  width: 100%;
  padding: 6px 10px;
  font-size: 0.82rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  color: var(--text-primary);
}

.btn-remove-row {
  background: transparent;
  border: none;
  color: var(--accent-rose);
  cursor: pointer;
  padding: 4px;
  font-size: 1.15rem;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 10px;
}

/* ==========================================================================
   KARDEX VIEW
   ========================================================================== */
.kardex-header-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 18px;
  border-top: 3px solid var(--ucg-navy);
}

.kardex-prod-details {
  display: flex;
  align-items: center;
  gap: 14px;
}

.kardex-prod-details h2 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ucg-navy);
}

.meta-tags {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.kardex-metrics {
  display: flex;
  gap: 18px;
}

.kardex-metric {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.k-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.k-value {
  font-size: 1.3rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--ucg-navy);
}

.k-badge {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent-emerald);
}

/* ==========================================================================
   MODAL & TOASTS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  width: 100%;
  max-width: 680px;
  box-shadow: 0 16px 36px -8px rgba(0, 0, 128, 0.18);
  overflow: hidden;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-light);
  background: #f8fafc;
}

.modal-header h3 {
  font-size: 0.90rem;
  font-weight: 800;
  color: var(--ucg-navy);
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.3rem;
  cursor: pointer;
  line-height: 1;
}

.modal-body {
  padding: 14px 16px;
  max-height: 480px;
  overflow-y: auto;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  padding: 10px 16px;
  border-top: 1px solid var(--border-light);
  background: #f8fafc;
  gap: 8px;
}

.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--ucg-navy);
  padding: 8px 14px;
  border-radius: 6px;
  box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.1);
  color: var(--text-primary);
  font-size: 0.76rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 260px;
}

.toast-success { border-left-color: #16a34a; }
.toast-error { border-left-color: #dc2626; }

.loading-spinner {
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ==========================================================================
   MÓDULO FISCAL & SUBPESTAÑAS (SEGMENTED CONTROL MODERNO)
   ========================================================================== */
.fiscal-subtabs-bar {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #f1f5f9;
  padding: 3px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  margin-bottom: 14px;
  max-width: 100%;
  overflow-x: auto;
}

.fiscal-subtab {
  background: transparent;
  border: none;
  border-radius: 6px;
  padding: 6px 13px;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.fiscal-subtab:hover {
  background: rgba(255, 255, 255, 0.65);
  color: var(--ucg-navy);
}

.fiscal-subtab.active {
  background: #ffffff;
  color: var(--ucg-navy);
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
}

/* Info Callout Card */
.info-callout-card {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-left: 3px solid #0A5CF5;
  border-radius: 6px;
  padding: 8px 12px;
  margin-bottom: 14px;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #1e3a8a;
}

.info-callout-card .callout-icon {
  font-size: 1rem;
  line-height: 1.2;
  flex-shrink: 0;
}

.info-callout-card .callout-body strong {
  color: var(--ucg-navy);
}

.prov-select-type {
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-primary);
  width: 100%;
  max-width: 270px;
  height: 30px;
  transition: border-color 0.15s ease;
}

.prov-select-type:focus {
  border-color: var(--ucg-blue-accent);
  outline: none;
  box-shadow: 0 0 0 2px rgba(10, 92, 245, 0.12);
}

.badge-inv-si {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #86efac;
  border-radius: 9999px;
  font-size: 0.67rem;
  font-weight: 800;
}

.badge-inv-no {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  background: #f8fafc;
  color: #475569;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  font-size: 0.67rem;
  font-weight: 700;
}

/* Botón de Menú Móvil */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 5px;
  color: var(--ucg-navy);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.mobile-menu-btn:hover {
  background: var(--ucg-blue-light);
  border-color: var(--ucg-blue-border);
}

.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(3px);
  z-index: 99;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.sidebar-backdrop.active {
  display: block;
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE DESIGN (ZERO HORIZONTAL SCROLLBAR GUARANTEE)
   ========================================================================== */
@media (max-width: 1200px) {
  .app-sidebar {
    width: 250px;
    min-width: 250px;
    max-width: 250px;
  }
  .app-topbar {
    padding: 0 20px;
  }
  .main-content {
    padding: 22px 20px 50px;
  }
}

@media (max-width: 992px) {
  .mobile-menu-btn {
    display: flex;
  }

  .app-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    min-width: 280px;
    max-width: 280px;
    height: 100vh;
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 10px 0 35px -5px rgba(0, 0, 128, 0.25);
  }

  .app-sidebar.sidebar-open {
    transform: translateX(0);
  }

  .app-topbar {
    padding: 0 16px;
  }

  .topbar-period-pill {
    display: none;
  }

  .main-content {
    padding: 18px 16px 45px;
  }
}

@media (max-width: 640px) {
  .topbar-client-tag .tag-rif {
    display: none;
  }

  .btn-action-excel span,
  .btn-action-pdf span {
    display: none;
  }

  .btn-action-excel,
  .btn-action-pdf {
    padding: 7px 10px;
  }

  .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ==========================================================================
   ESTILOS SUBMÓDULOS FISCALES SENIAT (COMPRAS, VENTAS, FORMA 30 Y PROVEEDORES)
   ========================================================================== */

.forma30-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.forma30-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 14px 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 128, 0.03);
  position: relative;
  overflow: hidden;
}

.forma30-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}

.forma30-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ucg-navy);
  letter-spacing: -0.01em;
}

.forma30-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  font-size: 0.76rem;
  border-bottom: 1px dashed #f1f5f9;
}

.forma30-row.total-row {
  border-top: 1.5px solid var(--border-light);
  border-bottom: none;
  font-weight: 800;
  font-size: 0.82rem;
  margin-top: 6px;
  padding-top: 8px;
}

.forma30-val {
  font-family: var(--font-mono);
  font-weight: 700;
}

.highlight-box-pagar {
  background: #fef2f2;
  border: 1.5px solid #fecdd3;
  color: #991b1b;
  border-radius: 6px;
  padding: 10px 14px;
  text-align: center;
  margin-top: 10px;
}

.highlight-box-favor {
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  color: #166534;
  border-radius: 6px;
  padding: 10px 14px;
  text-align: center;
  margin-top: 10px;
}

.highlight-num {
  font-size: 1.45rem;
  font-weight: 800;
  font-family: var(--font-mono);
  margin-top: 2px;
}

/* Print View Modal for Official SENIAT Books */
.print-preview-container {
  max-width: 1120px;
  margin: 0 auto;
  background: #ffffff;
  padding: 24px 28px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
  color: #0f172a;
}

.print-preview-header,
.seniat-official-header {
  display: grid;
  grid-template-columns: 120px 1fr 185px;
  align-items: center;
  gap: 14px;
  border-bottom: 2px solid #000080;
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.print-preview-table,
.seniat-grid-table,
.seniat-f30-main-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 9px;
  margin-bottom: 14px;
}

.print-preview-table th, 
.print-preview-table td,
.seniat-grid-table th,
.seniat-grid-table td,
.seniat-f30-main-table th,
.seniat-f30-main-table td {
  border: 1px solid #64748b;
  padding: 4px 5px;
  vertical-align: middle;
}

.print-preview-table th,
.seniat-grid-table th {
  background: #f1f5f9;
  font-weight: 800;
  text-align: center;
  color: #0f172a;
  font-size: 8px;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.seniat-group-header th {
  background: #000080 !important;
  color: #ffffff !important;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  padding: 4px 6px;
}

.seniat-summary-boxes {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 14px;
  margin-top: 10px;
  margin-bottom: 18px;
  page-break-inside: avoid;
}

.seniat-summary-box {
  border: 1px solid #64748b;
  border-radius: 4px;
  overflow: hidden;
  background: #ffffff;
}

.seniat-box-title {
  background: #000080;
  color: #ffffff;
  font-size: 8.5px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 10px;
}

.seniat-f30-top-banner {
  display: grid;
  grid-template-columns: 110px 1fr 160px;
  align-items: center;
  gap: 12px;
  border: 1.5px solid #000080;
  background: #f8fafc;
  padding: 8px 12px;
  margin-bottom: 8px;
  border-radius: 4px;
}

.seniat-f30-banner-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.seniat-f30-banner-center {
  text-align: center;
  padding: 0 4px;
}

.seniat-f30-banner-box {
  text-align: right;
  border: 2px solid #000080;
  padding: 5px 10px;
  border-radius: 4px;
  background: #eff6ff;
  white-space: nowrap;
}

.seniat-portrait-f30 {
  max-width: 820px;
  padding: 16px 20px;
}

.seniat-portrait-f30 .print-preview-table th,
.seniat-portrait-f30 .print-preview-table td,
.seniat-portrait-f30 .seniat-f30-main-table th,
.seniat-portrait-f30 .seniat-f30-main-table td {
  padding: 3.5px 6px;
}

.seniat-f30-header-grid {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 12px;
  font-size: 9px;
}

.seniat-f30-header-grid td {
  border: 1px solid #64748b;
  padding: 6px 8px;
  background: #ffffff;
}

.print-footer-signatures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 32px;
  text-align: center;
  font-size: 10px;
  page-break-inside: avoid;
}

.print-footer-signatures.seniat-3-signatures {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sig-line {
  border-top: 1px solid #0f172a;
  padding-top: 6px;
  font-weight: 800;
  color: #0f172a;
  font-size: 9.5px;
}

@media print {
  @page {
    margin: 8mm 9mm;
  }
  html, body {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    background: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  .app-layout,
  .app-sidebar,
  .app-main-wrapper,
  .app-topbar,
  .main-content,
  .toast-container,
  .modal-header,
  .modal-footer,
  .btn-print-hide {
    display: none !important;
  }
  #modal-impresion-fiscal {
    display: block !important;
    position: static !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
  }
  #modal-impresion-fiscal .modal-box {
    display: block !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  #modal-print-body,
  .print-preview-container {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  table {
    page-break-inside: auto;
  }
  thead {
    display: table-header-group;
  }
  tfoot {
    display: table-row-group;
  }
  tr {
    page-break-inside: avoid;
    page-break-after: auto;
  }
}



/* ==========================================================================
   MÓDULO DE LOGIN & ACCESO CORPORATIVO (UNIÓN CONTABLE GLOBAL)
   ========================================================================== */
.login-screen-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 20% 30%, #071529 0%, #0B2447 50%, #19376D 100%);
  padding: 24px;
  overflow-y: auto;
  box-sizing: border-box;
}

.login-container {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  max-width: 1060px;
  width: 100%;
  min-height: 620px;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(25, 167, 206, 0.35);
  overflow: hidden;
  animation: loginFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Panel Izquierdo: Branding & Datos Fiscales */
.login-brand-panel {
  background: linear-gradient(145deg, #071529 0%, #0B2447 60%, #102C57 100%);
  color: #FFFFFF;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid rgba(25, 167, 206, 0.25);
  position: relative;
}

.login-brand-panel::before {
  content: '';
  position: absolute;
  top: -40px;
  left: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(25, 167, 206, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.login-brand-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.login-logo-wrapper {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 6px;
  border: 2px solid #19A7CE;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}

.login-logo-img {
  height: 52px;
  width: auto;
  display: block;
}

.login-firm-badge {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: #19A7CE;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.login-firm-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: -0.01em;
}

.login-firm-slogan {
  font-size: 0.78rem;
  font-style: italic;
  color: #93c5fd;
  margin: 2px 0 0 0;
}

/* Box del Sistema */
.login-system-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(25, 167, 206, 0.3);
  border-left: 4px solid #19A7CE;
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 20px;
}

.login-system-tag {
  font-size: 0.68rem;
  font-weight: 800;
  color: #19A7CE;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.login-system-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 4px 0 2px 0;
}

.login-system-subtitle {
  font-size: 0.82rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 6px;
}

.login-system-desc {
  font-size: 0.76rem;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.4;
}

/* Ficha Fiscal */
.login-fiscal-card {
  background: rgba(11, 36, 71, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 24px;
}

.login-fiscal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.fiscal-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
}

.fiscal-header-title {
  font-size: 0.72rem;
  font-weight: 800;
  color: #19A7CE;
  letter-spacing: 0.06em;
}

.login-fiscal-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fiscal-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 0.76rem;
  gap: 10px;
}

.fiscal-label {
  color: #94a3b8;
  font-weight: 600;
  flex-shrink: 0;
}

.fiscal-value {
  color: #f1f5f9;
  text-align: right;
  line-height: 1.35;
}

.fiscal-value.highlight {
  font-weight: 800;
  color: #FFFFFF;
}

.fiscal-value.highlight-rif {
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.04em;
}

.login-brand-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.security-pills {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.sec-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  background: rgba(25, 167, 206, 0.15);
  border: 1px solid rgba(25, 167, 206, 0.35);
  color: #7dd3fc;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 600;
}

.developer-credit {
  font-size: 0.74rem;
  color: #94a3b8;
}

.developer-credit strong {
  color: #19A7CE;
}

/* Panel Derecho: Formulario */
.login-form-panel {
  padding: 44px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #FFFFFF;
}

.login-form-content {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

.form-title-group {
  margin-bottom: 24px;
}

.lock-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #e0f2fe;
  border: 1.5px solid #19A7CE;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.form-main-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0B2447;
  margin: 0 0 6px 0;
  letter-spacing: -0.02em;
}

.form-sub-title {
  font-size: 0.84rem;
  color: #64748b;
  margin: 0;
  line-height: 1.45;
}

/* Alert Error */
.login-alert-error {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fef2f2;
  border: 1.5px solid #ef4444;
  color: #b91c1c;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
  animation: shake 0.3s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* Form Fields */
.login-field-group {
  margin-bottom: 18px;
}

.login-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
}

.login-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.login-input-wrapper .input-icon {
  position: absolute;
  left: 12px;
  color: #64748b;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.login-input {
  width: 100%;
  height: 46px;
  padding: 10px 14px 10px 40px;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.92rem;
  color: #0f172a;
  background: #f8fafc;
  transition: all 0.2s ease;
  font-family: inherit;
  box-sizing: border-box;
}

.login-input:focus {
  outline: none;
  border-color: #0B2447;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(11, 36, 71, 0.12);
}

.btn-toggle-pwd {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-toggle-pwd:hover {
  color: #0B2447;
}

.login-options-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 0.8rem;
}

.checkbox-remember {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #475569;
  cursor: pointer;
  user-select: none;
}

.checkbox-remember input {
  accent-color: #0B2447;
  width: 16px;
  height: 16px;
}

.btn-login-submit {
  width: 100%;
  height: 48px;
  background: linear-gradient(135deg, #0B2447 0%, #19376D 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  font-size: 0.96rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(11, 36, 71, 0.35);
}

.btn-login-submit:hover {
  background: linear-gradient(135deg, #081d3a 0%, #102C57 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(11, 36, 71, 0.45);
}

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

/* Quick Access Chips */
.login-quick-access {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #e2e8f0;
}

.quick-title {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.quick-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.quick-chip {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 8px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.quick-chip:hover {
  background: #e0f2fe;
  border-color: #19A7CE;
}

.chip-role {
  font-size: 0.62rem;
  font-weight: 800;
  color: #0369a1;
  letter-spacing: 0.04em;
}

.chip-user {
  font-size: 0.76rem;
  font-weight: 700;
  color: #0f172a;
}

.login-card-subfooter {
  margin-top: 20px;
  text-align: center;
  font-size: 0.72rem;
  color: #94a3b8;
}

/* Sidebar User Bar */
.user-session-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-top: 8px;
}

.user-session-info {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #19A7CE;
  color: #0B2447;
  font-weight: 800;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.user-meta {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.user-name {
  font-size: 0.76rem;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-role {
  font-size: 0.62rem;
  font-weight: 700;
  color: #19A7CE;
  letter-spacing: 0.04em;
}

.btn-logout {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.btn-logout:hover {
  background: #ef4444;
  color: #FFFFFF;
  border-color: #ef4444;
}

/* ==========================================================================
   SUITE INTEGRAL DE RESPONSIVIDAD PARA IPHONE (PRO, PLUS, SE), TABLETS Y PC
   ========================================================================== */

/* 1. SOPORTE IOS SAFE AREA & DYNAMIC VIEWPORT (NOTCH, DYNAMIC ISLAND, HOME BAR) */
:root {
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --sal: env(safe-area-inset-left, 0px);
  --sar: env(safe-area-inset-right, 0px);
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  padding-top: var(--sat);
  padding-bottom: var(--sab);
  padding-left: var(--sal);
  padding-right: var(--sar);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

/* Evitar auto-zoom molesto en Safari iOS al enfocar campos de texto */
@media screen and (max-width: 768px) {
  input[type="text"],
  input[type="password"],
  input[type="email"],
  input[type="number"],
  input[type="date"],
  input[type="search"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* 2. TABLETS & PANTALLAS MEDIANAS (iPad, iPad Pro, Tablets Android: 768px - 1024px) */
@media (max-width: 1024px) {
  .app-sidebar {
    width: 260px;
    min-width: 260px;
  }
  
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .login-container {
    max-width: 820px;
  }

  .forma30-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 3. PANTALLAS MÓVILES Y VERTICALES (<= 900px) */
@media (max-width: 900px) {
  .login-screen-overlay {
    padding: 16px 12px;
    align-items: flex-start;
  }

  .login-container {
    grid-template-columns: 1fr;
    max-width: 480px;
    min-height: auto;
    margin: auto;
    border-radius: 16px;
  }

  .login-brand-panel {
    padding: 24px 20px;
    border-right: none;
    border-bottom: 1px solid rgba(25, 167, 206, 0.25);
  }

  .login-brand-header {
    gap: 12px;
    margin-bottom: 18px;
  }

  .login-logo-img {
    height: 44px;
  }

  .login-firm-title {
    font-size: 1.15rem;
  }

  .login-system-title {
    font-size: 1.05rem;
  }

  .login-fiscal-card {
    margin-bottom: 16px;
    padding: 12px 14px;
  }

  .login-form-panel {
    padding: 26px 20px;
  }

  .form-main-title {
    font-size: 1.35rem;
  }

  .app-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: min(84vw, 290px);
    min-width: unset;
    max-width: 300px;
    height: 100dvh;
    padding-bottom: calc(16px + var(--sab));
    z-index: 99999;
  }
}

/* 4. IPHONES MODERNOS (iPhone Pro, Pro Max, Plus, Estándar: <= 640px) */
@media (max-width: 640px) {
  /* Barra superior ejecutiva compacta y táctil */
  .app-topbar {
    height: auto;
    min-height: 52px;
    padding: 8px 12px;
    gap: 8px;
  }

  .topbar-left {
    gap: 8px;
  }

  .mobile-menu-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
  }

  .crumb-company {
    font-size: 0.72rem;
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .crumb-active {
    font-size: 0.76rem;
  }

  .topbar-right {
    gap: 5px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 2px 0;
  }

  .topbar-right::-webkit-scrollbar {
    display: none;
  }

  /* Botones superiores ultra compactos para móviles */
  .topbar-right .btn,
  .topbar-right a.btn {
    padding: 6px 9px !important;
    font-size: 0.72rem !important;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* Contenido principal */
  .main-content {
    padding: 14px 10px 60px;
  }

  .page-header {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 14px;
  }

  .page-header h1 {
    font-size: 1.25rem;
  }

  .page-header .subtitle {
    font-size: 0.78rem;
  }

  .page-header .header-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
  }

  .page-header .header-buttons .btn {
    flex: 1;
    min-width: 130px;
    justify-content: center;
    padding: 9px 12px;
  }

  /* KPIs en móviles: 2 columnas fluidas */
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .kpi-card {
    padding: 12px 10px !important;
  }

  .kpi-title {
    font-size: 0.68rem !important;
  }

  .kpi-value {
    font-size: 1.15rem !important;
  }

  .kpi-sub {
    font-size: 0.64rem !important;
  }

  /* Barras de búsqueda, filtros y herramientas */
  .filter-bar,
  .search-box-container,
  .table-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .search-input,
  .filter-select {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Tablas de Datos con Desplazamiento Táctil Fluido */
  .table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid #e2e8f0;
  }

  .data-table {
    font-size: 0.75rem;
  }

  .data-table th,
  .data-table td {
    padding: 7px 9px;
    white-space: nowrap;
  }

  /* Formularios modales en pantalla completa / bottom sheet en móviles */
  .modal-box {
    width: 96% !important;
    max-width: 96% !important;
    max-height: 92dvh !important;
    margin: auto !important;
    border-radius: 14px !important;
  }

  .modal-header {
    padding: 12px 14px !important;
  }

  .modal-body {
    padding: 14px 12px !important;
  }

  .modal-footer {
    padding: 10px 14px !important;
    flex-direction: column-reverse;
    gap: 8px;
  }

  .modal-footer .btn {
    width: 100%;
    justify-content: center;
  }

  /* Grids de submódulos */
  .forma30-grid {
    grid-template-columns: 1fr;
  }

  .grid-2col,
  .grid-3col {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  /* Botones de acción rápida */
  .quick-chips {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 4px !important;
  }

  .quick-chip {
    padding: 6px 4px !important;
  }

  .chip-role {
    font-size: 0.58rem !important;
  }

  .chip-user {
    font-size: 0.68rem !important;
  }
}

/* 5. PANTALLAS PEQUEÑAS (iPhone SE, iPhone mini: <= 380px) */
@media (max-width: 380px) {
  .kpi-grid {
    grid-template-columns: 1fr !important;
  }

  .login-container {
    max-width: 100%;
    border-radius: 12px;
  }

  .login-brand-panel,
  .login-form-panel {
    padding: 16px 12px;
  }

  .login-fiscal-header {
    font-size: 0.65rem;
  }

  .fiscal-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .fiscal-value {
    text-align: left;
    font-size: 0.72rem;
  }

  .quick-chips {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   WIDGET EJECUTIVO: TASA OFICIAL BCV DEL DÍA (INICIO / DASHBOARD)
   ========================================================================== */
.daily-bcv-widget {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, #0B2447 0%, #19376D 100%);
  color: #FFFFFF;
  border-radius: 14px;
  padding: 18px 24px;
  margin-bottom: 20px;
  box-shadow: 0 10px 25px -5px rgba(11, 36, 71, 0.35), 0 0 0 1.5px rgba(25, 167, 206, 0.35);
  flex-wrap: wrap;
}

.daily-bcv-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.daily-bcv-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(25, 167, 206, 0.2);
  border: 1px solid rgba(25, 167, 206, 0.4);
  padding: 3px 8px;
  border-radius: 6px;
  width: fit-content;
}

.bcv-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
}

.bcv-badge-text {
  font-size: 0.65rem;
  font-weight: 800;
  color: #7dd3fc;
  letter-spacing: 0.08em;
}

.daily-bcv-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
}

.daily-bcv-rate {
  font-size: 1.7rem;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.daily-bcv-date {
  font-size: 0.76rem;
  color: #93c5fd;
  font-weight: 600;
}

.daily-bcv-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.daily-bcv-desc {
  font-size: 0.74rem;
  color: #cbd5e1;
  max-width: 380px;
  text-align: right;
  line-height: 1.35;
}

.daily-bcv-form {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.daily-input-group {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border-radius: 8px;
  border: 1.5px solid #19A7CE;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.daily-input-prefix {
  padding: 6px 10px;
  background: #f1f5f9;
  color: #0B2447;
  font-weight: 800;
  font-size: 0.8rem;
  border-right: 1px solid #cbd5e1;
}

.daily-bcv-input {
  width: 120px;
  height: 38px;
  border: none;
  padding: 4px 10px;
  font-size: 0.95rem;
  color: #0B2447;
  outline: none;
}

.daily-bcv-date-input {
  height: 38px;
  border: none;
  border-left: 1px solid #cbd5e1;
  padding: 4px 8px;
  font-size: 0.8rem;
  color: #0B2447;
  outline: none;
}

.btn-daily-bcv {
  height: 38px;
  padding: 0 14px;
  background: #19A7CE;
  color: #0B2447;
  font-weight: 800;
  font-size: 0.82rem;
  border: none;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-daily-bcv:hover {
  background: #38bdf8;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .daily-bcv-widget {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }
  .daily-bcv-right {
    align-items: stretch;
  }
  .daily-bcv-desc {
    text-align: left;
    max-width: 100%;
  }
  .daily-bcv-form {
    flex-direction: column;
    align-items: stretch;
  }
  .daily-input-group {
    width: 100%;
  }
  .daily-bcv-input {
    flex: 1;
    width: auto;
  }
  .btn-daily-bcv {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   BANNER EJECUTIVO: TASA BCV Y VALORACIÓN BIMONETARIA DE INVENTARIO
   (DISEÑO CORPORATIVO UNIÓN CONTABLE GLOBAL)
   ========================================================================== */
.inv-bcv-banner {
  display: grid;
  grid-template-columns: 1fr auto 1.15fr auto 1.35fr;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, #0B2447 0%, #19376D 100%);
  color: #FFFFFF;
  padding: 18px 24px;
  border-radius: 12px 12px 0 0;
  margin: 0;
  border-bottom: 2.5px solid #19A7CE;
  box-shadow: 0 4px 18px rgba(11, 36, 71, 0.22);
}

.inv-bcv-col {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.inv-bcv-divider {
  width: 1px;
  height: 52px;
  background: rgba(255, 255, 255, 0.16);
}

.inv-bcv-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(25, 167, 206, 0.2);
  border: 1px solid rgba(25, 167, 206, 0.45);
  padding: 3px 8px;
  border-radius: 6px;
  width: fit-content;
}

.inv-bcv-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #19A7CE;
  box-shadow: 0 0 8px #19A7CE;
  animation: pulseCyan 2s infinite;
}

@keyframes pulseCyan {
  0% { box-shadow: 0 0 0 0 rgba(25, 167, 206, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(25, 167, 206, 0); }
  100% { box-shadow: 0 0 0 0 rgba(25, 167, 206, 0); }
}

.inv-bcv-badge-text {
  font-size: 0.65rem;
  font-weight: 800;
  color: #7dd3fc;
  letter-spacing: 0.06em;
}

.inv-bcv-title-main {
  font-size: 1rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
}

.inv-bcv-title-main strong {
  color: #7dd3fc;
}

.inv-bcv-subtitle {
  font-size: 0.74rem;
  color: #cbd5e1;
}

.inv-bcv-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #93c5fd;
  text-transform: uppercase;
}

.inv-bcv-tag.inv-tag-emerald {
  color: #6ee7b7;
}

.inv-tag-icon {
  font-size: 0.85rem;
  line-height: 1;
}

.inv-bcv-rate-value {
  font-size: 1.32rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.inv-bcv-unit {
  font-size: 0.75rem;
  color: #93c5fd;
  font-weight: 700;
}

.inv-bcv-rate-date {
  font-size: 0.74rem;
  color: #cbd5e1;
}

.inv-bcv-rate-date strong {
  color: #FFFFFF;
}

.inv-bcv-total-bs {
  font-size: 1.4rem;
  font-weight: 900;
  color: #34d399; /* Verde esmeralda luminoso sobre azul marino */
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
}

.inv-bcv-total-usd-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: #cbd5e1;
}

.inv-usd-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  background: rgba(25, 167, 206, 0.22);
  border: 1px solid rgba(25, 167, 206, 0.5);
  border-radius: 6px;
  font-weight: 800;
  color: #7dd3fc;
  font-size: 0.78rem;
}

/* Fallback badge en caso de renderizado inline */
#inv-bcv-summary-badge {
  background: linear-gradient(135deg, #0B2447 0%, #19376D 100%) !important;
  color: #FFFFFF !important;
  border: 1.5px solid #19A7CE !important;
  border-radius: 8px !important;
  padding: 6px 14px !important;
  box-shadow: 0 4px 10px rgba(11, 36, 71, 0.2) !important;
}

/* Responsividad para Tablets y Móviles (iPhone Pro / Plus / iPad) */
@media (max-width: 992px) {
  .inv-bcv-banner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }
  .inv-bcv-divider {
    display: none;
  }
  .inv-bcv-col {
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .inv-bcv-col:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }
}
