@font-face {
    font-family: 'montserrat-regular';
    src: url('../fonts/montserrat-regular.ttf') format('truetype');
}

@font-face {
    font-family: 'montserrat-light';
    src: url('../fonts/montserrat-light.ttf') format('truetype');
}

@font-face {
    font-family: 'montserrat-bold';
    src: url('../fonts/montserrat-bold.ttf') format('truetype');
}

@font-face {
    font-family: 'montserrat-black';
    src: url('../fonts/montserrat-black.ttf') format('truetype');
}

@font-face {
    font-family: 'Loos-Normal-Regular';
    src: url('../fonts/Loos_Normal_Regular.otf') format('truetype');
}

@font-face {
    font-family: 'Loos-Normal-Light';
    src: url('../fonts/Loos_Normal_Light.otf') format('truetype');
}

html, body {
    /*min-width: 350px;*/
    height: 100%;
    display: flex;
    flex-direction: column;
}

    body > .form-stage {
        flex: 1; /* el contenido ocupa el espacio disponible */
    }

html,
body,
.tooltip,
.popover,
.mapael .mapTooltip {
    font-family: Loos-Normal-Light, Loos-Normal-Regular, Arial, "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
/*body {
    color: #4B4E53 !important;
}*/

a {
    color: #263056;
}

    a:hover {
        color: #7FADD7;
    }

.text-primary {
    color: #263056 !important;
}

.sidebar-ars {
    background-color: #62666C;
}

    .sidebar-ars .nav-pills .nav-link {
        color: #D6D6D6;
    }

.nav-pills .nav-link:not(.active):hover {
    color: #263056;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    color: #FFFFFF;
    background-color: #263056;
}

#navUser {
    color: #4B4E53;
}

    #navUser:hover {
        color: #263056;
    }

.navbar-light .navbar-nav .show > .nav-link {
    color: #263056;
}

.navbar-nav > .user-menu > .dropdown-menu > li.user-header {
    height: auto;
}


.bg-primary {
    background-color: #4B4E53 !important;
}

.bg-primary-site {
    background-color: #263056 !important;
}

.brand-link {
    padding: calc(0.8125rem + 1px) 0.5rem;
    color: white;
}

    .brand-link:hover {
        color: white;
    }

.tab-content > .tab-pane {
    width: 100% !important;
}

.tab-content {
    height: 100% !important;
}

.toolbar > .btn {
    background-color: #696A6C !important;
    border: 1px solid #696A6C !important
}

.select2-container .select2-selection--single {
    height: calc(2.25rem + 2px);
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 32px;
    position: absolute;
    top: 3px;
    right: 7px;
    width: 20px;
}

.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #263056;
}

.select2-container--default .select2-dropdown .select2-search__field:focus,
.select2-container--default .select2-search--inline .select2-search__field:focus {
    border-color: #263056;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[aria-selected]:hover {
    background-color: #263056;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #263056;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #263056;
    border-color: #263056;
}


/* Modals */

.modal-confirm {
    color: #636363;
    width: 325px;
    margin: 30px auto;
}

.modal-confirm-sm {
    width: 325px;
}

.modal-confirm-md {
    width: 625px;
}

.modal-confirm .modal-content {
    padding: 20px;
    border-radius: 5px;
    border: none;
}

.modal-header {
    justify-content: center;
}

.modal-confirm .modal-header {
    border-bottom: none;
    position: relative;
}

.modal-confirm h4 {
    text-align: center;
    font-size: 26px;
    margin: 30px 0 -15px;
}

.modal-confirm .form-control,
.modal-confirm .btn {
    min-height: 40px;
    border-radius: 3px;
}

.modal-confirm .close {
    position: absolute;
    top: -5px;
    right: -5px;
}

.modal-confirm .modal-footer {
    border: none;
    text-align: center;
    border-radius: 5px;
    font-size: 13px;
}

.modal-confirm .icon-box {
    color: #fff;
    position: absolute;
    margin: 0 auto;
    left: 0;
    right: 0;
    top: -70px;
    width: 95px;
    height: 95px;
    border-radius: 50%;
    z-index: 9;
    /*background: #28a745;*/
    padding: 15px;
    text-align: center;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
}

    .modal-confirm .icon-box i {
        font-size: 58px;
        position: relative;
        top: 3px;
    }

