/* ============================================================
   SIGI Framework — grid y utilidades (reemplazo propio de Bootstrap)
   ------------------------------------------------------------
   Generado por scratchpad/generar_grid.js. Mismo vocabulario de
   clases que Bootstrap 5 (.row, .col-md-6, .d-flex, .mb-3...) para
   que ninguna de las 250+ vistas necesite cambiar su HTML — pero
   cada regla está escrita desde cero, sin código de Bootstrap.
   ============================================================ */

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

.container, .container-fluid,
.container-sm, .container-md, .container-lg, .container-xl, .container-xxl {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 12px;
  padding-right: 12px;
}
@media (min-width: 576px) { .container, .container-sm { max-width: 546px; } }
@media (min-width: 768px) { .container, .container-sm, .container-md { max-width: 738px; } }
@media (min-width: 992px) { .container, .container-sm, .container-md, .container-lg { max-width: 962px; } }
@media (min-width: 1200px) { .container, .container-sm, .container-md, .container-lg, .container-xl { max-width: 1160px; } }
@media (min-width: 1400px) { .container, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl { max-width: 1320px; } }

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -12px;
  margin-right: -12px;
}
.row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-left: 12px;
  padding-right: 12px;
}
.row.g-0 { margin-left: 0; margin-right: 0; }
.row.g-0 > * { padding-left: 0; padding-right: 0; }
.row.g-1 { margin-left: -2px; margin-right: -2px; row-gap: 4px; }
.row.g-1 > * { padding-left: 2px; padding-right: 2px; }
.row.g-2 { margin-left: -4px; margin-right: -4px; row-gap: 8px; }
.row.g-2 > * { padding-left: 4px; padding-right: 4px; }
.row.g-3 { margin-left: -8px; margin-right: -8px; row-gap: 16px; }
.row.g-3 > * { padding-left: 8px; padding-right: 8px; }

