/* =========================================================================
   scorer-base.css — panel2 (08-10-2026): BASE PROPIA en lugar de Tabler/Bootstrap.
   Reinicio, rejilla (row / col-*), utilidades (d-*, m-*, p-*, text-*...) y
   componentes (botones, campos, tablas, avisos, etiquetas, tarjetas, ventanas,
   desplegables, pestañas) con los mismos nombres de clase que usaban las
   pantallas, para no tener que cargar nada de Tabler. Va ANTES de styles.css
   y de scorer.css (que afinan el aspecto).
   ========================================================================= */
:root {
	--sc-primary: #2563B8; --sc-primary-rgb: 37, 99, 184;
	--sc-secondary: #566273; --sc-border-color: #DDE2E9; --sc-border-color-darker: #C8D0DB;
	--sc-border-radius: 4px; --sc-bg-surface: #fff; --sc-bg-surface-secondary: #F5F7FA;
	--sc-danger: #B42318; --sc-danger-rgb: 180, 35, 24; --sc-success: #17603C; --sc-warning: #8A4A06; --sc-info: #1D4E91;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif; font-size: 14px; line-height: 1.43; color: #18212C; background: #F2F4F7; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { margin: 0 0 .5rem; font-weight: 600; line-height: 1.2; color: inherit; }
h1, .h1 { font-size: 1.5rem; } h2, .h2 { font-size: 1.25rem; } h3, .h3 { font-size: 1.125rem; } h4, .h4 { font-size: 1rem; } h5, .h5 { font-size: .875rem; } h6, .h6 { font-size: .75rem; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 2rem; }
b, strong { font-weight: 600; }
small, .small { font-size: 85.714285%; }
a { color: var(--sc-primary); text-decoration: none; }
a:hover { color: var(--sc-accent-hover); text-decoration: underline; }
img, svg { vertical-align: middle; }
img { max-width: 100%; }
table { border-collapse: collapse; caption-side: bottom; }
th { text-align: inherit; font-weight: 600; }
label { display: inline-block; }
button, input, select, textarea { margin: 0; font-family: inherit; font-size: inherit; line-height: inherit; color: inherit; }
button, select { text-transform: none; }
button, [type=button], [type=reset], [type=submit] { -webkit-appearance: button; cursor: pointer; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
hr { margin: 1rem 0; border: 0; border-top: 1px solid var(--sc-border-color); }
[hidden] { display: none !important; }

.container, .container-xl, .container-fluid, .container-tight { width: 100%; margin-left: auto; margin-right: auto; padding-left: .75rem; padding-right: .75rem; }
.container-xl { max-width: 1320px; } .container-tight { max-width: 30rem; }
@media (min-width: 576px) { .container { max-width: 540px; } } @media (min-width: 768px) { .container { max-width: 720px; } } @media (min-width: 992px) { .container { max-width: 960px; } } @media (min-width: 1200px) { .container { max-width: 1140px; } }
.container.container-tight, .container-tight { max-width: 30rem; }
.row { --gx: 1.5rem; --gy: 0; display: flex; flex-wrap: wrap; margin-top: calc(-1 * var(--gy)); margin-left: calc(-.5 * var(--gx)); margin-right: calc(-.5 * var(--gx)); }
.row > * { flex-shrink: 0; width: 100%; max-width: 100%; padding-left: calc(var(--gx) * .5); padding-right: calc(var(--gx) * .5); margin-top: var(--gy); }
.row-cards { --gx: 1rem; --gy: 1rem; min-width: 0; }
.g-0 { --gx: 0; --gy: 0; } .gx-0 { --gx: 0; } .gy-0 { --gy: 0; }
.g-1 { --gx: .25rem; --gy: .25rem; } .gx-1 { --gx: .25rem; } .gy-1 { --gy: .25rem; }
.g-2 { --gx: .5rem; --gy: .5rem; } .gx-2 { --gx: .5rem; } .gy-2 { --gy: .5rem; }
.g-3 { --gx: 1rem; --gy: 1rem; } .gx-3 { --gx: 1rem; } .gy-3 { --gy: 1rem; }
.g-4 { --gx: 1.5rem; --gy: 1.5rem; } .gx-4 { --gx: 1.5rem; } .gy-4 { --gy: 1.5rem; }
.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.0%; } .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.0%; } .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.0%; } .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.0%; } .row-cols-1 > * { flex: 0 0 auto; width: 100.0%; } .row-cols-2 > * { flex: 0 0 auto; width: 50.0%; } .row-cols-3 > * { flex: 0 0 auto; width: 33.333333%; } .row-cols-4 > * { flex: 0 0 auto; width: 25.0%; }
@media (min-width: 576px) { .col-sm { flex: 1 0 0%; } .col-sm-auto { flex: 0 0 auto; width: auto; } .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.0%; } .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.0%; } .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.0%; } .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.0%; } .row-cols-sm-1 > * { flex: 0 0 auto; width: 100.0%; } .row-cols-sm-2 > * { flex: 0 0 auto; width: 50.0%; } .row-cols-sm-3 > * { flex: 0 0 auto; width: 33.333333%; } .row-cols-sm-4 > * { flex: 0 0 auto; width: 25.0%; } }
@media (min-width: 768px) { .col-md { flex: 1 0 0%; } .col-md-auto { flex: 0 0 auto; width: auto; } .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.0%; } .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.0%; } .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.0%; } .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.0%; } .row-cols-md-1 > * { flex: 0 0 auto; width: 100.0%; } .row-cols-md-2 > * { flex: 0 0 auto; width: 50.0%; } .row-cols-md-3 > * { flex: 0 0 auto; width: 33.333333%; } .row-cols-md-4 > * { flex: 0 0 auto; width: 25.0%; } }
@media (min-width: 992px) { .col-lg { flex: 1 0 0%; } .col-lg-auto { flex: 0 0 auto; width: auto; } .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.0%; } .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.0%; } .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.0%; } .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.0%; } .row-cols-lg-1 > * { flex: 0 0 auto; width: 100.0%; } .row-cols-lg-2 > * { flex: 0 0 auto; width: 50.0%; } .row-cols-lg-3 > * { flex: 0 0 auto; width: 33.333333%; } .row-cols-lg-4 > * { flex: 0 0 auto; width: 25.0%; } }
@media (min-width: 1200px) { .col-xl { flex: 1 0 0%; } .col-xl-auto { flex: 0 0 auto; width: auto; } .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.0%; } .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.0%; } .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.0%; } .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.0%; } .row-cols-xl-1 > * { flex: 0 0 auto; width: 100.0%; } .row-cols-xl-2 > * { flex: 0 0 auto; width: 50.0%; } .row-cols-xl-3 > * { flex: 0 0 auto; width: 33.333333%; } .row-cols-xl-4 > * { flex: 0 0 auto; width: 25.0%; } }
.d-none { display: none !important; } .d-inline { display: inline !important; } .d-inline-block { display: inline-block !important; } .d-block { display: block !important; } .d-flex { display: flex !important; } .d-inline-flex { display: inline-flex !important; } .d-table-cell { display: table-cell !important; } .d-grid { display: grid !important; } .m-0 { margin: 0 !important; } .mt-0, .my-0 { margin-top: 0 !important; } .mb-0, .my-0 { margin-bottom: 0 !important; } .ms-0, .mx-0 { margin-left: 0 !important; } .me-0, .mx-0 { margin-right: 0 !important; } .m-1 { margin: .25rem !important; } .mt-1, .my-1 { margin-top: .25rem !important; } .mb-1, .my-1 { margin-bottom: .25rem !important; } .ms-1, .mx-1 { margin-left: .25rem !important; } .me-1, .mx-1 { margin-right: .25rem !important; } .m-2 { margin: .5rem !important; } .mt-2, .my-2 { margin-top: .5rem !important; } .mb-2, .my-2 { margin-bottom: .5rem !important; } .ms-2, .mx-2 { margin-left: .5rem !important; } .me-2, .mx-2 { margin-right: .5rem !important; } .m-3 { margin: 1rem !important; } .mt-3, .my-3 { margin-top: 1rem !important; } .mb-3, .my-3 { margin-bottom: 1rem !important; } .ms-3, .mx-3 { margin-left: 1rem !important; } .me-3, .mx-3 { margin-right: 1rem !important; } .m-4 { margin: 1.5rem !important; } .mt-4, .my-4 { margin-top: 1.5rem !important; } .mb-4, .my-4 { margin-bottom: 1.5rem !important; } .ms-4, .mx-4 { margin-left: 1.5rem !important; } .me-4, .mx-4 { margin-right: 1.5rem !important; } .m-5 { margin: 2rem !important; } .mt-5, .my-5 { margin-top: 2rem !important; } .mb-5, .my-5 { margin-bottom: 2rem !important; } .ms-5, .mx-5 { margin-left: 2rem !important; } .me-5, .mx-5 { margin-right: 2rem !important; } .m-6 { margin: 3rem !important; } .mt-6, .my-6 { margin-top: 3rem !important; } .mb-6, .my-6 { margin-bottom: 3rem !important; } .ms-6, .mx-6 { margin-left: 3rem !important; } .me-6, .mx-6 { margin-right: 3rem !important; } .m-auto { margin: auto !important; } .mt-auto, .my-auto { margin-top: auto !important; } .mb-auto, .my-auto { margin-bottom: auto !important; } .ms-auto, .mx-auto { margin-left: auto !important; } .me-auto, .mx-auto { margin-right: auto !important; } .p-0 { padding: 0 !important; } .pt-0, .py-0 { padding-top: 0 !important; } .pb-0, .py-0 { padding-bottom: 0 !important; } .ps-0, .px-0 { padding-left: 0 !important; } .pe-0, .px-0 { padding-right: 0 !important; } .p-1 { padding: .25rem !important; } .pt-1, .py-1 { padding-top: .25rem !important; } .pb-1, .py-1 { padding-bottom: .25rem !important; } .ps-1, .px-1 { padding-left: .25rem !important; } .pe-1, .px-1 { padding-right: .25rem !important; } .p-2 { padding: .5rem !important; } .pt-2, .py-2 { padding-top: .5rem !important; } .pb-2, .py-2 { padding-bottom: .5rem !important; } .ps-2, .px-2 { padding-left: .5rem !important; } .pe-2, .px-2 { padding-right: .5rem !important; } .p-3 { padding: 1rem !important; } .pt-3, .py-3 { padding-top: 1rem !important; } .pb-3, .py-3 { padding-bottom: 1rem !important; } .ps-3, .px-3 { padding-left: 1rem !important; } .pe-3, .px-3 { padding-right: 1rem !important; } .p-4 { padding: 1.5rem !important; } .pt-4, .py-4 { padding-top: 1.5rem !important; } .pb-4, .py-4 { padding-bottom: 1.5rem !important; } .ps-4, .px-4 { padding-left: 1.5rem !important; } .pe-4, .px-4 { padding-right: 1.5rem !important; } .p-5 { padding: 2rem !important; } .pt-5, .py-5 { padding-top: 2rem !important; } .pb-5, .py-5 { padding-bottom: 2rem !important; } .ps-5, .px-5 { padding-left: 2rem !important; } .pe-5, .px-5 { padding-right: 2rem !important; } .p-6 { padding: 3rem !important; } .pt-6, .py-6 { padding-top: 3rem !important; } .pb-6, .py-6 { padding-bottom: 3rem !important; } .ps-6, .px-6 { padding-left: 3rem !important; } .pe-6, .px-6 { padding-right: 3rem !important; } .text-start { text-align: left !important; } .text-end { text-align: right !important; } .text-center { text-align: center !important; } .flex-row { flex-direction: row !important; } .flex-column { flex-direction: column !important; } .flex-wrap { flex-wrap: wrap !important; } .flex-nowrap { flex-wrap: nowrap !important; } .flex-grow-0 { flex-grow: 0 !important; } .flex-grow-1 { flex-grow: 1 !important; } .flex-fill { flex: 1 1 auto !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; } .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; }
@media (min-width: 576px) { .d-sm-none { display: none !important; } .d-sm-inline { display: inline !important; } .d-sm-inline-block { display: inline-block !important; } .d-sm-block { display: block !important; } .d-sm-flex { display: flex !important; } .d-sm-inline-flex { display: inline-flex !important; } .d-sm-table-cell { display: table-cell !important; } .d-sm-grid { display: grid !important; } .m-sm-0 { margin: 0 !important; } .mt-sm-0, .my-sm-0 { margin-top: 0 !important; } .mb-sm-0, .my-sm-0 { margin-bottom: 0 !important; } .ms-sm-0, .mx-sm-0 { margin-left: 0 !important; } .me-sm-0, .mx-sm-0 { margin-right: 0 !important; } .m-sm-1 { margin: .25rem !important; } .mt-sm-1, .my-sm-1 { margin-top: .25rem !important; } .mb-sm-1, .my-sm-1 { margin-bottom: .25rem !important; } .ms-sm-1, .mx-sm-1 { margin-left: .25rem !important; } .me-sm-1, .mx-sm-1 { margin-right: .25rem !important; } .m-sm-2 { margin: .5rem !important; } .mt-sm-2, .my-sm-2 { margin-top: .5rem !important; } .mb-sm-2, .my-sm-2 { margin-bottom: .5rem !important; } .ms-sm-2, .mx-sm-2 { margin-left: .5rem !important; } .me-sm-2, .mx-sm-2 { margin-right: .5rem !important; } .m-sm-3 { margin: 1rem !important; } .mt-sm-3, .my-sm-3 { margin-top: 1rem !important; } .mb-sm-3, .my-sm-3 { margin-bottom: 1rem !important; } .ms-sm-3, .mx-sm-3 { margin-left: 1rem !important; } .me-sm-3, .mx-sm-3 { margin-right: 1rem !important; } .m-sm-4 { margin: 1.5rem !important; } .mt-sm-4, .my-sm-4 { margin-top: 1.5rem !important; } .mb-sm-4, .my-sm-4 { margin-bottom: 1.5rem !important; } .ms-sm-4, .mx-sm-4 { margin-left: 1.5rem !important; } .me-sm-4, .mx-sm-4 { margin-right: 1.5rem !important; } .m-sm-5 { margin: 2rem !important; } .mt-sm-5, .my-sm-5 { margin-top: 2rem !important; } .mb-sm-5, .my-sm-5 { margin-bottom: 2rem !important; } .ms-sm-5, .mx-sm-5 { margin-left: 2rem !important; } .me-sm-5, .mx-sm-5 { margin-right: 2rem !important; } .m-sm-6 { margin: 3rem !important; } .mt-sm-6, .my-sm-6 { margin-top: 3rem !important; } .mb-sm-6, .my-sm-6 { margin-bottom: 3rem !important; } .ms-sm-6, .mx-sm-6 { margin-left: 3rem !important; } .me-sm-6, .mx-sm-6 { margin-right: 3rem !important; } .m-sm-auto { margin: auto !important; } .mt-sm-auto, .my-sm-auto { margin-top: auto !important; } .mb-sm-auto, .my-sm-auto { margin-bottom: auto !important; } .ms-sm-auto, .mx-sm-auto { margin-left: auto !important; } .me-sm-auto, .mx-sm-auto { margin-right: auto !important; } .p-sm-0 { padding: 0 !important; } .pt-sm-0, .py-sm-0 { padding-top: 0 !important; } .pb-sm-0, .py-sm-0 { padding-bottom: 0 !important; } .ps-sm-0, .px-sm-0 { padding-left: 0 !important; } .pe-sm-0, .px-sm-0 { padding-right: 0 !important; } .p-sm-1 { padding: .25rem !important; } .pt-sm-1, .py-sm-1 { padding-top: .25rem !important; } .pb-sm-1, .py-sm-1 { padding-bottom: .25rem !important; } .ps-sm-1, .px-sm-1 { padding-left: .25rem !important; } .pe-sm-1, .px-sm-1 { padding-right: .25rem !important; } .p-sm-2 { padding: .5rem !important; } .pt-sm-2, .py-sm-2 { padding-top: .5rem !important; } .pb-sm-2, .py-sm-2 { padding-bottom: .5rem !important; } .ps-sm-2, .px-sm-2 { padding-left: .5rem !important; } .pe-sm-2, .px-sm-2 { padding-right: .5rem !important; } .p-sm-3 { padding: 1rem !important; } .pt-sm-3, .py-sm-3 { padding-top: 1rem !important; } .pb-sm-3, .py-sm-3 { padding-bottom: 1rem !important; } .ps-sm-3, .px-sm-3 { padding-left: 1rem !important; } .pe-sm-3, .px-sm-3 { padding-right: 1rem !important; } .p-sm-4 { padding: 1.5rem !important; } .pt-sm-4, .py-sm-4 { padding-top: 1.5rem !important; } .pb-sm-4, .py-sm-4 { padding-bottom: 1.5rem !important; } .ps-sm-4, .px-sm-4 { padding-left: 1.5rem !important; } .pe-sm-4, .px-sm-4 { padding-right: 1.5rem !important; } .p-sm-5 { padding: 2rem !important; } .pt-sm-5, .py-sm-5 { padding-top: 2rem !important; } .pb-sm-5, .py-sm-5 { padding-bottom: 2rem !important; } .ps-sm-5, .px-sm-5 { padding-left: 2rem !important; } .pe-sm-5, .px-sm-5 { padding-right: 2rem !important; } .p-sm-6 { padding: 3rem !important; } .pt-sm-6, .py-sm-6 { padding-top: 3rem !important; } .pb-sm-6, .py-sm-6 { padding-bottom: 3rem !important; } .ps-sm-6, .px-sm-6 { padding-left: 3rem !important; } .pe-sm-6, .px-sm-6 { padding-right: 3rem !important; } .text-sm-start { text-align: left !important; } .text-sm-end { text-align: right !important; } .text-sm-center { text-align: center !important; } .flex-sm-row { flex-direction: row !important; } .flex-sm-column { flex-direction: column !important; } .flex-sm-wrap { flex-wrap: wrap !important; } .flex-sm-nowrap { flex-wrap: nowrap !important; } .flex-sm-grow-0 { flex-grow: 0 !important; } .flex-sm-grow-1 { flex-grow: 1 !important; } .flex-sm-fill { flex: 1 1 auto !important; } .justify-content-sm-start { justify-content: flex-start !important; } .justify-content-sm-end { justify-content: flex-end !important; } .justify-content-sm-center { justify-content: center !important; } .justify-content-sm-between { justify-content: space-between !important; } .justify-content-sm-around { justify-content: space-around !important; } .align-items-sm-start { align-items: flex-start !important; } .align-items-sm-end { align-items: flex-end !important; } .align-items-sm-center { align-items: center !important; } .align-items-sm-baseline { align-items: baseline !important; } .align-items-sm-stretch { align-items: stretch !important; } }
@media (min-width: 768px) { .d-md-none { display: none !important; } .d-md-inline { display: inline !important; } .d-md-inline-block { display: inline-block !important; } .d-md-block { display: block !important; } .d-md-flex { display: flex !important; } .d-md-inline-flex { display: inline-flex !important; } .d-md-table-cell { display: table-cell !important; } .d-md-grid { display: grid !important; } .m-md-0 { margin: 0 !important; } .mt-md-0, .my-md-0 { margin-top: 0 !important; } .mb-md-0, .my-md-0 { margin-bottom: 0 !important; } .ms-md-0, .mx-md-0 { margin-left: 0 !important; } .me-md-0, .mx-md-0 { margin-right: 0 !important; } .m-md-1 { margin: .25rem !important; } .mt-md-1, .my-md-1 { margin-top: .25rem !important; } .mb-md-1, .my-md-1 { margin-bottom: .25rem !important; } .ms-md-1, .mx-md-1 { margin-left: .25rem !important; } .me-md-1, .mx-md-1 { margin-right: .25rem !important; } .m-md-2 { margin: .5rem !important; } .mt-md-2, .my-md-2 { margin-top: .5rem !important; } .mb-md-2, .my-md-2 { margin-bottom: .5rem !important; } .ms-md-2, .mx-md-2 { margin-left: .5rem !important; } .me-md-2, .mx-md-2 { margin-right: .5rem !important; } .m-md-3 { margin: 1rem !important; } .mt-md-3, .my-md-3 { margin-top: 1rem !important; } .mb-md-3, .my-md-3 { margin-bottom: 1rem !important; } .ms-md-3, .mx-md-3 { margin-left: 1rem !important; } .me-md-3, .mx-md-3 { margin-right: 1rem !important; } .m-md-4 { margin: 1.5rem !important; } .mt-md-4, .my-md-4 { margin-top: 1.5rem !important; } .mb-md-4, .my-md-4 { margin-bottom: 1.5rem !important; } .ms-md-4, .mx-md-4 { margin-left: 1.5rem !important; } .me-md-4, .mx-md-4 { margin-right: 1.5rem !important; } .m-md-5 { margin: 2rem !important; } .mt-md-5, .my-md-5 { margin-top: 2rem !important; } .mb-md-5, .my-md-5 { margin-bottom: 2rem !important; } .ms-md-5, .mx-md-5 { margin-left: 2rem !important; } .me-md-5, .mx-md-5 { margin-right: 2rem !important; } .m-md-6 { margin: 3rem !important; } .mt-md-6, .my-md-6 { margin-top: 3rem !important; } .mb-md-6, .my-md-6 { margin-bottom: 3rem !important; } .ms-md-6, .mx-md-6 { margin-left: 3rem !important; } .me-md-6, .mx-md-6 { margin-right: 3rem !important; } .m-md-auto { margin: auto !important; } .mt-md-auto, .my-md-auto { margin-top: auto !important; } .mb-md-auto, .my-md-auto { margin-bottom: auto !important; } .ms-md-auto, .mx-md-auto { margin-left: auto !important; } .me-md-auto, .mx-md-auto { margin-right: auto !important; } .p-md-0 { padding: 0 !important; } .pt-md-0, .py-md-0 { padding-top: 0 !important; } .pb-md-0, .py-md-0 { padding-bottom: 0 !important; } .ps-md-0, .px-md-0 { padding-left: 0 !important; } .pe-md-0, .px-md-0 { padding-right: 0 !important; } .p-md-1 { padding: .25rem !important; } .pt-md-1, .py-md-1 { padding-top: .25rem !important; } .pb-md-1, .py-md-1 { padding-bottom: .25rem !important; } .ps-md-1, .px-md-1 { padding-left: .25rem !important; } .pe-md-1, .px-md-1 { padding-right: .25rem !important; } .p-md-2 { padding: .5rem !important; } .pt-md-2, .py-md-2 { padding-top: .5rem !important; } .pb-md-2, .py-md-2 { padding-bottom: .5rem !important; } .ps-md-2, .px-md-2 { padding-left: .5rem !important; } .pe-md-2, .px-md-2 { padding-right: .5rem !important; } .p-md-3 { padding: 1rem !important; } .pt-md-3, .py-md-3 { padding-top: 1rem !important; } .pb-md-3, .py-md-3 { padding-bottom: 1rem !important; } .ps-md-3, .px-md-3 { padding-left: 1rem !important; } .pe-md-3, .px-md-3 { padding-right: 1rem !important; } .p-md-4 { padding: 1.5rem !important; } .pt-md-4, .py-md-4 { padding-top: 1.5rem !important; } .pb-md-4, .py-md-4 { padding-bottom: 1.5rem !important; } .ps-md-4, .px-md-4 { padding-left: 1.5rem !important; } .pe-md-4, .px-md-4 { padding-right: 1.5rem !important; } .p-md-5 { padding: 2rem !important; } .pt-md-5, .py-md-5 { padding-top: 2rem !important; } .pb-md-5, .py-md-5 { padding-bottom: 2rem !important; } .ps-md-5, .px-md-5 { padding-left: 2rem !important; } .pe-md-5, .px-md-5 { padding-right: 2rem !important; } .p-md-6 { padding: 3rem !important; } .pt-md-6, .py-md-6 { padding-top: 3rem !important; } .pb-md-6, .py-md-6 { padding-bottom: 3rem !important; } .ps-md-6, .px-md-6 { padding-left: 3rem !important; } .pe-md-6, .px-md-6 { padding-right: 3rem !important; } .text-md-start { text-align: left !important; } .text-md-end { text-align: right !important; } .text-md-center { text-align: center !important; } .flex-md-row { flex-direction: row !important; } .flex-md-column { flex-direction: column !important; } .flex-md-wrap { flex-wrap: wrap !important; } .flex-md-nowrap { flex-wrap: nowrap !important; } .flex-md-grow-0 { flex-grow: 0 !important; } .flex-md-grow-1 { flex-grow: 1 !important; } .flex-md-fill { flex: 1 1 auto !important; } .justify-content-md-start { justify-content: flex-start !important; } .justify-content-md-end { justify-content: flex-end !important; } .justify-content-md-center { justify-content: center !important; } .justify-content-md-between { justify-content: space-between !important; } .justify-content-md-around { justify-content: space-around !important; } .align-items-md-start { align-items: flex-start !important; } .align-items-md-end { align-items: flex-end !important; } .align-items-md-center { align-items: center !important; } .align-items-md-baseline { align-items: baseline !important; } .align-items-md-stretch { align-items: stretch !important; } }
@media (min-width: 992px) { .d-lg-none { display: none !important; } .d-lg-inline { display: inline !important; } .d-lg-inline-block { display: inline-block !important; } .d-lg-block { display: block !important; } .d-lg-flex { display: flex !important; } .d-lg-inline-flex { display: inline-flex !important; } .d-lg-table-cell { display: table-cell !important; } .d-lg-grid { display: grid !important; } .m-lg-0 { margin: 0 !important; } .mt-lg-0, .my-lg-0 { margin-top: 0 !important; } .mb-lg-0, .my-lg-0 { margin-bottom: 0 !important; } .ms-lg-0, .mx-lg-0 { margin-left: 0 !important; } .me-lg-0, .mx-lg-0 { margin-right: 0 !important; } .m-lg-1 { margin: .25rem !important; } .mt-lg-1, .my-lg-1 { margin-top: .25rem !important; } .mb-lg-1, .my-lg-1 { margin-bottom: .25rem !important; } .ms-lg-1, .mx-lg-1 { margin-left: .25rem !important; } .me-lg-1, .mx-lg-1 { margin-right: .25rem !important; } .m-lg-2 { margin: .5rem !important; } .mt-lg-2, .my-lg-2 { margin-top: .5rem !important; } .mb-lg-2, .my-lg-2 { margin-bottom: .5rem !important; } .ms-lg-2, .mx-lg-2 { margin-left: .5rem !important; } .me-lg-2, .mx-lg-2 { margin-right: .5rem !important; } .m-lg-3 { margin: 1rem !important; } .mt-lg-3, .my-lg-3 { margin-top: 1rem !important; } .mb-lg-3, .my-lg-3 { margin-bottom: 1rem !important; } .ms-lg-3, .mx-lg-3 { margin-left: 1rem !important; } .me-lg-3, .mx-lg-3 { margin-right: 1rem !important; } .m-lg-4 { margin: 1.5rem !important; } .mt-lg-4, .my-lg-4 { margin-top: 1.5rem !important; } .mb-lg-4, .my-lg-4 { margin-bottom: 1.5rem !important; } .ms-lg-4, .mx-lg-4 { margin-left: 1.5rem !important; } .me-lg-4, .mx-lg-4 { margin-right: 1.5rem !important; } .m-lg-5 { margin: 2rem !important; } .mt-lg-5, .my-lg-5 { margin-top: 2rem !important; } .mb-lg-5, .my-lg-5 { margin-bottom: 2rem !important; } .ms-lg-5, .mx-lg-5 { margin-left: 2rem !important; } .me-lg-5, .mx-lg-5 { margin-right: 2rem !important; } .m-lg-6 { margin: 3rem !important; } .mt-lg-6, .my-lg-6 { margin-top: 3rem !important; } .mb-lg-6, .my-lg-6 { margin-bottom: 3rem !important; } .ms-lg-6, .mx-lg-6 { margin-left: 3rem !important; } .me-lg-6, .mx-lg-6 { margin-right: 3rem !important; } .m-lg-auto { margin: auto !important; } .mt-lg-auto, .my-lg-auto { margin-top: auto !important; } .mb-lg-auto, .my-lg-auto { margin-bottom: auto !important; } .ms-lg-auto, .mx-lg-auto { margin-left: auto !important; } .me-lg-auto, .mx-lg-auto { margin-right: auto !important; } .p-lg-0 { padding: 0 !important; } .pt-lg-0, .py-lg-0 { padding-top: 0 !important; } .pb-lg-0, .py-lg-0 { padding-bottom: 0 !important; } .ps-lg-0, .px-lg-0 { padding-left: 0 !important; } .pe-lg-0, .px-lg-0 { padding-right: 0 !important; } .p-lg-1 { padding: .25rem !important; } .pt-lg-1, .py-lg-1 { padding-top: .25rem !important; } .pb-lg-1, .py-lg-1 { padding-bottom: .25rem !important; } .ps-lg-1, .px-lg-1 { padding-left: .25rem !important; } .pe-lg-1, .px-lg-1 { padding-right: .25rem !important; } .p-lg-2 { padding: .5rem !important; } .pt-lg-2, .py-lg-2 { padding-top: .5rem !important; } .pb-lg-2, .py-lg-2 { padding-bottom: .5rem !important; } .ps-lg-2, .px-lg-2 { padding-left: .5rem !important; } .pe-lg-2, .px-lg-2 { padding-right: .5rem !important; } .p-lg-3 { padding: 1rem !important; } .pt-lg-3, .py-lg-3 { padding-top: 1rem !important; } .pb-lg-3, .py-lg-3 { padding-bottom: 1rem !important; } .ps-lg-3, .px-lg-3 { padding-left: 1rem !important; } .pe-lg-3, .px-lg-3 { padding-right: 1rem !important; } .p-lg-4 { padding: 1.5rem !important; } .pt-lg-4, .py-lg-4 { padding-top: 1.5rem !important; } .pb-lg-4, .py-lg-4 { padding-bottom: 1.5rem !important; } .ps-lg-4, .px-lg-4 { padding-left: 1.5rem !important; } .pe-lg-4, .px-lg-4 { padding-right: 1.5rem !important; } .p-lg-5 { padding: 2rem !important; } .pt-lg-5, .py-lg-5 { padding-top: 2rem !important; } .pb-lg-5, .py-lg-5 { padding-bottom: 2rem !important; } .ps-lg-5, .px-lg-5 { padding-left: 2rem !important; } .pe-lg-5, .px-lg-5 { padding-right: 2rem !important; } .p-lg-6 { padding: 3rem !important; } .pt-lg-6, .py-lg-6 { padding-top: 3rem !important; } .pb-lg-6, .py-lg-6 { padding-bottom: 3rem !important; } .ps-lg-6, .px-lg-6 { padding-left: 3rem !important; } .pe-lg-6, .px-lg-6 { padding-right: 3rem !important; } .text-lg-start { text-align: left !important; } .text-lg-end { text-align: right !important; } .text-lg-center { text-align: center !important; } .flex-lg-row { flex-direction: row !important; } .flex-lg-column { flex-direction: column !important; } .flex-lg-wrap { flex-wrap: wrap !important; } .flex-lg-nowrap { flex-wrap: nowrap !important; } .flex-lg-grow-0 { flex-grow: 0 !important; } .flex-lg-grow-1 { flex-grow: 1 !important; } .flex-lg-fill { flex: 1 1 auto !important; } .justify-content-lg-start { justify-content: flex-start !important; } .justify-content-lg-end { justify-content: flex-end !important; } .justify-content-lg-center { justify-content: center !important; } .justify-content-lg-between { justify-content: space-between !important; } .justify-content-lg-around { justify-content: space-around !important; } .align-items-lg-start { align-items: flex-start !important; } .align-items-lg-end { align-items: flex-end !important; } .align-items-lg-center { align-items: center !important; } .align-items-lg-baseline { align-items: baseline !important; } .align-items-lg-stretch { align-items: stretch !important; } }
@media (min-width: 1200px) { .d-xl-none { display: none !important; } .d-xl-inline { display: inline !important; } .d-xl-inline-block { display: inline-block !important; } .d-xl-block { display: block !important; } .d-xl-flex { display: flex !important; } .d-xl-inline-flex { display: inline-flex !important; } .d-xl-table-cell { display: table-cell !important; } .d-xl-grid { display: grid !important; } .m-xl-0 { margin: 0 !important; } .mt-xl-0, .my-xl-0 { margin-top: 0 !important; } .mb-xl-0, .my-xl-0 { margin-bottom: 0 !important; } .ms-xl-0, .mx-xl-0 { margin-left: 0 !important; } .me-xl-0, .mx-xl-0 { margin-right: 0 !important; } .m-xl-1 { margin: .25rem !important; } .mt-xl-1, .my-xl-1 { margin-top: .25rem !important; } .mb-xl-1, .my-xl-1 { margin-bottom: .25rem !important; } .ms-xl-1, .mx-xl-1 { margin-left: .25rem !important; } .me-xl-1, .mx-xl-1 { margin-right: .25rem !important; } .m-xl-2 { margin: .5rem !important; } .mt-xl-2, .my-xl-2 { margin-top: .5rem !important; } .mb-xl-2, .my-xl-2 { margin-bottom: .5rem !important; } .ms-xl-2, .mx-xl-2 { margin-left: .5rem !important; } .me-xl-2, .mx-xl-2 { margin-right: .5rem !important; } .m-xl-3 { margin: 1rem !important; } .mt-xl-3, .my-xl-3 { margin-top: 1rem !important; } .mb-xl-3, .my-xl-3 { margin-bottom: 1rem !important; } .ms-xl-3, .mx-xl-3 { margin-left: 1rem !important; } .me-xl-3, .mx-xl-3 { margin-right: 1rem !important; } .m-xl-4 { margin: 1.5rem !important; } .mt-xl-4, .my-xl-4 { margin-top: 1.5rem !important; } .mb-xl-4, .my-xl-4 { margin-bottom: 1.5rem !important; } .ms-xl-4, .mx-xl-4 { margin-left: 1.5rem !important; } .me-xl-4, .mx-xl-4 { margin-right: 1.5rem !important; } .m-xl-5 { margin: 2rem !important; } .mt-xl-5, .my-xl-5 { margin-top: 2rem !important; } .mb-xl-5, .my-xl-5 { margin-bottom: 2rem !important; } .ms-xl-5, .mx-xl-5 { margin-left: 2rem !important; } .me-xl-5, .mx-xl-5 { margin-right: 2rem !important; } .m-xl-6 { margin: 3rem !important; } .mt-xl-6, .my-xl-6 { margin-top: 3rem !important; } .mb-xl-6, .my-xl-6 { margin-bottom: 3rem !important; } .ms-xl-6, .mx-xl-6 { margin-left: 3rem !important; } .me-xl-6, .mx-xl-6 { margin-right: 3rem !important; } .m-xl-auto { margin: auto !important; } .mt-xl-auto, .my-xl-auto { margin-top: auto !important; } .mb-xl-auto, .my-xl-auto { margin-bottom: auto !important; } .ms-xl-auto, .mx-xl-auto { margin-left: auto !important; } .me-xl-auto, .mx-xl-auto { margin-right: auto !important; } .p-xl-0 { padding: 0 !important; } .pt-xl-0, .py-xl-0 { padding-top: 0 !important; } .pb-xl-0, .py-xl-0 { padding-bottom: 0 !important; } .ps-xl-0, .px-xl-0 { padding-left: 0 !important; } .pe-xl-0, .px-xl-0 { padding-right: 0 !important; } .p-xl-1 { padding: .25rem !important; } .pt-xl-1, .py-xl-1 { padding-top: .25rem !important; } .pb-xl-1, .py-xl-1 { padding-bottom: .25rem !important; } .ps-xl-1, .px-xl-1 { padding-left: .25rem !important; } .pe-xl-1, .px-xl-1 { padding-right: .25rem !important; } .p-xl-2 { padding: .5rem !important; } .pt-xl-2, .py-xl-2 { padding-top: .5rem !important; } .pb-xl-2, .py-xl-2 { padding-bottom: .5rem !important; } .ps-xl-2, .px-xl-2 { padding-left: .5rem !important; } .pe-xl-2, .px-xl-2 { padding-right: .5rem !important; } .p-xl-3 { padding: 1rem !important; } .pt-xl-3, .py-xl-3 { padding-top: 1rem !important; } .pb-xl-3, .py-xl-3 { padding-bottom: 1rem !important; } .ps-xl-3, .px-xl-3 { padding-left: 1rem !important; } .pe-xl-3, .px-xl-3 { padding-right: 1rem !important; } .p-xl-4 { padding: 1.5rem !important; } .pt-xl-4, .py-xl-4 { padding-top: 1.5rem !important; } .pb-xl-4, .py-xl-4 { padding-bottom: 1.5rem !important; } .ps-xl-4, .px-xl-4 { padding-left: 1.5rem !important; } .pe-xl-4, .px-xl-4 { padding-right: 1.5rem !important; } .p-xl-5 { padding: 2rem !important; } .pt-xl-5, .py-xl-5 { padding-top: 2rem !important; } .pb-xl-5, .py-xl-5 { padding-bottom: 2rem !important; } .ps-xl-5, .px-xl-5 { padding-left: 2rem !important; } .pe-xl-5, .px-xl-5 { padding-right: 2rem !important; } .p-xl-6 { padding: 3rem !important; } .pt-xl-6, .py-xl-6 { padding-top: 3rem !important; } .pb-xl-6, .py-xl-6 { padding-bottom: 3rem !important; } .ps-xl-6, .px-xl-6 { padding-left: 3rem !important; } .pe-xl-6, .px-xl-6 { padding-right: 3rem !important; } .text-xl-start { text-align: left !important; } .text-xl-end { text-align: right !important; } .text-xl-center { text-align: center !important; } .flex-xl-row { flex-direction: row !important; } .flex-xl-column { flex-direction: column !important; } .flex-xl-wrap { flex-wrap: wrap !important; } .flex-xl-nowrap { flex-wrap: nowrap !important; } .flex-xl-grow-0 { flex-grow: 0 !important; } .flex-xl-grow-1 { flex-grow: 1 !important; } .flex-xl-fill { flex: 1 1 auto !important; } .justify-content-xl-start { justify-content: flex-start !important; } .justify-content-xl-end { justify-content: flex-end !important; } .justify-content-xl-center { justify-content: center !important; } .justify-content-xl-between { justify-content: space-between !important; } .justify-content-xl-around { justify-content: space-around !important; } .align-items-xl-start { align-items: flex-start !important; } .align-items-xl-end { align-items: flex-end !important; } .align-items-xl-center { align-items: center !important; } .align-items-xl-baseline { align-items: baseline !important; } .align-items-xl-stretch { align-items: stretch !important; } }
.text-right { text-align: right !important; } .text-left { text-align: left !important; }
.flex-row-reverse { flex-direction: row-reverse !important; } .flex-shrink-0 { flex-shrink: 0 !important; } .align-self-center { align-self: center !important; } .align-middle { vertical-align: middle !important; }
.gap-0 { gap: 0 !important; }
.gap-1 { gap: .25rem !important; }
.gap-2 { gap: .5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }
.gap-5 { gap: 2rem !important; }
.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; } .w-1 { width: 1% !important; } .h-100 { height: 100% !important; } .mw-100 { max-width: 100% !important; }
.position-relative { position: relative !important; } .position-absolute { position: absolute !important; } .overflow-hidden { overflow: hidden !important; } .overflow-auto { overflow: auto !important; }
.invisible { visibility: hidden !important; } .visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !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; }
.fs-1 { font-size: 1.5rem !important; } .fs-2 { font-size: 1.25rem !important; } .fs-3 { font-size: 1.125rem !important; } .fs-4 { font-size: 1rem !important; } .fs-5 { font-size: .875rem !important; } .fs-6 { font-size: .75rem !important; } .x-small { font-size: .75rem; }
.lh-1 { line-height: 1 !important; } .lh-sm { line-height: 1.25 !important; }
.text-nowrap { white-space: nowrap !important; } .text-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .text-uppercase { text-transform: uppercase !important; } .text-reset { color: inherit !important; }
.text-muted, .text-secondary { color: var(--sc-secondary) !important; } .text-body { color: #18212C !important; } .text-white { color: #fff !important; }
.text-primary { color: var(--sc-primary) !important; } .text-danger, .text-red { color: var(--sc-danger) !important; } .text-success, .text-green { color: var(--sc-success) !important; } .text-warning, .text-orange { color: var(--sc-warning) !important; } .text-info, .text-azure { color: var(--sc-info) !important; } .text-pink { color: #B4316A !important; }
.bg-white { background-color: #fff !important; } .bg-light { background-color: #F5F7FA !important; } .bg-dark { background-color: #18212C !important; color: #fff; }
.bg-primary, .bg-blue, .bg-azure, .bg-indigo { background-color: var(--sc-primary) !important; color: #fff; } .bg-danger, .bg-red { background-color: var(--sc-danger) !important; color: #fff; } .bg-success, .bg-green, .bg-lime { background-color: #1E7A46 !important; color: #fff; } .bg-warning, .bg-yellow, .bg-orange { background-color: #D97706 !important; color: #fff; } .bg-purple { background-color: #6B46C1 !important; color: #fff; } .bg-pink { background-color: #B4316A !important; color: #fff; }
.bg-azure-lt, .bg-blue-lt { background-color: #E3EDFA !important; color: #1D4E91 !important; } .bg-green-lt { background-color: #E6F4EC !important; color: #17603C !important; } .bg-red-lt { background-color: #FDECEA !important; color: #B42318 !important; } .bg-yellow-lt { background-color: #FDF0E1 !important; color: #8A4A06 !important; } .bg-secondary-lt { background-color: #EEF0F3 !important; color: #4A5563 !important; }
.border { border: 1px solid var(--sc-border-color) !important; } .border-0 { border: 0 !important; } .border-bottom { border-bottom: 1px solid var(--sc-border-color) !important; } .border-top { border-top: 1px solid var(--sc-border-color) !important; } .border-warning { border-color: #D97706 !important; }
.rounded { border-radius: var(--sc-border-radius) !important; } .rounded-2 { border-radius: 2px !important; } .rounded-circle { border-radius: 50% !important; }
.img-fluid { max-width: 100%; height: auto; }
@media print { .d-print-none { display: none !important; } }


/* ---- Marco de página (sin el menú de Tabler) ---- */
.page { display: flex; flex-direction: column; min-height: 100vh; position: relative; }
.page-center { justify-content: center; }
.page-wrapper { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.page-body { flex: 1; margin-top: 1.25rem; margin-bottom: 1.25rem; }
.page-header { padding-top: 1.25rem; }
.page-title { margin: 0; font-size: 1.25rem; font-weight: 600; line-height: 1.4; }
.page-pretitle { font-size: .75rem; color: var(--sc-secondary); }
.footer { padding: 1.5rem 0; font-size: 13px; color: var(--sc-secondary); border-top: 1px solid var(--sc-border-color); background: transparent; }
.footer-transparent { border-top: 0; }
.list-inline { list-style: none; padding-left: 0; margin: 0; } .list-inline-item { display: inline-block; } .list-inline-dots .list-inline-item + .list-inline-item::before { content: ' · '; margin: 0 .35rem; }
.link-secondary { color: var(--sc-secondary) !important; } .link-secondary:hover { color: #18212C !important; }
.icon { width: 20px; height: 20px; stroke-width: 1.5; vertical-align: middle; } .icon-lg { width: 32px; height: 32px; }

/* ---- Tarjetas ---- */
.card { position: relative; display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--sc-border-color); border-radius: 6px; }
.card-header { display: flex; align-items: center; min-height: 3.5rem; padding: .75rem 1.25rem; border-bottom: 1px solid var(--sc-border-color); }
.card-body { flex: 1 1 auto; padding: 1.25rem; } .card-md > .card-body { padding: 2rem; }
.card-footer { padding: .75rem 1.25rem; border-top: 1px solid var(--sc-border-color); }
.card-title { margin: 0; font-size: 1rem; font-weight: 600; } .card-subtitle { margin: 0; color: var(--sc-secondary); }
.card-table { margin-bottom: 0 !important; } .card > .table-responsive:last-child .table { margin-bottom: 0; }

/* ---- Avisos y etiquetas ---- */
.alert { position: relative; padding: .75rem 1rem; margin-bottom: 1rem; border: 1px solid transparent; border-radius: 4px; font-size: 13px; }
.alert-info { background: var(--sc-accent-soft); border-color: var(--sc-accent-ring); color: var(--sc-accent-dark); }
.alert-success { background: #E6F4EC; border-color: #BFE3CD; color: #17603C; }
.alert-warning { background: #FDF0E1; border-color: #F4D3A8; color: #8A4A06; }
.alert-danger { background: #FDECEA; border-color: #F5C2BD; color: #B42318; }
.alert a { color: inherit; text-decoration: underline; }
.badge { display: inline-block; padding: .25em .5em; font-size: 11px; font-weight: 600; line-height: 1.2; text-align: center; white-space: nowrap; vertical-align: baseline; border-radius: 2px; background: #EEF0F3; color: #3A4554; }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 4px; background: var(--sc-accent-soft) center/cover no-repeat; color: var(--sc-accent-dark); font-weight: 600; }
.progress { display: flex; height: .5rem; overflow: hidden; background: #EEF0F3; border-radius: 2px; } .progress-sm { height: .25rem; } .progress-bar { background: var(--sc-primary); }

/* ---- Botones ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: .375rem .875rem; font-size: 13px; font-weight: 500; line-height: 1.43; color: #18212C; text-align: center; white-space: nowrap; vertical-align: middle; cursor: pointer; user-select: none; background: #fff; border: 1px solid #C8D0DB; border-radius: 4px; text-decoration: none; transition: background .15s, border-color .15s, color .15s; }
.btn:hover { background: var(--sc-accent-faint); color: #18212C; text-decoration: none; }
.btn:focus-visible { outline: 2px solid var(--sc-accent-ring); outline-offset: 1px; }
.btn:disabled, .btn.disabled { opacity: .55; pointer-events: none; }
.btn-primary { background: var(--sc-primary); border-color: var(--sc-primary); color: #fff; } .btn-primary:hover { background: var(--sc-accent-hover); border-color: var(--sc-accent-hover); color: #fff; }
.btn-success { background: #1E7A46; border-color: #1E7A46; color: #fff; } .btn-success:hover { background: #17603C; color: #fff; }
.btn-danger { background: var(--sc-danger); border-color: var(--sc-danger); color: #fff; } .btn-danger:hover { background: #912018; color: #fff; }
.btn-outline-primary { color: var(--sc-primary); border-color: var(--sc-primary); } .btn-outline-primary:hover, .btn-outline-primary.active { background: var(--sc-primary); color: #fff; }
.btn-outline-secondary { color: #18212C; } .btn-outline-secondary.active { background: var(--sc-navy); border-color: var(--sc-navy); color: #fff; }
.btn-outline-danger { color: var(--sc-danger); border-color: #F5C2BD; } .btn-outline-danger:hover { background: var(--sc-danger); border-color: var(--sc-danger); color: #fff; }
.btn-outline-success { color: #1E7A46; border-color: #BFE3CD; } .btn-outline-success:hover { background: #1E7A46; color: #fff; }
.btn-ghost-secondary, .btn-ghost-danger, .btn-link { background: transparent; border-color: transparent; } .btn-ghost-danger { color: var(--sc-danger); } .btn-ghost-secondary:hover, .btn-ghost-danger:hover { background: #F2F5F9; }
.btn-link { color: var(--sc-primary); font-weight: 500; } .btn-link:hover { background: transparent; text-decoration: underline; color: var(--sc-accent-hover); }
.btn-sm { min-height: 30px; padding: .25rem .625rem; font-size: 12px; } .btn-md { min-height: 36px; }
.btn-icon { min-width: 36px; padding-left: .5rem; padding-right: .5rem; } .btn-icon.btn-sm { min-width: 30px; }
.btn .icon { width: 18px; height: 18px; margin: 0; }
.btn-group { display: inline-flex; } .btn-group > .btn:not(:first-child) { margin-left: -1px; border-top-left-radius: 0; border-bottom-left-radius: 0; } .btn-group > .btn:not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.btn-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.btn-close { box-sizing: content-box; width: 1em; height: 1em; padding: .25em; border: 0; border-radius: 2px; opacity: .55; cursor: pointer; background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2318212C'%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/.75em auto no-repeat; }
.btn-close:hover { opacity: .9; }

/* ---- Campos ---- */
.form-label { display: block; margin-bottom: .375rem; font-size: 13px; font-weight: 600; color: #3A4554; }
.form-label.required::after { content: ' *'; color: var(--sc-danger); }
.form-label-description { float: right; font-weight: 400; color: var(--sc-secondary); }
.form-hint { display: block; margin-top: .25rem; font-size: 12px; color: var(--sc-secondary); }
.form-control, .form-select { display: block; width: 100%; min-height: 36px; padding: .375rem .75rem; font-size: 13px; font-weight: 400; line-height: 1.43; color: #18212C; background-color: #fff; background-clip: padding-box; border: 1px solid #C8D0DB; border-radius: 4px; appearance: none; transition: border-color .15s, box-shadow .15s; }
.form-control:focus, .form-select:focus { outline: 0; border-color: var(--sc-primary); box-shadow: 0 0 0 3px var(--sc-accent-ring); }
.form-control::placeholder { color: #8A94A3; opacity: 1; }
.form-control:disabled, .form-select:disabled, .form-control[readonly] { background-color: #F5F7FA; }
.form-control-sm, .form-select-sm { min-height: 30px; padding: .25rem .5rem; font-size: 12px; }
.form-control-color { width: 3rem; padding: .25rem; }
textarea.form-control { min-height: 5rem; }
input[type=file].form-control { padding: .3rem .5rem; }
.form-select { padding-right: 2.25rem; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23566273' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right .75rem center; background-size: 12px 10px; }
button.form-select { text-align: left; cursor: pointer; }
.form-select[multiple], .form-select[size]:not([size="1"]) { padding-right: .75rem; background-image: none; }
.form-check { display: block; min-height: 1.25rem; padding-left: 1.75rem; margin-bottom: .5rem; }
.form-check .form-check-input { float: left; margin-left: -1.75rem; }
.form-check-inline { display: inline-flex; align-items: center; margin-right: 1rem; }
.form-check-input { width: 1rem; height: 1rem; margin-top: .2em; vertical-align: top; accent-color: var(--sc-primary); cursor: pointer; }
.form-check-label { cursor: pointer; }
.form-switch { padding-left: 2.75rem; } .form-switch .form-check-input { width: 2rem; margin-left: -2.75rem; }
.form-fieldset { padding: 1rem; margin-bottom: 1rem; background: #F8FAFC; border: 1px solid var(--sc-border-color); border-radius: 4px; }
.form-footer { margin-top: 1.5rem; }
.is-valid { border-color: #1E7A46 !important; }
.input-group { position: relative; display: flex; flex-wrap: wrap; align-items: stretch; width: 100%; }
.input-group > .form-control, .input-group > .form-select { position: relative; flex: 1 1 auto; width: 1%; min-width: 0; }
.input-group-text { display: flex; align-items: center; padding: .375rem .75rem; font-size: 13px; color: var(--sc-secondary); white-space: nowrap; background: #F5F7FA; border: 1px solid #C8D0DB; border-radius: 4px; }
.input-group > :not(:first-child) { margin-left: -1px; border-top-left-radius: 0; border-bottom-left-radius: 0; }
.input-group > :not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-group-flat .input-group-text { background: #fff; }
.form-imagecheck { position: relative; display: block; margin: 0; cursor: pointer; }
.form-imagecheck-input { position: absolute; z-index: -1; opacity: 0; }
.form-imagecheck-figure { display: block; margin: 0; border: 1px solid var(--sc-border-color); border-radius: 4px; overflow: hidden; }
.form-imagecheck-input:checked ~ .form-imagecheck-figure { border-color: var(--sc-primary); box-shadow: 0 0 0 2px var(--sc-accent-ring); }
.form-imagecheck-image { max-width: 100%; display: block; }

/* ---- Tablas ---- */
.table { width: 100%; margin-bottom: 1rem; color: #18212C; vertical-align: top; border-color: var(--sc-border-color); }
.table > :not(caption) > * > * { padding: .5rem .75rem; border-bottom: 1px solid var(--sc-border-color); background-color: transparent; }
.table > thead { vertical-align: bottom; }
.table thead th { font-size: 12px; font-weight: 600; color: var(--sc-secondary); background: #F8FAFC; white-space: nowrap; }
.table-sm > :not(caption) > * > * { padding: .25rem .5rem; }
.table-vcenter > :not(caption) > * > * { vertical-align: middle; }
.table-striped > tbody > tr:nth-of-type(odd) > * { background-color: #FAFBFC; }
.table-borderless > :not(caption) > * > * { border-bottom-width: 0; }
.table-success, .table-success > td { background-color: #E6F4EC !important; }
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-sort { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 0; font: inherit; font-weight: 600; color: inherit; background: none; border: 0; cursor: pointer; white-space: nowrap; }
.table-sort::after { content: ''; display: inline-block; width: 7px; height: 10px; opacity: .35; background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 10'%3e%3cpath d='M3.5 0L7 4H0zM3.5 10L0 6h7z' fill='%23566273'/%3e%3c/svg%3e") center/contain no-repeat; }
.table-sort.asc::after { opacity: .9; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 10'%3e%3cpath d='M3.5 0L7 4H0z' fill='%232563B8'/%3e%3c/svg%3e"); }
.table-sort.desc::after { opacity: .9; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 7 10'%3e%3cpath d='M3.5 10L0 6h7z' fill='%232563B8'/%3e%3c/svg%3e"); }
.no-sort::after { display: none; }

/* ---- Paginación (scripts de tabla) ---- */
.pagination { display: flex; flex-wrap: wrap; gap: 2px; padding-left: 0; margin: 0; list-style: none; }
.page-link { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; padding: 0 .5rem; font-size: 13px; color: #3A4554; background: #fff; border: 1px solid transparent; border-radius: 4px; text-decoration: none; }
.page-link:hover { background: #F2F5F9; text-decoration: none; color: #18212C; }
.page-item.active .page-link, .page-link.active { background: var(--sc-primary); color: #fff; }
.page-item.disabled .page-link { opacity: .45; pointer-events: none; }

/* ---- Desplegables ---- */
.dropdown, .dropup { position: relative; }
.dropdown-menu { position: absolute; top: 100%; left: 0; z-index: 1000; display: none; min-width: 11rem; padding: .25rem 0; margin-top: 4px; font-size: 13px; color: #18212C; text-align: left; list-style: none; background: #fff; border: 1px solid var(--sc-border-color); border-radius: 6px; box-shadow: 0 12px 32px rgba(15, 25, 40, .16); }
.dropdown-menu.show { display: block; }
.dropdown-menu-end { left: auto; right: 0; }
.dropdown-item { display: flex; align-items: center; gap: .5rem; width: 100%; padding: .4rem .75rem; clear: both; font-weight: 400; color: #18212C; text-align: inherit; white-space: nowrap; background: transparent; border: 0; text-decoration: none; cursor: pointer; }
.dropdown-item:hover, .dropdown-item:focus { background: #F2F5F9; color: #18212C; text-decoration: none; }
.dropdown-divider { height: 0; margin: .25rem 0; overflow: hidden; border-top: 1px solid var(--sc-border-color); }

/* ---- Pestañas ---- */
.nav { display: flex; flex-wrap: wrap; padding-left: 0; margin-bottom: 0; list-style: none; }
.nav-link { display: flex; align-items: center; gap: .5rem; padding: .5rem .75rem; color: var(--sc-secondary); text-decoration: none; background: none; border: 0; }
.nav-link:hover { color: #18212C; text-decoration: none; }
.nav-link.active { color: var(--sc-navy); font-weight: 600; }
.tab-content > .tab-pane { display: none; } .tab-content > .active { display: block; }
.list-group { display: flex; flex-direction: column; padding-left: 0; margin: 0; } .list-group-item { position: relative; display: block; padding: .5rem .75rem; border-bottom: 1px solid var(--sc-border-color); } .list-group-flush > .list-group-item:last-child { border-bottom: 0; }

/* ---- Ventanas (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.show { display: block; }
.modal-dialog { position: relative; width: auto; max-width: 500px; margin: 1.75rem auto; pointer-events: none; padding: 0 .75rem; }
.modal-sm { max-width: 380px; } .modal-lg { max-width: 800px; } .modal-xl { max-width: 1140px; }
.modal-full-width { max-width: none; margin: 1.75rem; }
.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-content { position: relative; display: flex; flex-direction: column; width: 100%; pointer-events: auto; background: #fff; border: 1px solid var(--sc-border-color); border-radius: 8px; box-shadow: 0 20px 48px rgba(15, 25, 40, .22); outline: 0; overflow: hidden; }
.modal-header { display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-height: 3.5rem; padding: .75rem 1.25rem; border-bottom: 1px solid var(--sc-border-color); }
.modal-title { margin: 0; font-size: 1rem; font-weight: 600; line-height: 1.4; }
.modal-body { position: relative; flex: 1 1 auto; padding: 1.25rem; }
.modal-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .5rem; padding: .75rem 1.25rem; border-top: 1px solid var(--sc-border-color); }
.modal-footer > .row { flex: 1 1 100%; }
.modal-content > .btn-close { position: absolute; top: .75rem; right: .75rem; z-index: 2; }
.modal-status { position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.modal-backdrop { position: fixed; top: 0; left: 0; z-index: 1050; width: 100vw; height: 100vh; background: rgba(15, 25, 40, .45); }
.modal-blur ~ .modal-backdrop, .modal-backdrop.blur { backdrop-filter: blur(3px); }
.modal.fade .modal-dialog { transition: transform .2s ease-out; transform: translateY(-16px); } .modal.show .modal-dialog { transform: none; }
.fade { transition: opacity .15s linear; } .fade:not(.show) { opacity: 0; }
.modal.fade:not(.show) { opacity: 0; } .tab-pane.fade.active { opacity: 1; }
body.modal-open { overflow: hidden; }
@media (max-width: 575.98px) { .modal-dialog { margin: .75rem auto; } }

