@font-face {
    font-family: "Inter Variable";
    src: url("/webfonts/inter/InterVariable.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: "Inter Variable";
    src: url("/webfonts/inter/InterVariable-Italic.woff2") format("woff2");
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --bs-font-sans-serif: "Inter Variable", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --bs-body-font-family: var(--bs-font-sans-serif);
    --bs-nav-link-font-size: .775rem;
    --lo-sidebar-width: 14.875rem;
    --lo-header-height: 2.5rem;
    --lo-sidebar-bg: #172033;
    --lo-sidebar-color: #dbe3ef;
    --lo-sidebar-muted: #94a3b8;
    --lo-sidebar-hover: rgba(255, 255, 255, .09);
    --lo-border: var(--bs-border-color);
}

html, body { min-height: 100%; }
body { margin: 0; background: var(--bs-tertiary-bg); color: var(--bs-body-color); }
.ag-theme-balham,
.ag-theme-balham-dark,
.lg-container { font-family: var(--bs-font-sans-serif); }
.ag-theme-balham,
.ag-theme-balham-dark {
    --ag-border-color: var(--bs-border-color-translucent);
    --ag-header-background-color: var(--bs-tertiary-bg);
    --ag-header-foreground-color: var(--bs-body-color);
}
.ag-theme-balham {
    --ag-odd-row-background-color: var(--ag-background-color, #fff);
}
.ag-theme-balham-dark {
    --ag-odd-row-background-color: var(--ag-background-color, #31333e);
}
.ag-theme-balham .ag-row-odd,
.ag-theme-balham-dark .ag-row-odd {
    background-color: var(--ag-odd-row-background-color);
}
.ag-theme-balham .ag-row-even,
.ag-theme-balham-dark .ag-row-even {
    background-color: var(--bs-tertiary-bg);
}
.ag-theme-balham .ag-header,
.ag-theme-balham-dark .ag-header {
    background-color: var(--bs-tertiary-bg) !important;
    border-bottom-color: var(--bs-border-color);
}
.panel-grilla .ag-root-wrapper {
    border: 1px solid var(--bs-border-color-translucent);
    border-radius: var(--bs-border-radius);
    overflow: hidden;
}
.standalone-page .page-inner { display: block; }
.standalone-page .page-content-wrapper { min-height: 100vh; }
a { text-decoration: none; }

.page-wrapper { min-height: 100vh; }
.page-inner { min-height: 100vh; display: grid; grid-template-columns: var(--lo-sidebar-width) minmax(0, 1fr); }
.page-sidebar {
    position: sticky; top: 0; z-index: 1035; height: 100vh; overflow: hidden;
    display: flex; flex-direction: column; background: var(--lo-sidebar-bg); color: var(--lo-sidebar-color);
}
.page-content-wrapper { min-width: 0; }
.page-logo { display: flex; align-items: center; padding: 0.5rem 0.5rem 0.5rem 1rem; font-size: 0.775rem; }
.page-logo-link { width: 100%; gap: .75rem; color: #fff; font-weight: 600; }
.page-logo img { width: 2.00rem; height: 2.00rem; object-fit: contain; }
.page-logo-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.primary-nav { min-height: 0; display: flex; flex: 1; flex-direction: column; }
.nav-filter { padding: .5rem 1rem 1rem; }
.nav-filter .form-control { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); }
.nav-filter .form-control::placeholder { color: var(--lo-sidebar-muted); }
.info-card { display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; border-block: 1px solid rgba(255,255,255,.1); }
.info-card-text { min-width: 0; flex: 1; font-size: 0.775rem;}
.profile-icon {
    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--bs-border-color);
    color: var(--bs-secondary-color);
    background: var(--bs-tertiary-bg);
    font-size: 1rem;
}
.info-card .profile-icon {
    border-color: rgba(255, 255, 255, .14);
    color: #fff;
    background: rgba(255, 255, 255, .1);
}
.dropdown-menu .bg-primary .profile-icon {
    border-color: rgba(255, 255, 255, .25);
    color: #fff;
    background: rgba(255, 255, 255, .14);
}
.nav-menu {
    flex: 1;
    overflow-y: auto;
    list-style: none;
    margin: 0;
    padding: .75rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, .45) transparent;
}
.nav-menu::-webkit-scrollbar { width: .5rem; }
.nav-menu::-webkit-scrollbar-track { background: transparent; }
.nav-menu::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 999px;
    background: rgba(148, 163, 184, .45);
    background-clip: padding-box;
}
.nav-menu::-webkit-scrollbar-thumb:hover { background-color: rgba(148, 163, 184, .7); }
.nav-menu ul { display: none; list-style: none; margin: .25rem 0 .5rem; padding: 0 0 0 calc(1.5rem + .65rem); }
.nav-menu li.open > ul { display: block; }
.nav-menu a { display: flex; align-items: center; gap: .65rem; padding: .58rem .7rem; border-radius: var(--bs-border-radius); color: var(--lo-sidebar-color); }
.nav-menu > li > .nav-link > i:first-child {
    display: inline-flex;
    flex: 0 0 1.5rem;
    width: 1.5rem;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    line-height: 1;
}
.nav-menu a:hover, .nav-menu a:focus, .nav-menu .active > a { color: #fff; background: var(--lo-sidebar-hover); }
.nav-menu > li > a::after { content: "\f078"; margin-left: auto; font-family: "Font Awesome 6 Pro", "Font Awesome 5 Pro"; font-size: .7rem; transition: transform .2s; }
.nav-menu > li.open > a::after { transform: rotate(180deg); }
.nav-menu li li a { color: var(--lo-sidebar-muted); font-size: .800rem; }
.nav-footer { padding: .75rem 1rem; border-top: 1px solid rgba(255,255,255,.1); }
.nav-footer-buttons { display: flex; justify-content: center; gap: .5rem; list-style: none; padding: 0; }
.page-header {
    position: sticky; top: 0; z-index: 1030; height: var(--lo-header-height); padding: .5rem 1rem;
    display: flex; align-items: center; gap: .5rem; 
}
.page-header .page-logo { display: none; }
.header-icon, .header-btn { min-width: 2.5rem; height: 2.5rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
.header-icon { color: var(--bs-primary); }
.header-icon:hover, .header-icon:focus { color: var(--bs-link-hover-color); }
.header-icon:hover, .header-btn:hover { background: var(--bs-tertiary-bg); }
.notification-count-badge {
    display: inline-flex;
    min-width: 1rem;
    height: 1rem;
    padding: 0 .25rem;
    align-items: center;
    justify-content: center;
    font-size: .625rem;
    line-height: 1;
    transform: translate(-15%, 10%);
}
.page-content { padding: 0rem 1rem 1rem 1rem; }
.page-content-overlay { display: none; }

.dashboard-stat {
    position: relative;
    z-index: 1;
    font-size: 2.25rem;
    font-weight: 500;
    line-height: 1;
}
.dashboard-stat > small {
    display: block;
    overflow: hidden;
    margin-top: .4rem !important;
    font-size: .775rem;
    font-weight: 400;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card.panel {
    margin-bottom: 1rem;
    overflow: hidden;
    background: var(--bs-body-bg);
    border: 0;
    border-radius: .625rem;
    box-shadow: 0 .125rem .5rem rgba(15, 23, 42, .06);
}
[data-bs-theme="light"] .card.panel {
    --bs-card-cap-color: var(--bs-primary-border-subtle);
}
.panel-hdr {
    display: flex;
    align-items: center;
    padding: .875rem 1.25rem 0;
    background-color: transparent;
    border-bottom: 0;
}
.panel-hdr h1, .panel-hdr h2, .panel-hdr h3 { margin: 0; font-size: 1rem; font-weight: 600; }
.panel-hdr > :last-child:not(:first-child) { margin-left: auto; }
.panel-toolbar { display: flex; align-items: center; gap: .4rem; margin-left: auto; }
.panel > a[data-action="panel-collapse"] { display: block; color: inherit; }
.panel > a[data-action="panel-collapse"]:hover { color: inherit; }
.panel-container { width: 100%; }
.panel-content { padding: 1rem 1.25rem 1.25rem; }
.panel-content.panel-grilla { padding: 0; }

@media (min-width: 992px) {
    .modal-lg {
        --bs-modal-width: 830px;
    }
}

.form-label { margin-bottom: .3rem; font-size: .775rem; font-weight: 400; }
.form-control, .form-select { font-size: .775rem; }
.btn { --bs-btn-font-size: .8rem; }
.selectize-dropdown { z-index: 1080; }
.form-control:disabled,
.form-select:disabled {
    background-color: var(--bs-secondary-bg);
    color: var(--bs-secondary-color);
    border-color: var(--bs-border-color);
    opacity: 1;
}
.form-check-label { font-size: .775rem; }
.table thead th { font-size: .775rem; }
.form-check.form-switch.form-check-inline { display: inline-flex; align-items: center; gap: .35rem; padding-left: 0; }
.form-check.form-switch.form-check-inline .form-check-input { float: none; margin: 0; }
.form-switch .form-check-input { width: 2.25em; height: 1.125em; margin-top: .1875em; }
.form-row { --bs-gutter-x: 1rem; --bs-gutter-y: .75rem; display: flex; flex-wrap: wrap; margin-top: calc(-1 * var(--bs-gutter-y)); margin-right: calc(-.5 * var(--bs-gutter-x)); margin-left: calc(-.5 * var(--bs-gutter-x)); }
.form-row > * { flex-shrink: 0; max-width: 100%; margin-top: var(--bs-gutter-y); padding-right: calc(var(--bs-gutter-x) * .5); padding-left: calc(var(--bs-gutter-x) * .5); }
.custom-control { position: relative; display: inline-flex; align-items: center; min-height: 1.5rem; gap: .45rem; margin-right: 1rem; }
.custom-control-input { width: 1em; height: 1em; margin: 0; accent-color: var(--bs-primary); }
.custom-switch .custom-control-input { width: 2.5em; height: 1.25em; appearance: none; border: 1px solid var(--bs-border-color); border-radius: 2em; background: var(--bs-secondary-bg); transition: background-position .15s ease-in-out; }
.custom-switch .custom-control-input:checked { border-color: var(--bs-primary); background: var(--bs-primary); }
.custom-switch .custom-control-input::before { content: ""; display: block; width: 1em; height: 1em; margin: .07em; border-radius: 50%; background: #fff; transition: transform .15s ease-in-out; }
.custom-switch .custom-control-input:checked::before { transform: translateX(1.2em); }
.custom-control-label { margin: 0; cursor: pointer; }
.btn-block { display: block; width: 100%; }
.badge-pill { border-radius: var(--bs-border-radius-pill); }
.close { box-sizing: content-box; width: 1em; height: 1em; padding: .25em; color: currentColor; border: 0; background: transparent; opacity: .5; font-size: 1.5rem; }
.btn-close-sm { font-size: .75rem; }
.btn-icon { width: calc(2.1rem + 2px); height: calc(2.1rem + 2px); padding: 0; line-height: 2.1rem; }

.hidden-xs-down { display: inline; }
.hidden-sm-down, .hidden-md-down { display: initial; }
.hidden-lg-up { display: none; }
.cursor-pointer { cursor: pointer; }
.fw-400 { font-weight: 400; } .fw-500 { font-weight: 500; } .fw-600 { font-weight: 600; } .fw-700 { font-weight: 700; }
.fs-xs { font-size: .75rem; } .fs-sm, .fs-md { font-size: .775rem; } .fs-lg { font-size: 1.125rem; } .fs-xl { font-size: 1.25rem; }
.color-white { color: #fff !important; } .color-primary-300 { color: var(--bs-primary) !important; }
.bg-faded { background: var(--bs-tertiary-bg) !important; }
.bg-primary-50, .bg-primary-100, .bg-primary-200, .bg-primary-300, .bg-primary-400, .bg-primary-500, .bg-primary-600, .bg-primary-700, .bg-primary-800, .bg-primary-900 { background-color: var(--bs-primary) !important; color: #fff; }
.bg-success-600 { background-color: var(--bs-success) !important; color: #fff; }
.bg-danger-600 { background-color: var(--bs-danger) !important; color: #fff; }
.bg-warning-600 { background-color: var(--bs-warning) !important; }
.bg-info-600 { background-color: var(--bs-info) !important; }
.bg-trans-gradient { background: linear-gradient(135deg, var(--bs-primary), color-mix(in srgb, var(--bs-primary) 65%, #000)); color: #fff; }
.border-faded { border-color: var(--lo-border) !important; }
.dropdown-lg { min-width: 20rem; } .dropdown-xl { min-width: min(26rem, 90vw); }
.notification { list-style: none; margin: 0; padding: 0; }
.notification-item {
    padding: .75rem 1rem;
    border-bottom: 1px solid var(--bs-border-color);
}
.notification-item:last-child { border-bottom: 0; }
.notification-item:hover { background-color: var(--bs-tertiary-bg); }
.notification-img {
    width: 2rem;
    height: 2rem;
    overflow: hidden;
}
.notification-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.notification-msg-title {
    color: var(--bs-emphasis-color);
    font-size: .8rem;
    font-weight: 600;
    line-height: 1.3;
}
.notification-message {
    margin-top: .125rem;
    font-size: .775rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.notification-date { font-size: .6875rem; }
.notification-unread {
    width: .45rem;
    height: .45rem;
    border-radius: 50%;
    background-color: var(--bs-danger);
}
.notification-empty {
    padding: 1rem;
    color: var(--bs-secondary-color);
    text-align: center;
}
.custom-scroll { overflow: auto; }
.text-truncate-sm { max-width: 10rem; } .text-truncate-md { max-width: 14rem; } .text-truncate-lg { max-width: 18rem; }
.opacity-50 { opacity: .5; } .opacity-60 { opacity: .6; } .opacity-70 { opacity: .7; } .opacity-80 { opacity: .8; }
.opacity-15 { opacity: .15; }
.pos-top { top: 0; } .pos-right { right: 0; } .pos-bottom { bottom: 0; } .pos-left { left: 0; }
.mt-n1 { margin-top: -.25rem !important; } .mb-n1 { margin-bottom: -.25rem !important; }
.mt-n2 { margin-top: -.5rem !important; } .mb-n2 { margin-bottom: -.5rem !important; }
.me-n1 { margin-right: -.25rem !important; } .me-n2 { margin-right: -.5rem !important; }
.me-n3 { margin-right: -1rem !important; } .me-n4 { margin-right: -1.5rem !important; }
.me-n5 { margin-right: -3rem !important; } .me-n6 { margin-right: -4rem !important; }
.mb-n4 { margin-bottom: -1.5rem !important; } .mb-n5 { margin-bottom: -3rem !important; }
.min-w-0 { min-width: 0; }
.btn-default {
    --bs-btn-color: var(--bs-body-color);
    --bs-btn-bg: var(--bs-secondary-bg);
    --bs-btn-border-color: var(--bs-border-color);
    --bs-btn-hover-color: var(--bs-body-color);
    --bs-btn-hover-bg: color-mix(in srgb, var(--bs-secondary-bg) 88%, var(--bs-emphasis-color));
    --bs-btn-hover-border-color: color-mix(in srgb, var(--bs-border-color) 82%, var(--bs-emphasis-color));
    --bs-btn-focus-shadow-rgb: var(--bs-secondary-rgb);
    --bs-btn-active-color: var(--bs-body-color);
    --bs-btn-active-bg: color-mix(in srgb, var(--bs-secondary-bg) 80%, var(--bs-emphasis-color));
    --bs-btn-active-border-color: color-mix(in srgb, var(--bs-border-color) 72%, var(--bs-emphasis-color));
    --bs-btn-disabled-color: var(--bs-secondary-color);
    --bs-btn-disabled-bg: var(--bs-secondary-bg);
    --bs-btn-disabled-border-color: var(--bs-border-color);
}
.height-6 { min-height: 3.75rem; } .height-9 { min-height: 5.625rem; } .height-10 { min-height: 6.25rem; }
.flex-1 { flex: 1 1 auto; }
.width-mobile-auto { width: auto; }
.shadow-0 { box-shadow: none !important; }
.rounded-plus { border-radius: calc(var(--bs-border-radius) * 1.5); }
.bg-brand-gradient { background: linear-gradient(135deg, #172033, #31558b) !important; }
.bg-img-none { background-image: none !important; }

/* Authentication */
.auth {
    --auth-header-height: 4.5rem;
    min-height: 100vh;
    background: linear-gradient(135deg, #172033, #31558b);
}
.auth .page-inner { min-height: 100vh; display: block; }
.auth .page-content-wrapper { min-height: 100vh; display: flex; flex-direction: column; }
.auth-header {
    min-height: var(--auth-header-height);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: rgba(10, 24, 48, .28);
    box-shadow: 0 .5rem 1.5rem rgba(5, 15, 35, .12);
    backdrop-filter: blur(10px);
}
.auth-header-container { min-height: var(--auth-header-height); max-width: 90rem; }
.auth-header .page-logo { min-height: var(--auth-header-height); height: auto; }
.auth-header .page-logo img { width: 2rem; height: 2rem; }
.auth-header .page-logo-text { font-size: .925rem; }
.auth-language {
    border-color: rgba(255, 255, 255, .3);
    background: rgba(255, 255, 255, .04);
    font-size: .775rem;
}
.auth-language:hover, .auth-language:focus { border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .1); }
.auth-main { position: relative; min-height: calc(100vh - var(--auth-header-height)); }
.auth-container {
    position: relative;
    min-height: calc(100vh - var(--auth-header-height));
    max-width: 90rem;
    display: flex;
    align-items: center;
    padding-top: 3rem;
    padding-bottom: 5rem;
}
.auth-carousel {
    width: 100%;
    max-width: 42rem;
    margin-inline: auto;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 1rem;
    background: #13243d;
    box-shadow: 0 1.5rem 3.5rem rgba(5, 15, 35, .28);
}
.auth-carousel .carousel-inner,
.auth-carousel .carousel-item,
.auth-carousel .carousel-item img { height: 100%; }
.auth-carousel .carousel-item img { object-fit: cover; }
.auth-carousel .carousel-indicators { gap: .35rem; margin-bottom: 1rem; }
.auth-carousel .carousel-indicators [data-bs-target] {
    width: 1.75rem;
    height: .2rem;
    margin: 0;
    border: 0;
    border-radius: 1rem;
}
.auth-copy { width: 100%; max-width: 42rem; margin-inline: auto; margin-bottom: 0; font-size: clamp(1.2rem, 1.65vw, 1.6rem); font-weight: 600; line-height: 1.25; }
.auth-copy-detail { font-size: .92em; font-weight: 400; line-height: 1.35; opacity: .62; }
.auth-social { width: 100%; max-width: 42rem; gap: .6rem; margin-inline: auto; margin-top: .75rem; }
.auth-social a { margin: 0 !important; font-size: 1rem; opacity: .65; transition: opacity .15s ease, transform .15s ease; }
.auth-social a:hover { opacity: 1; transform: translateY(-1px); }
.auth-card {
    width: 100%;
    max-width: 26rem;
    margin-left: auto;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    border: 1px solid rgba(255, 255, 255, .45) !important;
    border-radius: 1rem;
    color: var(--bs-body-color);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 1.5rem 4rem rgba(5, 15, 35, .3);
    backdrop-filter: blur(14px);
}
[data-bs-theme="dark"] .auth-card { border-color: rgba(255, 255, 255, .12) !important; background: rgba(33, 37, 41, .96); }
.auth-card-header { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.75rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--bs-border-color); }
.auth-card-mark { width: 2.75rem; height: 2.75rem; flex: 0 0 auto; display: grid; place-items: center; border-radius: .75rem; background: color-mix(in srgb, var(--bs-primary) 10%, transparent); }
.auth-card-mark img { width: 2rem; height: 2rem; object-fit: contain; }
.auth-card-kicker { margin-bottom: .15rem; color: var(--bs-primary); font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.auth-card-title { overflow: hidden; margin: 0; font-size: 1.05rem; font-weight: 600; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.auth-card .form-label { color: var(--bs-secondary-color); font-weight: 500; }
.app-alert {
    --bs-alert-color: #7f3036;
    --bs-alert-bg: rgba(var(--bs-danger-rgb), .065);
    --bs-alert-border-color: rgba(var(--bs-danger-rgb), .24);
    display: flex;
    align-items: center;
    gap: .7rem;
    min-height: 2.875rem;
    margin-bottom: 1rem;
    padding: .7rem 2.75rem .7rem .9rem;
    font-size: .775rem;
    line-height: 1.35;
}
.app-alert.alert-success {
    --bs-alert-color: #23633d;
    --bs-alert-bg: rgba(var(--bs-success-rgb), .07);
    --bs-alert-border-color: rgba(var(--bs-success-rgb), .25);
}
.app-alert-icon {
    flex: 0 0 auto;
    font-size: 1rem;
}
.app-alert.alert-danger .app-alert-icon { color: var(--bs-danger); }
.app-alert.alert-success .app-alert-icon { color: var(--bs-success); }
.app-alert.alert-dismissible .btn-close {
    top: 50%;
    right: .75rem;
    padding: .5rem;
    font-size: .7rem;
    opacity: .38;
    transform: translateY(-50%);
}
.app-alert.alert-dismissible .btn-close:hover,
.app-alert.alert-dismissible .btn-close:focus { opacity: .7; }
[data-bs-theme="dark"] .app-alert.alert-danger {
    --bs-alert-color: #f1b0b7;
    --bs-alert-bg: rgba(var(--bs-danger-rgb), .12);
    --bs-alert-border-color: rgba(var(--bs-danger-rgb), .32);
}
[data-bs-theme="dark"] .app-alert.alert-success {
    --bs-alert-color: #9ed5b5;
    --bs-alert-bg: rgba(var(--bs-success-rgb), .14);
    --bs-alert-border-color: rgba(var(--bs-success-rgb), .34);
}
.auth-field { position: relative; }
.auth-field-icon { position: absolute; top: 1.375rem; left: .95rem; z-index: 4; transform: translateY(-50%); color: var(--bs-secondary-color); pointer-events: none; transition: color .15s ease; }
.auth-field:focus-within .auth-field-icon { color: var(--bs-primary); }
.auth-control { min-height: 2.75rem; padding-left: 2.65rem; border-color: color-mix(in srgb, var(--bs-border-color) 85%, var(--bs-body-color)); background-color: var(--bs-body-bg); }
.auth-control:focus { border-color: var(--bs-primary); box-shadow: 0 0 0 .2rem rgba(var(--bs-primary-rgb), .14); }
.auth-submit { min-height: 2.75rem; font-size: .925rem; font-weight: 600; box-shadow: 0 .55rem 1.25rem rgba(var(--bs-info-rgb), .2); }
.auth-submit:hover { transform: translateY(-1px); box-shadow: 0 .75rem 1.5rem rgba(var(--bs-info-rgb), .25); }
.auth-footer { position: absolute; right: 1rem; bottom: 1rem; left: 1rem; font-size: .75rem; opacity: .58; }
.auth-footer a { text-decoration: none; }
.auth-footer a:hover { text-decoration: underline; }

.breadcrumb { font-size: .775rem; }
.page-breadcrumb { position: relative; margin-bottom: 0.2rem; }
#vAcciones .dropdown-item { font-size: .875rem; }

body .tabulator {
    font-size: .775rem;
}

body .tabulator .tabulator-group {
    box-sizing: border-box;
    min-height: 32px;
    height: 32px;
    padding-top: 6px;
    padding-bottom: 6px;
    line-height: 18px;
}

body .tabulator .tabulator-row,
body .tabulator .tabulator-row .tabulator-cell {
    box-sizing: border-box;
    min-height: 32px;
    height: 32px;
}

body .tabulator .tabulator-row .tabulator-cell {
    padding-top: 6px;
    padding-bottom: 6px;
    line-height: 18px;
}

body .tabulator .tabulator-row:has(.tabulator-data-tree-control) {
    font-weight: 600;
}

body .tabulator .tabulator-cell.tabulator-editing:has(input[type="checkbox"]) {
    padding: 7px 0;
}

body .tabulator .tabulator-cell.tabulator-editing input[type="checkbox"] {
    display: block;
    width: 1rem;
    height: 1rem;
    margin: 0 auto;
    padding: 0;
}

#vAcciones .btn {
    min-height: 2rem;
    padding: .375rem .75rem;
    font-family: var(--bs-font-sans-serif);
    font-size: .8125rem;
    font-weight: 500;
    line-height: 1.25;
    border-radius: var(--bs-border-radius);
}
.nav-tabs-clean {
    flex-wrap: nowrap;
    gap: 0;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.nav-tabs-clean .nav-item { flex: 0 0 auto; }
.nav-tabs-clean .nav-item + .nav-item { margin-left: -1px; }
.nav-tabs-clean .nav-link {
    margin-top: 0;
    margin-bottom: -1px;
    padding: .5rem 1.25rem;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--bs-border-radius) var(--bs-border-radius) 0 0;
    color: var(--bs-secondary-color);
    white-space: nowrap;
}
.nav-tabs-clean .nav-link:not(.active) {
    border-color: var(--bs-border-color);
    background: var(--bs-tertiary-bg);
}
.nav-tabs-clean .nav-link:hover:not(.active) {
    background: var(--bs-secondary-bg);
    color: var(--bs-primary);
}
.nav-tabs-clean .nav-link.active {
    position: relative;
    color: var(--bs-emphasis-color);
    background: var(--bs-body-bg);
    border-color: var(--bs-border-color) var(--bs-border-color) var(--bs-body-bg) !important;
}
.nav-tabs-clean .nav-link.active::after {
    position: absolute;
    right: 0;
    bottom: -2px;
    left: 0;
    height: 2px;
    background: var(--bs-body-bg);
    content: "";
}
.nav-tabs-clean + .tab-content {
    margin-top: -1px;
    padding: 1rem !important;
    border: 1px solid var(--bs-border-color);
    border-radius: 0 0 .5rem .5rem;
    background: var(--bs-body-bg);
}

@media (max-width: 767.98px) {
    .auth-header .page-logo-text { max-width: 12rem; }
    .auth-container { flex-direction: column; justify-content: center; padding-top: 2rem; padding-bottom: 2rem; }
    .auth-layout { margin: auto 0; }
    .auth-card { max-width: 28rem; margin: 0 auto; }
    .auth-footer { position: static; margin-top: 1.5rem; }
}

@media (max-width: 991.98px) {
    .page-inner { display: block; }
    .page-sidebar { position: fixed; left: 0; transform: translateX(-100%); width: min(var(--lo-sidebar-width), 86vw); transition: transform .2s ease; }
    body.mobile-nav-on .page-sidebar { transform: translateX(0); }
    body.mobile-nav-on .page-content-overlay { position: fixed; inset: 0; z-index: 1034; display: block; background: rgba(0,0,0,.45); }
    .hidden-md-down { display: none !important; }
    .hidden-lg-up { display: block; }
}

@media (max-width: 575.98px) {
    .page-content { padding: .65rem; }
    .hidden-xs-down { display: none !important; }
    .dropdown-lg, .dropdown-xl { min-width: calc(100vw - 1rem); }
}

@media print {
    .page-sidebar, .page-header { display: none !important; }
    .page-inner { display: block; }
    .page-content { padding: 0; }
    .panel { box-shadow: none; }
}

.coloracion {
    width: 1.5rem;
    height: 1.5rem;
}