.col { flex: 1 0 0%; }
.col-auto { flex: 0 0 auto; width: auto; }
.col-1 { flex: 0 0 auto; width: 8.333333%; }
.col-2 { flex: 0 0 auto; width: 16.666667%; }
.col-3 { flex: 0 0 auto; width: 25%; }
.col-4 { flex: 0 0 auto; width: 33.333333%; }
.col-5 { flex: 0 0 auto; width: 41.666667%; }
.col-6 { flex: 0 0 auto; width: 50%; }
.col-7 { flex: 0 0 auto; width: 58.333333%; }
.col-8 { flex: 0 0 auto; width: 66.666667%; }
.col-9 { flex: 0 0 auto; width: 75%; }
.col-10 { flex: 0 0 auto; width: 83.333333%; }
.col-11 { flex: 0 0 auto; width: 91.666667%; }
.col-12 { flex: 0 0 auto; width: 100%; }
.col-auto { flex: 0 0 auto; width: auto; }
.offset-0 { margin-left: 0%; }
.offset-1 { margin-left: 8.333333%; }
.offset-2 { margin-left: 16.666667%; }
.offset-3 { margin-left: 25%; }
.offset-4 { margin-left: 33.333333%; }
.offset-5 { margin-left: 41.666667%; }
.offset-6 { margin-left: 50%; }
.offset-7 { margin-left: 58.333333%; }
.offset-8 { margin-left: 66.666667%; }
.offset-9 { margin-left: 75%; }
.offset-10 { margin-left: 83.333333%; }
.offset-11 { margin-left: 91.666667%; }
@media (min-width: 576px) {
  .col-sm-1 { flex: 0 0 auto; width: 8.333333%; }
  .col-sm-2 { flex: 0 0 auto; width: 16.666667%; }
  .col-sm-3 { flex: 0 0 auto; width: 25%; }
  .col-sm-4 { flex: 0 0 auto; width: 33.333333%; }
  .col-sm-5 { flex: 0 0 auto; width: 41.666667%; }
  .col-sm-6 { flex: 0 0 auto; width: 50%; }
  .col-sm-7 { flex: 0 0 auto; width: 58.333333%; }
  .col-sm-8 { flex: 0 0 auto; width: 66.666667%; }
  .col-sm-9 { flex: 0 0 auto; width: 75%; }
  .col-sm-10 { flex: 0 0 auto; width: 83.333333%; }
  .col-sm-11 { flex: 0 0 auto; width: 91.666667%; }
  .col-sm-12 { flex: 0 0 auto; width: 100%; }
  .col-sm-auto { flex: 0 0 auto; width: auto; }
  .offset-sm-0 { margin-left: 0%; }
  .offset-sm-1 { margin-left: 8.333333%; }
  .offset-sm-2 { margin-left: 16.666667%; }
  .offset-sm-3 { margin-left: 25%; }
  .offset-sm-4 { margin-left: 33.333333%; }
  .offset-sm-5 { margin-left: 41.666667%; }
  .offset-sm-6 { margin-left: 50%; }
  .offset-sm-7 { margin-left: 58.333333%; }
  .offset-sm-8 { margin-left: 66.666667%; }
  .offset-sm-9 { margin-left: 75%; }
  .offset-sm-10 { margin-left: 83.333333%; }
  .offset-sm-11 { margin-left: 91.666667%; }
}
@media (min-width: 768px) {
  .col-md-1 { flex: 0 0 auto; width: 8.333333%; }
  .col-md-2 { flex: 0 0 auto; width: 16.666667%; }
  .col-md-3 { flex: 0 0 auto; width: 25%; }
  .col-md-4 { flex: 0 0 auto; width: 33.333333%; }
  .col-md-5 { flex: 0 0 auto; width: 41.666667%; }
  .col-md-6 { flex: 0 0 auto; width: 50%; }
  .col-md-7 { flex: 0 0 auto; width: 58.333333%; }
  .col-md-8 { flex: 0 0 auto; width: 66.666667%; }
  .col-md-9 { flex: 0 0 auto; width: 75%; }
  .col-md-10 { flex: 0 0 auto; width: 83.333333%; }
  .col-md-11 { flex: 0 0 auto; width: 91.666667%; }
  .col-md-12 { flex: 0 0 auto; width: 100%; }
  .col-md-auto { flex: 0 0 auto; width: auto; }
  .offset-md-0 { margin-left: 0%; }
  .offset-md-1 { margin-left: 8.333333%; }
  .offset-md-2 { margin-left: 16.666667%; }
  .offset-md-3 { margin-left: 25%; }
  .offset-md-4 { margin-left: 33.333333%; }
  .offset-md-5 { margin-left: 41.666667%; }
  .offset-md-6 { margin-left: 50%; }
  .offset-md-7 { margin-left: 58.333333%; }
  .offset-md-8 { margin-left: 66.666667%; }
  .offset-md-9 { margin-left: 75%; }
  .offset-md-10 { margin-left: 83.333333%; }
  .offset-md-11 { margin-left: 91.666667%; }
}
@media (min-width: 992px) {
  .col-lg-1 { flex: 0 0 auto; width: 8.333333%; }
  .col-lg-2 { flex: 0 0 auto; width: 16.666667%; }
  .col-lg-3 { flex: 0 0 auto; width: 25%; }
  .col-lg-4 { flex: 0 0 auto; width: 33.333333%; }
  .col-lg-5 { flex: 0 0 auto; width: 41.666667%; }
  .col-lg-6 { flex: 0 0 auto; width: 50%; }
  .col-lg-7 { flex: 0 0 auto; width: 58.333333%; }
  .col-lg-8 { flex: 0 0 auto; width: 66.666667%; }
  .col-lg-9 { flex: 0 0 auto; width: 75%; }
  .col-lg-10 { flex: 0 0 auto; width: 83.333333%; }
  .col-lg-11 { flex: 0 0 auto; width: 91.666667%; }
  .col-lg-12 { flex: 0 0 auto; width: 100%; }
  .col-lg-auto { flex: 0 0 auto; width: auto; }
  .offset-lg-0 { margin-left: 0%; }
  .offset-lg-1 { margin-left: 8.333333%; }
  .offset-lg-2 { margin-left: 16.666667%; }
  .offset-lg-3 { margin-left: 25%; }
  .offset-lg-4 { margin-left: 33.333333%; }
  .offset-lg-5 { margin-left: 41.666667%; }
  .offset-lg-6 { margin-left: 50%; }
  .offset-lg-7 { margin-left: 58.333333%; }
  .offset-lg-8 { margin-left: 66.666667%; }
  .offset-lg-9 { margin-left: 75%; }
  .offset-lg-10 { margin-left: 83.333333%; }
  .offset-lg-11 { margin-left: 91.666667%; }
}
@media (min-width: 1200px) {
  .col-xl-1 { flex: 0 0 auto; width: 8.333333%; }
  .col-xl-2 { flex: 0 0 auto; width: 16.666667%; }
  .col-xl-3 { flex: 0 0 auto; width: 25%; }
  .col-xl-4 { flex: 0 0 auto; width: 33.333333%; }
  .col-xl-5 { flex: 0 0 auto; width: 41.666667%; }
  .col-xl-6 { flex: 0 0 auto; width: 50%; }
  .col-xl-7 { flex: 0 0 auto; width: 58.333333%; }
  .col-xl-8 { flex: 0 0 auto; width: 66.666667%; }
  .col-xl-9 { flex: 0 0 auto; width: 75%; }
  .col-xl-10 { flex: 0 0 auto; width: 83.333333%; }
  .col-xl-11 { flex: 0 0 auto; width: 91.666667%; }
  .col-xl-12 { flex: 0 0 auto; width: 100%; }
  .col-xl-auto { flex: 0 0 auto; width: auto; }
  .offset-xl-0 { margin-left: 0%; }
  .offset-xl-1 { margin-left: 8.333333%; }
  .offset-xl-2 { margin-left: 16.666667%; }
  .offset-xl-3 { margin-left: 25%; }
  .offset-xl-4 { margin-left: 33.333333%; }
  .offset-xl-5 { margin-left: 41.666667%; }
  .offset-xl-6 { margin-left: 50%; }
  .offset-xl-7 { margin-left: 58.333333%; }
  .offset-xl-8 { margin-left: 66.666667%; }
  .offset-xl-9 { margin-left: 75%; }
  .offset-xl-10 { margin-left: 83.333333%; }
  .offset-xl-11 { margin-left: 91.666667%; }
}
@media (min-width: 1400px) {
  .col-xxl-1 { flex: 0 0 auto; width: 8.333333%; }
  .col-xxl-2 { flex: 0 0 auto; width: 16.666667%; }
  .col-xxl-3 { flex: 0 0 auto; width: 25%; }
  .col-xxl-4 { flex: 0 0 auto; width: 33.333333%; }
  .col-xxl-5 { flex: 0 0 auto; width: 41.666667%; }
  .col-xxl-6 { flex: 0 0 auto; width: 50%; }
  .col-xxl-7 { flex: 0 0 auto; width: 58.333333%; }
  .col-xxl-8 { flex: 0 0 auto; width: 66.666667%; }
  .col-xxl-9 { flex: 0 0 auto; width: 75%; }
  .col-xxl-10 { flex: 0 0 auto; width: 83.333333%; }
  .col-xxl-11 { flex: 0 0 auto; width: 91.666667%; }
  .col-xxl-12 { flex: 0 0 auto; width: 100%; }
  .col-xxl-auto { flex: 0 0 auto; width: auto; }
  .offset-xxl-0 { margin-left: 0%; }
  .offset-xxl-1 { margin-left: 8.333333%; }
  .offset-xxl-2 { margin-left: 16.666667%; }
  .offset-xxl-3 { margin-left: 25%; }
  .offset-xxl-4 { margin-left: 33.333333%; }
  .offset-xxl-5 { margin-left: 41.666667%; }
  .offset-xxl-6 { margin-left: 50%; }
  .offset-xxl-7 { margin-left: 58.333333%; }
  .offset-xxl-8 { margin-left: 66.666667%; }
  .offset-xxl-9 { margin-left: 75%; }
  .offset-xxl-10 { margin-left: 83.333333%; }
  .offset-xxl-11 { margin-left: 91.666667%; }
}