.modal-confirm.modal-dialog {
    margin-top: 80px;
}

.modal-confirm .btn {
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.4s;
    line-height: normal;
    border: none;
}

    .modal-confirm .btn:hover,
    .modal-confirm .btn:focus {
        /*background: #28a745;*/
        outline: none;
    }

.success .icon-box {
    background: #28a745;
}

.error .icon-box {
    background: #dc3545;
}

.warning .icon-box {
    background: #ffc107;
}


/* Primary Buttons */

/*.btn-primary {
    background-color: #263056;
    border-color: white;*/
/*border-color: #263056;*/
/*}

    .btn-primary:hover {
        color: #ffffff;
        background-color: #7FADD7;
        border-color: #7FADD7;
    }

    .btn-primary:focus,
    .btn-primary.focus {
        color: #ffffff;
        background-color: #7FADD7;
        border-color: #7FADD7;
        box-shadow: none, 0 0 0 0 rgba(255, 183, 77, 0.5);
    }

    .btn-primary.disabled,
    .btn-primary:disabled {
        color: #ffffff;
        background-color: #263056;
        border-color: #263056;
    }

    .btn-primary:not(:disabled):not(.disabled):active,
    .btn-primary:not(:disabled):not(.disabled).active,
    .show > .btn-primary.dropdown-toggle {
        color: #ffffff;
        background-color: #7FADD7;
        border-color: #7FADD7;
    }

        .btn-primary:not(:disabled):not(.disabled):active:focus,
        .btn-primary:not(:disabled):not(.disabled).active:focus,
        .show > .btn-primary.dropdown-toggle:focus {
            box-shadow: 0 0 0 0 rgba(255, 183, 77, 0.5);
        }*/

/* Pagination */

.page-item.active .page-link {
    color: #ffffff;
    background-color: #263056;
    border-color: #263056;
}

.page-link {
    color: #263056;
}

    .page-link:hover {
        color: #7FADD7;
    }

table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control::before,
table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control::before {
    background-color: #263056;
}

.page-link:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 183, 77, 0.25);
}

.custom-file-input:focus ~ .custom-file-label {
    border-color: #263056;
}

.form-control:focus {
    border-bottom-color: #263056;
    border-top-color: #ced4da;
    border-left-color: #ced4da;
    border-right-color: #ced4da;
}

.flex-row {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex !important;
}

    .flex-row > div {
        -webkit-box-flex: 1;
        -webkit-flex: 1;
        flex: 1;
    }

textarea {
    min-height: 65px;
}

.icheck-ars > input:first-child:not(:checked):not(:disabled):hover + label::before,
.icheck-ars > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {
    border-color: #263056;
}

.icheck-ars > input:first-child:checked + label::before,
.icheck-ars > input:first-child:checked + input[type="hidden"] + label::before {
    background-color: #263056;
    border-color: #263056;
}

.daterangepicker td.in-range {
    background-color: #fff5e7;
}

.daterangepicker td.active, .daterangepicker td.active:hover {
    background-color: #263056;
    border-color: transparent;
    color: #fff;
}

