/* Ajustes propios de la Bitácora sobre Vuexy — paleta tomada del logo JC Innovation */
:root,
[data-bs-theme="light"] {
  --jc-purple: #7f5ca2;
  --jc-blue: #4559a8;
}

.login-logo { width: 100%; max-width: 230px; height: auto; }

/* Marca en el menú lateral */
.app-brand .brand-full { height: 54px; width: auto; }
.app-brand .brand-mark { height: 30px; width: auto; display: none; }
.layout-menu-collapsed:not(.layout-menu-hover) .app-brand .brand-full { display: none; }
.layout-menu-collapsed:not(.layout-menu-hover) .app-brand .brand-mark { display: inline-block; }

/* Línea de tiempo de seguimientos */
.timeline-bit { list-style: none; margin: 0; padding: 0 0 0 1.6rem; position: relative; }
.timeline-bit::before { content: ""; position: absolute; left: .55rem; top: .3rem; bottom: .3rem; width: 2px; background: var(--bs-border-color); }
.timeline-bit > li { position: relative; padding-bottom: 1.4rem; }
.timeline-bit > li:last-child { padding-bottom: 0; }
.timeline-bit > li::before { content: ""; position: absolute; left: -1.5rem; top: .3rem; width: 14px; height: 14px; border-radius: 50%; background: var(--bs-primary); border: 3px solid var(--bs-paper-bg, #fff); box-shadow: 0 0 0 1px var(--bs-primary); }
.timeline-bit > li.tl-inicio::before { background: var(--bs-success); box-shadow: 0 0 0 1px var(--bs-success); }
.timeline-bit .tl-meta { font-size: .8125rem; color: var(--bs-secondary-color); }
.timeline-bit .tl-texto { white-space: pre-wrap; }

.texto-pre { white-space: pre-wrap; }
.kpi-icon { width: 42px; height: 42px; }
.tabla-datos td, .tabla-datos th { vertical-align: middle; }
.filtros-card .form-label { font-size: .8rem; margin-bottom: .25rem; }
.chart-box { min-height: 280px; }

/* Impresión de reportes */
@media print {
  .layout-menu, .layout-navbar, .menu-mobile-toggler, .content-footer, .no-print, .layout-overlay, .drag-target { display: none !important; }
  .layout-page { padding: 0 !important; }
  .content-wrapper, .container-xxl { padding: 0 !important; margin: 0 !important; max-width: 100% !important; }
  .card { box-shadow: none !important; border: 1px solid #ccc !important; break-inside: avoid; }
  body { background: #fff !important; }
}