/* ---------- Display ---------- */
.d-none { display: none !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-block { display: block !important; }
.d-grid { display: grid !important; }
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }
@media (min-width: 576px) { .d-sm-none { display: none !important; } }
@media (min-width: 576px) { .d-sm-inline { display: inline !important; } }
@media (min-width: 576px) { .d-sm-inline-block { display: inline-block !important; } }
@media (min-width: 576px) { .d-sm-block { display: block !important; } }
@media (min-width: 576px) { .d-sm-grid { display: grid !important; } }
@media (min-width: 576px) { .d-sm-flex { display: flex !important; } }
@media (min-width: 576px) { .d-sm-inline-flex { display: inline-flex !important; } }
@media (min-width: 768px) { .d-md-none { display: none !important; } }
@media (min-width: 768px) { .d-md-inline { display: inline !important; } }
@media (min-width: 768px) { .d-md-inline-block { display: inline-block !important; } }
@media (min-width: 768px) { .d-md-block { display: block !important; } }
@media (min-width: 768px) { .d-md-grid { display: grid !important; } }
@media (min-width: 768px) { .d-md-flex { display: flex !important; } }
@media (min-width: 768px) { .d-md-inline-flex { display: inline-flex !important; } }
@media (min-width: 992px) { .d-lg-none { display: none !important; } }
@media (min-width: 992px) { .d-lg-inline { display: inline !important; } }
@media (min-width: 992px) { .d-lg-inline-block { display: inline-block !important; } }
@media (min-width: 992px) { .d-lg-block { display: block !important; } }
@media (min-width: 992px) { .d-lg-grid { display: grid !important; } }
@media (min-width: 992px) { .d-lg-flex { display: flex !important; } }
@media (min-width: 992px) { .d-lg-inline-flex { display: inline-flex !important; } }
@media (min-width: 1200px) { .d-xl-none { display: none !important; } }
@media (min-width: 1200px) { .d-xl-inline { display: inline !important; } }
@media (min-width: 1200px) { .d-xl-inline-block { display: inline-block !important; } }
@media (min-width: 1200px) { .d-xl-block { display: block !important; } }
@media (min-width: 1200px) { .d-xl-grid { display: grid !important; } }
@media (min-width: 1200px) { .d-xl-flex { display: flex !important; } }
@media (min-width: 1200px) { .d-xl-inline-flex { display: inline-flex !important; } }
@media (min-width: 1400px) { .d-xxl-none { display: none !important; } }
@media (min-width: 1400px) { .d-xxl-inline { display: inline !important; } }
@media (min-width: 1400px) { .d-xxl-inline-block { display: inline-block !important; } }
@media (min-width: 1400px) { .d-xxl-block { display: block !important; } }
@media (min-width: 1400px) { .d-xxl-grid { display: grid !important; } }
@media (min-width: 1400px) { .d-xxl-flex { display: flex !important; } }
@media (min-width: 1400px) { .d-xxl-inline-flex { display: inline-flex !important; } }