.ars-select-invalid {
    border-color: #dc3545 !important;
    padding-right: 2.25rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

.secondary-label {
    font-weight: 400 !important;
}

.card-primary.card-outline {
    border-top: 3px solid #263056;
}

.content-header > h1 {
    color: #4B4E53 !important;
}

dl, dd {
    margin-bottom: 0.1rem;
}

/* Adicionales */
.modal-xl {
    max-width: 90% !important;
}

/* Función */
.table-container {
    font-size: 0.85rem;
    max-width: 100%;
    overflow-x: scroll;
    border-left: 1px solid white;
    /*overflow-y: scroll;*/
    /*max-height: calc(100vh - 360px);*/
}

/* Formato */
.table-ars, .table-ars-det {
    border-spacing: 0;
}

    .table-ars thead, .table-ars-det thead {
        position: sticky;
        top: 0;
        z-index: 1;
    }

.table-cebra tbody tr:nth-child(2n) {
    background-color: #f2f2f2;
}

.table-ars th, .table-ars-det th {
    /*min-width: 130px;*/
    padding: 0.1rem 0.3rem;
    text-align: center;
    border-top: 1px solid #666;
    border-right: 1px solid #666;
}

    .table-ars th:last-child, .table-ars-det th:last-child {
        border-right: 0;
    }

.table-ars td, .table-ars-det td {
    border-right: 1px solid #6c757d;
    border-bottom: 1px solid #e5e5e5;
    /*min-width: 130px;*/
    max-width: 400px;
    padding: 0 0.3rem;
    text-align: left;
}

.table-ars thead > tr th, .table-ars-det thead > tr th {
    border-bottom: 1px solid #e5e5e5;
}

.table-ars tbody > tr > td:last-child, .table-ars-det tbody > tr > td:last-child {
    border-right: 0;
}

.table-ars tbody > tr > td:first-child {
    width: 365px !important;
}

.table-ars tbody > tr > td:not(:first-child) {
    text-align: right;
}

.bg-blank {
    background-color: #fff !important;
    border: none !important;
}

.bg-gray-light {
    background-color: #D9D9D9;
}

.bg-gray-medium {
    background-color: #B0B0B1 !important;
}

.text-gray-medium {
    color: #B0B0B0 !important;
}

.bg-gray-high {
    background-color: #6C757D;
    color: #fff;
}

.col-size-400 {
    min-width: 400px !important;
    max-width: 400px !important;
}

.select2-results__option .wrap:before {
    font-family: fontAwesome;
    color: #999;
    content: "\f096";
    width: 25px;
    height: 25px;
    padding-right: 10px;
}

.select2-results__option[aria-selected=true] .wrap:before {
    content: "\f14a";
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 32px;
    right: 7px;
}

.select2-results__option .wrap::before {
    color: #555;
}

.fsize-85 {
    font-size: 0.85rem;
}

.inputEdit {
    border: none;
    background: none;
    outline: none;
    margin: 0;
    padding: 0;
    height: 1.5rem;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
}

.progressBar-primary, .progressBar-hover-primary:hover {
    color: #fff !important;
    background-color: #263056 !important;
}

/*Cuadro de carga de archivos*/
.dropzone {
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    font-size: 16px;
    color: #777;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .dropzone:hover {
        background-color: #f0f0f0;
    }

.file-list {
    list-style-type: none;
    padding-left: 0;
}

.file-item {
    margin-bottom: 10px;
    position: relative;
}

    .file-item img {
        width: 40px;
        height: 40px;
        margin-right: 10px;
        vertical-align: middle;
    }

.file-name {
    display: inline-block;
    vertical-align: middle;
}

.delete-icon {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    color: red;
}

.center-btns {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

/* Select Incorrecto */
.local-select-invalid {
    border-color: #dc3545 !important;
    padding-right: 2.25rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(1.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

/* MultiSelect Incorrecto */

.local-multiselect-invalid {
    border-color: #dc3545 !important;
    padding-right: 2.25rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

/* Botón de pantalla completa */
.fullscreen-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    color: white;
}

/* Footer 
.footer-content {
    position: fixed;
    bottom: 2px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1500px;
    width: 100%;
    padding: 0 10px;
    color: white;
    font-size: 22px;
}

.footer-left, .footer-right {
flex: 1;
padding: 0 5px;
}

.footer-left {
    text-align: left;
    color: #263056;
}

.footer-right {
    text-align: right;
    color: #263056;
}

.footer-inner a {
    color: #263056;
    text-decoration: none;
}

    .footer-inner a:hover {
        color: #2980b9;
        text-decoration: underline;
    }
   */
/* Footer general */
.footer-content {
    /*background: rgba(0,0,0,0.35);*/ /* translúcido como tu estilo glass */
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.6;
    padding: 0.8rem 1.5rem;
    position: relative;
    margin-top: auto; /* empuja al fondo */
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* en móvil pasa a dos filas */
    gap: 0.5rem;
}

.footer-left a {
    color: var(--accent);
    text-decoration: none;
}

    .footer-left a:hover {
        text-decoration: underline;
    }

.footer-right {
    font-weight: 500;
    color: rgba(255,255,255,.8);
}

/* Responsivo: texto centrado en pantallas pequeñas */
@media (max-width: 600px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}