/* ---------- Flex ---------- */
.flex-row { flex-direction: row !important; }
.flex-column { flex-direction: column !important; }
.flex-row-reverse { flex-direction: row-reverse !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-nowrap { flex-wrap: nowrap !important; }
.flex-fill { flex: 1 1 auto !important; }
.flex-grow-0 { flex-grow: 0 !important; }
.flex-grow-1 { flex-grow: 1 !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }
.justify-content-start { justify-content: flex-start !important; }
.justify-content-end { justify-content: flex-end !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-around { justify-content: space-around !important; }
.justify-content-evenly { justify-content: space-evenly !important; }
.align-items-start { align-items: flex-start !important; }
.align-items-end { align-items: flex-end !important; }
.align-items-center { align-items: center !important; }
.align-items-baseline { align-items: baseline !important; }
.align-items-stretch { align-items: stretch !important; }
.align-self-start { align-self: flex-start !important; }
.align-self-end { align-self: flex-end !important; }
.align-self-center { align-self: center !important; }
@media (min-width: 576px) {
  .flex-sm-row { flex-direction: row !important; }
  .flex-sm-column { flex-direction: column !important; }
  .justify-content-sm-start { justify-content: flex-start !important; }
  .justify-content-sm-center { justify-content: center !important; }
  .justify-content-sm-between { justify-content: space-between !important; }
  .align-items-sm-center { align-items: center !important; }
}
@media (min-width: 768px) {
  .flex-md-row { flex-direction: row !important; }
  .flex-md-column { flex-direction: column !important; }
  .justify-content-md-start { justify-content: flex-start !important; }
  .justify-content-md-center { justify-content: center !important; }
  .justify-content-md-between { justify-content: space-between !important; }
  .align-items-md-center { align-items: center !important; }
}
@media (min-width: 992px) {
  .flex-lg-row { flex-direction: row !important; }
  .flex-lg-column { flex-direction: column !important; }
  .justify-content-lg-start { justify-content: flex-start !important; }
  .justify-content-lg-center { justify-content: center !important; }
  .justify-content-lg-between { justify-content: space-between !important; }
  .align-items-lg-center { align-items: center !important; }
}
@media (min-width: 1200px) {
  .flex-xl-row { flex-direction: row !important; }
  .flex-xl-column { flex-direction: column !important; }
  .justify-content-xl-start { justify-content: flex-start !important; }
  .justify-content-xl-center { justify-content: center !important; }
  .justify-content-xl-between { justify-content: space-between !important; }
  .align-items-xl-center { align-items: center !important; }
}
@media (min-width: 1400px) {
  .flex-xxl-row { flex-direction: row !important; }
  .flex-xxl-column { flex-direction: column !important; }
  .justify-content-xxl-start { justify-content: flex-start !important; }
  .justify-content-xxl-center { justify-content: center !important; }
  .justify-content-xxl-between { justify-content: space-between !important; }
  .align-items-xxl-center { align-items: center !important; }
}

/* ---------- Espaciado (margin/padding) ---------- */
.m-0 { margin: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.ms-0 { margin-left: 0 !important; }
.me-0 { margin-right: 0 !important; }
.mx-0 { margin-left: 0 !important; margin-right: 0 !important; }
.my-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
.m-1 { margin: 0.25rem !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.ms-1 { margin-left: 0.25rem !important; }
.me-1 { margin-right: 0.25rem !important; }
.mx-1 { margin-left: 0.25rem !important; margin-right: 0.25rem !important; }
.my-1 { margin-top: 0.25rem !important; margin-bottom: 0.25rem !important; }
.m-2 { margin: 0.5rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.ms-2 { margin-left: 0.5rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.mx-2 { margin-left: 0.5rem !important; margin-right: 0.5rem !important; }
.my-2 { margin-top: 0.5rem !important; margin-bottom: 0.5rem !important; }
.m-3 { margin: 1rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.ms-3 { margin-left: 1rem !important; }
.me-3 { margin-right: 1rem !important; }
.mx-3 { margin-left: 1rem !important; margin-right: 1rem !important; }
.my-3 { margin-top: 1rem !important; margin-bottom: 1rem !important; }
.m-4 { margin: 1.5rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.ms-4 { margin-left: 1.5rem !important; }
.me-4 { margin-right: 1.5rem !important; }
.mx-4 { margin-left: 1.5rem !important; margin-right: 1.5rem !important; }
.my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.m-5 { margin: 3rem !important; }
.mt-5 { margin-top: 3rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.ms-5 { margin-left: 3rem !important; }
.me-5 { margin-right: 3rem !important; }
.mx-5 { margin-left: 3rem !important; margin-right: 3rem !important; }
.my-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; }
.p-0 { padding: 0 !important; }
.pt-0 { padding-top: 0 !important; }
.pb-0 { padding-bottom: 0 !important; }
.ps-0 { padding-left: 0 !important; }
.pe-0 { padding-right: 0 !important; }
.px-0 { padding-left: 0 !important; padding-right: 0 !important; }
.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.p-1 { padding: 0.25rem !important; }
.pt-1 { padding-top: 0.25rem !important; }
.pb-1 { padding-bottom: 0.25rem !important; }
.ps-1 { padding-left: 0.25rem !important; }
.pe-1 { padding-right: 0.25rem !important; }
.px-1 { padding-left: 0.25rem !important; padding-right: 0.25rem !important; }
.py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
.p-2 { padding: 0.5rem !important; }
.pt-2 { padding-top: 0.5rem !important; }
.pb-2 { padding-bottom: 0.5rem !important; }
.ps-2 { padding-left: 0.5rem !important; }
.pe-2 { padding-right: 0.5rem !important; }
.px-2 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.pt-3 { padding-top: 1rem !important; }
.pb-3 { padding-bottom: 1rem !important; }
.ps-3 { padding-left: 1rem !important; }
.pe-3 { padding-right: 1rem !important; }
.px-3 { padding-left: 1rem !important; padding-right: 1rem !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.pt-4 { padding-top: 1.5rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.ps-4 { padding-left: 1.5rem !important; }
.pe-4 { padding-right: 1.5rem !important; }
.px-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.p-5 { padding: 3rem !important; }
.pt-5 { padding-top: 3rem !important; }
.pb-5 { padding-bottom: 3rem !important; }
.ps-5 { padding-left: 3rem !important; }
.pe-5 { padding-right: 3rem !important; }
.px-5 { padding-left: 3rem !important; padding-right: 3rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.m-auto { margin: auto !important; }
.ms-auto { margin-left: auto !important; }
.me-auto { margin-right: auto !important; }
.mt-auto { margin-top: auto !important; }
.mb-auto { margin-bottom: auto !important; }
.gap-0 { gap: 0 !important; }
.gap-1 { gap: 0.25rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }
.gap-5 { gap: 3rem !important; }
@media (min-width: 576px) {
  .m-sm-0 { margin: 0 !important; }
  .mb-sm-0 { margin-bottom: 0 !important; }
  .mt-sm-0 { margin-top: 0 !important; }
  .m-sm-1 { margin: 0.25rem !important; }
  .mb-sm-1 { margin-bottom: 0.25rem !important; }
  .mt-sm-1 { margin-top: 0.25rem !important; }
  .m-sm-2 { margin: 0.5rem !important; }
  .mb-sm-2 { margin-bottom: 0.5rem !important; }
  .mt-sm-2 { margin-top: 0.5rem !important; }
  .m-sm-3 { margin: 1rem !important; }
  .mb-sm-3 { margin-bottom: 1rem !important; }
  .mt-sm-3 { margin-top: 1rem !important; }
  .m-sm-4 { margin: 1.5rem !important; }
  .mb-sm-4 { margin-bottom: 1.5rem !important; }
  .mt-sm-4 { margin-top: 1.5rem !important; }
  .m-sm-5 { margin: 3rem !important; }
  .mb-sm-5 { margin-bottom: 3rem !important; }
  .mt-sm-5 { margin-top: 3rem !important; }
  .p-sm-0 { padding: 0 !important; }
  .pb-sm-0 { padding-bottom: 0 !important; }
  .pt-sm-0 { padding-top: 0 !important; }
  .p-sm-1 { padding: 0.25rem !important; }
  .pb-sm-1 { padding-bottom: 0.25rem !important; }
  .pt-sm-1 { padding-top: 0.25rem !important; }
  .p-sm-2 { padding: 0.5rem !important; }
  .pb-sm-2 { padding-bottom: 0.5rem !important; }
  .pt-sm-2 { padding-top: 0.5rem !important; }
  .p-sm-3 { padding: 1rem !important; }
  .pb-sm-3 { padding-bottom: 1rem !important; }
  .pt-sm-3 { padding-top: 1rem !important; }
  .p-sm-4 { padding: 1.5rem !important; }
  .pb-sm-4 { padding-bottom: 1.5rem !important; }
  .pt-sm-4 { padding-top: 1.5rem !important; }
  .p-sm-5 { padding: 3rem !important; }
  .pb-sm-5 { padding-bottom: 3rem !important; }
  .pt-sm-5 { padding-top: 3rem !important; }
}
@media (min-width: 768px) {
  .m-md-0 { margin: 0 !important; }
  .mb-md-0 { margin-bottom: 0 !important; }
  .mt-md-0 { margin-top: 0 !important; }
  .m-md-1 { margin: 0.25rem !important; }
  .mb-md-1 { margin-bottom: 0.25rem !important; }
  .mt-md-1 { margin-top: 0.25rem !important; }
  .m-md-2 { margin: 0.5rem !important; }
  .mb-md-2 { margin-bottom: 0.5rem !important; }
  .mt-md-2 { margin-top: 0.5rem !important; }
  .m-md-3 { margin: 1rem !important; }
  .mb-md-3 { margin-bottom: 1rem !important; }
  .mt-md-3 { margin-top: 1rem !important; }
  .m-md-4 { margin: 1.5rem !important; }
  .mb-md-4 { margin-bottom: 1.5rem !important; }
  .mt-md-4 { margin-top: 1.5rem !important; }
  .m-md-5 { margin: 3rem !important; }
  .mb-md-5 { margin-bottom: 3rem !important; }
  .mt-md-5 { margin-top: 3rem !important; }
  .p-md-0 { padding: 0 !important; }
  .pb-md-0 { padding-bottom: 0 !important; }
  .pt-md-0 { padding-top: 0 !important; }
  .p-md-1 { padding: 0.25rem !important; }
  .pb-md-1 { padding-bottom: 0.25rem !important; }
  .pt-md-1 { padding-top: 0.25rem !important; }
  .p-md-2 { padding: 0.5rem !important; }
  .pb-md-2 { padding-bottom: 0.5rem !important; }
  .pt-md-2 { padding-top: 0.5rem !important; }
  .p-md-3 { padding: 1rem !important; }
  .pb-md-3 { padding-bottom: 1rem !important; }
  .pt-md-3 { padding-top: 1rem !important; }
  .p-md-4 { padding: 1.5rem !important; }
  .pb-md-4 { padding-bottom: 1.5rem !important; }
  .pt-md-4 { padding-top: 1.5rem !important; }
  .p-md-5 { padding: 3rem !important; }
  .pb-md-5 { padding-bottom: 3rem !important; }
  .pt-md-5 { padding-top: 3rem !important; }
}
@media (min-width: 992px) {
  .m-lg-0 { margin: 0 !important; }
  .mb-lg-0 { margin-bottom: 0 !important; }
  .mt-lg-0 { margin-top: 0 !important; }
  .m-lg-1 { margin: 0.25rem !important; }
  .mb-lg-1 { margin-bottom: 0.25rem !important; }
  .mt-lg-1 { margin-top: 0.25rem !important; }
  .m-lg-2 { margin: 0.5rem !important; }
  .mb-lg-2 { margin-bottom: 0.5rem !important; }
  .mt-lg-2 { margin-top: 0.5rem !important; }
  .m-lg-3 { margin: 1rem !important; }
  .mb-lg-3 { margin-bottom: 1rem !important; }
  .mt-lg-3 { margin-top: 1rem !important; }
  .m-lg-4 { margin: 1.5rem !important; }
  .mb-lg-4 { margin-bottom: 1.5rem !important; }
  .mt-lg-4 { margin-top: 1.5rem !important; }
  .m-lg-5 { margin: 3rem !important; }
  .mb-lg-5 { margin-bottom: 3rem !important; }
  .mt-lg-5 { margin-top: 3rem !important; }
  .p-lg-0 { padding: 0 !important; }
  .pb-lg-0 { padding-bottom: 0 !important; }
  .pt-lg-0 { padding-top: 0 !important; }
  .p-lg-1 { padding: 0.25rem !important; }
  .pb-lg-1 { padding-bottom: 0.25rem !important; }
  .pt-lg-1 { padding-top: 0.25rem !important; }
  .p-lg-2 { padding: 0.5rem !important; }
  .pb-lg-2 { padding-bottom: 0.5rem !important; }
  .pt-lg-2 { padding-top: 0.5rem !important; }
  .p-lg-3 { padding: 1rem !important; }
  .pb-lg-3 { padding-bottom: 1rem !important; }
  .pt-lg-3 { padding-top: 1rem !important; }
  .p-lg-4 { padding: 1.5rem !important; }
  .pb-lg-4 { padding-bottom: 1.5rem !important; }
  .pt-lg-4 { padding-top: 1.5rem !important; }
  .p-lg-5 { padding: 3rem !important; }
  .pb-lg-5 { padding-bottom: 3rem !important; }
  .pt-lg-5 { padding-top: 3rem !important; }
}
@media (min-width: 1200px) {
  .m-xl-0 { margin: 0 !important; }
  .mb-xl-0 { margin-bottom: 0 !important; }
  .mt-xl-0 { margin-top: 0 !important; }
  .m-xl-1 { margin: 0.25rem !important; }
  .mb-xl-1 { margin-bottom: 0.25rem !important; }
  .mt-xl-1 { margin-top: 0.25rem !important; }
  .m-xl-2 { margin: 0.5rem !important; }
  .mb-xl-2 { margin-bottom: 0.5rem !important; }
  .mt-xl-2 { margin-top: 0.5rem !important; }
  .m-xl-3 { margin: 1rem !important; }
  .mb-xl-3 { margin-bottom: 1rem !important; }
  .mt-xl-3 { margin-top: 1rem !important; }
  .m-xl-4 { margin: 1.5rem !important; }
  .mb-xl-4 { margin-bottom: 1.5rem !important; }
  .mt-xl-4 { margin-top: 1.5rem !important; }
  .m-xl-5 { margin: 3rem !important; }
  .mb-xl-5 { margin-bottom: 3rem !important; }
  .mt-xl-5 { margin-top: 3rem !important; }
  .p-xl-0 { padding: 0 !important; }
  .pb-xl-0 { padding-bottom: 0 !important; }
  .pt-xl-0 { padding-top: 0 !important; }
  .p-xl-1 { padding: 0.25rem !important; }
  .pb-xl-1 { padding-bottom: 0.25rem !important; }
  .pt-xl-1 { padding-top: 0.25rem !important; }
  .p-xl-2 { padding: 0.5rem !important; }
  .pb-xl-2 { padding-bottom: 0.5rem !important; }
  .pt-xl-2 { padding-top: 0.5rem !important; }
  .p-xl-3 { padding: 1rem !important; }
  .pb-xl-3 { padding-bottom: 1rem !important; }
  .pt-xl-3 { padding-top: 1rem !important; }
  .p-xl-4 { padding: 1.5rem !important; }
  .pb-xl-4 { padding-bottom: 1.5rem !important; }
  .pt-xl-4 { padding-top: 1.5rem !important; }
  .p-xl-5 { padding: 3rem !important; }
  .pb-xl-5 { padding-bottom: 3rem !important; }
  .pt-xl-5 { padding-top: 3rem !important; }
}
@media (min-width: 1400px) {
  .m-xxl-0 { margin: 0 !important; }
  .mb-xxl-0 { margin-bottom: 0 !important; }
  .mt-xxl-0 { margin-top: 0 !important; }
  .m-xxl-1 { margin: 0.25rem !important; }
  .mb-xxl-1 { margin-bottom: 0.25rem !important; }
  .mt-xxl-1 { margin-top: 0.25rem !important; }
  .m-xxl-2 { margin: 0.5rem !important; }
  .mb-xxl-2 { margin-bottom: 0.5rem !important; }
  .mt-xxl-2 { margin-top: 0.5rem !important; }
  .m-xxl-3 { margin: 1rem !important; }
  .mb-xxl-3 { margin-bottom: 1rem !important; }
  .mt-xxl-3 { margin-top: 1rem !important; }
  .m-xxl-4 { margin: 1.5rem !important; }
  .mb-xxl-4 { margin-bottom: 1.5rem !important; }
  .mt-xxl-4 { margin-top: 1.5rem !important; }
  .m-xxl-5 { margin: 3rem !important; }
  .mb-xxl-5 { margin-bottom: 3rem !important; }
  .mt-xxl-5 { margin-top: 3rem !important; }
  .p-xxl-0 { padding: 0 !important; }
  .pb-xxl-0 { padding-bottom: 0 !important; }
  .pt-xxl-0 { padding-top: 0 !important; }
  .p-xxl-1 { padding: 0.25rem !important; }
  .pb-xxl-1 { padding-bottom: 0.25rem !important; }
  .pt-xxl-1 { padding-top: 0.25rem !important; }
  .p-xxl-2 { padding: 0.5rem !important; }
  .pb-xxl-2 { padding-bottom: 0.5rem !important; }
  .pt-xxl-2 { padding-top: 0.5rem !important; }
  .p-xxl-3 { padding: 1rem !important; }
  .pb-xxl-3 { padding-bottom: 1rem !important; }
  .pt-xxl-3 { padding-top: 1rem !important; }
  .p-xxl-4 { padding: 1.5rem !important; }
  .pb-xxl-4 { padding-bottom: 1.5rem !important; }
  .pt-xxl-4 { padding-top: 1.5rem !important; }
  .p-xxl-5 { padding: 3rem !important; }
  .pb-xxl-5 { padding-bottom: 3rem !important; }
  .pt-xxl-5 { padding-top: 3rem !important; }
}

/* ---------- Texto ---------- */
.text-start { text-align: left !important; }
.text-end { text-align: right !important; }
.text-center { text-align: center !important; }
.text-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.text-uppercase { text-transform: uppercase !important; }
.text-lowercase { text-transform: lowercase !important; }
.text-capitalize { text-transform: capitalize !important; }
.text-wrap { white-space: normal !important; }
.text-nowrap { white-space: nowrap !important; }
.fw-light { font-weight: 300 !important; }
.fw-normal { font-weight: 400 !important; }
.fw-medium { font-weight: 500 !important; }
.fw-semibold { font-weight: 600 !important; }
.fw-bold { font-weight: 700 !important; }
.fst-italic { font-style: italic !important; }
.fst-lighter { font-weight: lighter !important; }
.fs-1 { font-size: 2.5rem !important; }
.fs-2 { font-size: 2rem !important; }
.fs-3 { font-size: 1.5rem !important; }
.fs-4 { font-size: 1.25rem !important; }
.fs-5 { font-size: 1.1rem !important; }
.fs-6 { font-size: 1rem !important; }
.small { font-size: 0.875em; }
.lh-1 { line-height: 1 !important; }

/* ---------- Tamaño ---------- */
.w-25 { width: 25% !important; }
.w-50 { width: 50% !important; }
.w-75 { width: 75% !important; }
.w-100 { width: 100% !important; }
.w-auto { width: auto !important; }
.h-25 { height: 25% !important; }
.h-50 { height: 50% !important; }
.h-75 { height: 75% !important; }
.h-100 { height: 100% !important; }
.h-auto { height: auto !important; }
.mw-100 { max-width: 100% !important; }
.mh-100 { max-height: 100% !important; }
.vh-100 { height: 100vh !important; }
.min-vh-100 { min-height: 100vh !important; }

/* ---------- Posición y overflow ---------- */
.position-static { position: static !important; }
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.position-fixed { position: fixed !important; }
.position-sticky { position: sticky !important; }
.top-0 { top: 0 !important; }
.bottom-0 { bottom: 0 !important; }
.start-0 { left: 0 !important; }
.end-0 { right: 0 !important; }
.overflow-auto { overflow: auto !important; }
.overflow-hidden { overflow: hidden !important; }
.overflow-x-auto { overflow-x: auto !important; }
.overflow-y-auto { overflow-y: auto !important; }

/* ---------- Bordes y esquinas ---------- */
.border { border: 1px solid rgba(0,0,0,0.08) !important; }
.border-0 { border: none !important; }
.border-top { border-top: 1px solid rgba(0,0,0,0.08) !important; }
.border-bottom { border-bottom: 1px solid rgba(0,0,0,0.08) !important; }
.rounded { border-radius: 8px !important; }
.rounded-0 { border-radius: 0 !important; }
.rounded-1 { border-radius: 4px !important; }
.rounded-2 { border-radius: 8px !important; }
.rounded-3 { border-radius: 12px !important; }
.rounded-circle { border-radius: 50% !important; }
.rounded-pill { border-radius: 999px !important; }

/* ---------- Varios ---------- */
.cursor-pointer { cursor: pointer !important; }
.shadow-none { box-shadow: none !important; }
.invisible { visibility: hidden !important; }
.visible { visibility: visible !important; }

/* ============================================================
   Mecánica estructural de componentes que bootstrap.bundle.min.js
   sigue controlando por JS (solo alterna clases/ARIA — el JS se
   mantiene sin tocar; lo de aquí abajo es la CSS que le falta desde
   que ya no se carga la de Bootstrap/Sneat).
   ============================================================ */

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1055;
  display: none;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
}
.modal.fade .modal-dialog {
  transition: transform 0.2s ease-out;
  transform: translate(0, -40px);
}
.modal.show .modal-dialog {
  transform: none;
}
.modal-dialog {
  position: relative;
  width: auto;
  margin: 1.75rem auto;
  max-width: 500px;
  pointer-events: none;
}
.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 3.5rem);
}
.modal-dialog-scrollable { height: calc(100% - 3.5rem); }
.modal-dialog-scrollable .modal-content { max-height: 100%; overflow: hidden; }
.modal-dialog-scrollable .modal-body { overflow-y: auto; }
.modal-sm { max-width: 300px; }
.modal-lg { max-width: 800px; }
.modal-xl { max-width: 1140px; }
@media (max-width: 800px) { .modal-lg, .modal-xl { max-width: calc(100% - 1.75rem); } }

.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #fff;
  outline: 0;
}
.modal-header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.modal-title { margin: 0; font-size: 1.1rem; font-weight: 600; }
.modal-body { flex: 1 1 auto; padding: 1.25rem; }
.modal-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  width: 100vw;
  height: 100vh;
  background-color: #000;
}
.modal-backdrop.fade { opacity: 0; transition: opacity 0.15s linear; }
.modal-backdrop.show { opacity: 0.5; }
body.modal-open { overflow: hidden; }
.fade { transition: opacity 0.15s linear; }
.fade:not(.show) { opacity: 0; }

/* ---------- Botón de cerrar (X) ---------- */
.btn-close {
  box-sizing: content-box;
  width: 0.9em;
  height: 0.9em;
  padding: 0.3em;
  color: #000;
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
  border: 0;
  border-radius: 8px;
  opacity: 0.6;
  cursor: pointer;
}
.btn-close:hover { opacity: 1; }
.btn-close-white { filter: invert(1) grayscale(100%) brightness(200%); }

/* ---------- Dropdown (menú de usuario, acciones) ---------- */
.dropdown, .dropdown-menu-end, .navbar-dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  z-index: 1060;
  display: none;
  min-width: 12rem;
  margin: 0.25rem 0 0;
  padding: 0.5rem 0;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  list-style: none;
  top: 100%;
  left: 0;
}
.dropdown-menu.show { display: block; }
.dropdown-menu-end { --sigi-position: end; }
.dropdown-menu-end.dropdown-menu.show { left: auto; right: 0; }
.dropdown-item {
  display: block;
  width: 100%;
  padding: 0.5rem 1.1rem;
  clear: both;
  color: #3d4552;
  text-align: inherit;
  text-decoration: none;
  white-space: nowrap;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.dropdown-item:hover, .dropdown-item:focus { background-color: rgba(105, 108, 255, 0.08); color: #3d4552; }
.dropdown-item.active, .dropdown-item:active { background-color: rgba(105, 108, 255, 0.14); color: #4b4ec9; }
.dropdown-divider {
  height: 0;
  margin: 0.4rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.4em;
  vertical-align: 0.2em;
  content: "";
  border-top: 0.32em solid;
  border-right: 0.32em solid transparent;
  border-bottom: 0;
  border-left: 0.32em solid transparent;
}
.hide-arrow::after { display: none; }

/* ---------- Alertas ---------- */
.alert {
  position: relative;
  padding: 0.85rem 1.1rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 12px;
}
.alert-sm { padding: 0.5rem 0.75rem; font-size: 0.85rem; }
.alert-dismissible { padding-right: 3rem; }
.alert-dismissible .btn-close { position: absolute; top: 0.6rem; right: 0.75rem; }
.alert-heading { color: inherit; font-weight: 600; }
.alert-info { color: #0c5c72; background-color: #d7f2f9; border-color: #c3ecf7; }
.alert-success { color: #1a7a3d; background-color: #d7f5e3; border-color: #c3f0d6; }
.alert-warning { color: #8a6410; background-color: #fff2d6; border-color: #ffe9b8; }
.alert-danger { color: #9c1c0f; background-color: #ffe1dc; border-color: #ffcdc5; }
.alert-light { color: #4a5262; background-color: #f7f9fc; border-color: #eef1f6; }
.alert-primary { color: #4b4ec9; background-color: #eceaff; border-color: #ded9ff; }

/* ---------- Badges ---------- */
/* :not(.menu-link):not(.menu-toggle) porque aside.php reutiliza .badge en
   el propio <a class="menu-link menu-toggle badge ..."> de cada grupo del
   menú lateral (para el color de fondo), no como una insignia chica — sin
   esto, este display:inline-block le rompía el layout a ese enlace. */
.badge:not(.menu-link):not(.menu-toggle) {
  display: inline-block;
  padding: 0.32em 0.6em;
  font-size: 0.75em;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 999px;
}
.badge.bg-success { background-color: #16a34a !important; }
.badge.bg-danger { background-color: #dc2626 !important; }
.badge.bg-warning { background-color: #d97706 !important; color: #fff !important; }
.badge.bg-info { background-color: #0891b2 !important; }
.badge.bg-primary { background-color: var(--sk-primary-to, #5f62e8) !important; }
.badge.bg-secondary { background-color: #6c7784 !important; }
.badge.bg-label-primary { background-color: rgba(95, 98, 232, 0.14) !important; color: #4b4ec9 !important; }
.badge.bg-label-secondary { background-color: rgba(108, 119, 132, 0.14) !important; color: #4a5262 !important; }
.badge.bg-label-success { background-color: rgba(22, 163, 74, 0.14) !important; color: #16803d !important; }
.badge.bg-label-danger { background-color: rgba(220, 38, 38, 0.14) !important; color: #b91c1c !important; }
.badge.bg-label-warning { background-color: rgba(217, 119, 6, 0.14) !important; color: #b45309 !important; }
.badge.bg-label-info { background-color: rgba(8, 145, 178, 0.14) !important; color: #0e7490 !important; }

/* ---------- Tablas ---------- */
.table {
  width: 100%;
  margin-bottom: 1rem;
  vertical-align: middle;
  border-collapse: collapse;
}
.table > :not(caption) > * > * {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}
.table > thead {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #6c7784;
  background-color: #f7f9fc;
}
.table-hover > tbody > tr:hover > * { background-color: rgba(105, 108, 255, 0.05); }
.table-striped > tbody > tr:nth-of-type(odd) > * { background-color: rgba(0, 0, 0, 0.015); }
.table-bordered th, .table-bordered td { border: 1px solid rgba(0, 0, 0, 0.07); }
.table-sm > :not(caption) > * > * { padding: 0.4rem 0.5rem; }
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.breadcrumb-item { color: #8592a3; }
.breadcrumb-item + .breadcrumb-item { margin-left: 0.5rem; }
.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  margin-right: 0.5rem;
  color: #c2c9d3;
}
.breadcrumb-item a { color: #6c7784; text-decoration: none; }
.breadcrumb-item a:hover { color: #4b4ec9; }
.breadcrumb-item.active { color: #4b4ec9; font-weight: 500; }

/* ---------- Nav / tabs ---------- */
.nav { display: flex; flex-wrap: wrap; padding: 0; margin: 0; list-style: none; }
.nav-link { display: block; padding: 0.5rem 1rem; color: #566a7f; text-decoration: none; cursor: pointer; }
.nav-link.active { color: #4b4ec9; }
.nav-link.disabled { color: #b6bfca; pointer-events: none; }
.nav-pills .nav-link.active { background-color: rgba(105, 108, 255, 0.12); border-radius: 8px; }
.nav-tabs { border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.nav-tabs .nav-link { border: 1px solid transparent; border-top-left-radius: 8px; border-top-right-radius: 8px; margin-bottom: -1px; }
.nav-tabs .nav-link.active { border-color: rgba(0,0,0,0.08) rgba(0,0,0,0.08) #fff; background-color: #fff; }
.tab-content > .tab-pane { display: none; }
.tab-content > .active { display: block; }

/* ---------- Avatar ---------- */
.avatar { position: relative; display: inline-flex; }
.avatar img { width: 100%; border-radius: 50%; object-fit: cover; }
.avatar-online::before, .avatar-offline::before, .avatar-busy::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0.65em;
  height: 0.65em;
  border-radius: 50%;
  border: 2px solid #fff;
}
.avatar-online::before { background-color: #16a34a; }
.avatar-offline::before { background-color: #9aa5b1; }
.avatar-busy::before { background-color: #dc2626; }

/* ---------- Tarjeta: subcomponentes (.card en sí se tematiza en
   css/skeuomorphic-servidor.css; esto es la estructura que le faltaba) ---------- */
.card { display: flex; flex-direction: column; min-width: 0; word-wrap: break-word; }
.card-body { flex: 1 1 auto; padding: 1.25rem; }
.card-header {
  padding: 0.85rem 1.25rem;
  background-color: rgba(0, 0, 0, 0.015);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.card-header:first-child { border-radius: calc(var(--sk-radius-lg, 18px) - 1px) calc(var(--sk-radius-lg, 18px) - 1px) 0 0; }
.card-footer {
  padding: 0.85rem 1.25rem;
  background-color: rgba(0, 0, 0, 0.015);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.card-footer:last-child { border-radius: 0 0 calc(var(--sk-radius-lg, 18px) - 1px) calc(var(--sk-radius-lg, 18px) - 1px); }
.card-img-top { width: 100%; border-top-left-radius: calc(var(--sk-radius-lg, 18px) - 1px); border-top-right-radius: calc(var(--sk-radius-lg, 18px) - 1px); }
.card-title { margin-bottom: 0.5rem; font-weight: 600; }
.card-subtitle { margin-top: -0.25rem; margin-bottom: 0.5rem; color: #8592a3; }
.card-text:last-child { margin-bottom: 0; }

/* ---------- List group ---------- */
.list-group { display: flex; flex-direction: column; padding-left: 0; margin-bottom: 0; border-radius: 12px; overflow: hidden; }
.list-group-item {
  position: relative;
  display: block;
  padding: 0.65rem 1rem;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-top-width: 0;
}
.list-group-item:first-child { border-top-width: 1px; }
.list-group-item.active { background-color: rgba(105, 108, 255, 0.1); color: #4b4ec9; }

/* ---------- Formularios: variantes que faltaban ---------- */
.form-check { display: block; min-height: 1.4rem; padding-left: 1.6em; margin-bottom: 0.2rem; }
.form-check .form-check-input { float: left; margin-left: -1.6em; }
.form-check-input {
  width: 1.1em;
  height: 1.1em;
  margin-top: 0.2em;
  vertical-align: top;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  appearance: none;
  border-radius: 4px;
  cursor: pointer;
}
.form-check-input[type="radio"] { border-radius: 50%; }
.form-check-input:checked { background-color: var(--sk-primary-to, #5f62e8); border-color: var(--sk-primary-to, #5f62e8); }
.form-check-input:checked[type="checkbox"] {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23fff'%3e%3cpath d='M6 10l3 3 6-6' stroke='%23fff' stroke-width='2' fill='none'/%3e%3c/svg%3e");
  background-size: contain;
}
.form-check-input:checked[type="radio"] {
  background-image: radial-gradient(circle, #fff 40%, transparent 42%);
}
.form-check-label { cursor: pointer; }
.form-check-inline { display: inline-flex; align-items: center; margin-right: 1rem; }
.form-text { font-size: 0.8rem; color: #8592a3; margin-top: 0.25rem; }
textarea.form-control { min-height: 80px; }

/* ---------- Tooltip / Popover (bootstrap.bundle.min.js los posiciona
   con Popper vía estilo inline; esto solo define la apariencia) ---------- */
.tooltip {
  position: absolute;
  z-index: 1080;
  display: block;
  font-size: 0.8rem;
  opacity: 0;
  transition: opacity 0.1s linear;
}
.tooltip.show { opacity: 0.95; }
.tooltip-inner {
  max-width: 220px;
  padding: 0.4rem 0.7rem;
  color: #fff;
  text-align: center;
  background-color: #3d4552;
  border-radius: 8px;
}
.tooltip-arrow { position: absolute; width: 0.6rem; height: 0.4rem; }
.tooltip-arrow::before {
  content: "";
  position: absolute;
  border-color: transparent;
  border-style: solid;
}
.bs-tooltip-top .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow { bottom: 0; }
.bs-tooltip-top .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow::before {
  top: -1px; border-width: 0.4rem 0.3rem 0; border-top-color: #3d4552;
}
.bs-tooltip-bottom .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^="bottom"] .tooltip-arrow { top: 0; }
.bs-tooltip-bottom .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^="bottom"] .tooltip-arrow::before {
  bottom: -1px; border-width: 0 0.3rem 0.4rem; border-bottom-color: #3d4552;
}
.bs-tooltip-start .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^="left"] .tooltip-arrow { right: 0; width: 0.4rem; height: 0.6rem; }
.bs-tooltip-start .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^="left"] .tooltip-arrow::before {
  left: -1px; border-width: 0.3rem 0 0.3rem 0.4rem; border-left-color: #3d4552;
}
.bs-tooltip-end .tooltip-arrow, .bs-tooltip-auto[data-popper-placement^="right"] .tooltip-arrow { left: 0; width: 0.4rem; height: 0.6rem; }
.bs-tooltip-end .tooltip-arrow::before, .bs-tooltip-auto[data-popper-placement^="right"] .tooltip-arrow::before {
  right: -1px; border-width: 0.3rem 0.4rem 0.3rem 0; border-right-color: #3d4552;
}

.popover {
  position: absolute;
  z-index: 1070;
  display: block;
  max-width: 280px;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}
.popover-header {
  padding: 0.6rem 0.9rem;
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  background-color: #f7f9fc;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  border-top-left-radius: 11px;
  border-top-right-radius: 11px;
}
.popover-body { padding: 0.75rem 0.9rem; color: #4a5262; font-size: 0.85rem; }
.popover-arrow { position: absolute; width: 0.8rem; height: 0.5rem; }
.popover-arrow::before, .popover-arrow::after {
  content: "";
  position: absolute;
  border-color: transparent;
  border-style: solid;
}
.bs-popover-top .popover-arrow, [data-popper-placement^="top"] .popover-arrow { bottom: -0.5rem; }
.bs-popover-top .popover-arrow::after, [data-popper-placement^="top"] .popover-arrow::after {
  border-width: 0.5rem 0.4rem 0; border-top-color: #fff; top: -1px;
}
.bs-popover-bottom .popover-arrow, [data-popper-placement^="bottom"] .popover-arrow { top: -0.5rem; }
.bs-popover-bottom .popover-arrow::after, [data-popper-placement^="bottom"] .popover-arrow::after {
  border-width: 0 0.4rem 0.5rem; border-bottom-color: #fff; bottom: -1px;
}

/* ---------- Paginación ---------- */
.pagination { display: flex; padding: 0; margin: 0; list-style: none; gap: 4px; }
.page-item .page-link {
  display: block;
  padding: 0.4rem 0.7rem;
  color: #566a7f;
  text-decoration: none;
  background-color: var(--sk-surface, #eef1f6);
  border-radius: 8px;
  cursor: pointer;
}
.page-item.active .page-link {
  background: linear-gradient(145deg, var(--sk-primary-from, #7477ff), var(--sk-primary-to, #5f62e8));
  color: #fff;
}
.page-item.disabled .page-link { color: #c2c9d3; pointer-events: none; }

/* ---------- Acordeón ---------- */
.accordion-item {
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}
.accordion-header { margin: 0; }
.accordion-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.85rem 1.1rem;
  font-weight: 500;
  color: #3d4552;
  background-color: #fff;
  border: 0;
  cursor: pointer;
}
.accordion-button::after {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  margin-left: auto;
  border-right: 2px solid #8592a3;
  border-bottom: 2px solid #8592a3;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.accordion-button.collapsed::after { transform: rotate(-45deg); }
.accordion-button:not(.collapsed) { background-color: rgba(105, 108, 255, 0.06); color: #4b4ec9; }
.accordion-collapse { overflow: hidden; }
.accordion-collapse.collapse:not(.show) { display: none; }
.accordion-collapsing { height: 0; overflow: hidden; transition: height 0.2s ease; }
.accordion-body { padding: 1rem 1.1rem; }

.collapse:not(.show) { display: none; }
.collapsing { height: 0; overflow: hidden; transition: height 0.2s ease; }
