﻿/*@import "vp/Colors.css";*/

/*--NEGRO: #000000;*/
/*--GRIS: #F2F2F2;*/
/*--BLANCO: #FFFFFF;*/
/*--MARRON: #918655;*/
/*--ROJO: #D91E2E;*/
/*--VERDE: #118C23;*/
/*--PISTACHE: #D0D991;*/
/*--CAFE: #591414;*/


/*color: #444444;*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
/*#region General*/

:root {
    scroll-behavior: smooth;
}

html {
    height: 100%;
}

body {
    font-family: "Open Sans", sans-serif;
    background: #F2F2F2;
    color: #444444;
    height: 100%;
}

a {
    color: #118C23;
    text-decoration: none;
}

    a:hover {
        color: #591414;
        text-decoration: none;
    }

h1, h2, h3, h4, h5, h6 {
    font-family: "Nunito", sans-serif;
}

input:focus, select:focus, textarea:focus {
    border-color: #D0D991 !important;
    box-shadow: 0 0 0 0.1rem #D0D991, 0 0 0 0.1rem white !important;
}

input[type=file]::file-selector-button {
    display: none !important;
}

.icon-green {
    color: #118C23;
}
/*#endregion */


/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
/*#region Main*/

#main {
    margin-top: 60px;
    padding: 20px 30px;
    transition: all 0.3s;
    min-height: 100%;
}

@media (max-width: 1199px) {
    #main {
        padding: 20px;
    }
}

/*#endregion */


/*--------------------------------------------------------------
# Page Title
--------------------------------------------------------------*/
/*#region Page Title*/

.pagetitle {
    margin-bottom: 10px;
}

    .pagetitle h1 {
        font-size: 24px;
        margin-bottom: 0;
        font-weight: 600;
        color: #118C23;
        display: inline;
    }

/*#endregion */


/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
/*#region Header*/
.logo {
    line-height: 1;
}

@media (min-width: 1200px) {
    .logo {
        width: 280px;
    }
}

.logo i {
    max-height: 26px;
    margin-right: 6px;
    color: #D91E2E !important;
}

.logo span {
    font-size: 1.3rem;
    font-weight: 700;
    color: #FFFFFF;
    font-family: "Nunito", sans-serif;
}

.header {
    transition: all 0.5s;
    z-index: 997;
    height: 60px;
    box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
    background-color: #118C23;
    padding-left: 20px;
}

    .header .toggle-sidebar-btn {
        font-size: 32px;
        padding-left: 10px;
        cursor: pointer;
        color: #D91E2E;
    }

    .header .business-name {
        font-size: 1.3rem;
        font-weight: 300;
        color: #FFFFFF;
        font-family: "Nunito", sans-serif;
    }
/*#endregion */


/*--------------------------------------------------------------
# Header Nav
--------------------------------------------------------------*/
/*#region Header Nav*/

.header-nav ul {
    list-style: none;
}

.header-nav > ul {
    margin: 0;
    padding: 0;
}

.header-nav .nav-icon {
    font-size: 22px;
    color: #118C23;
    margin-right: 25px;
    position: relative;
}

.header-nav .nav-profile {
    color: #FFFFFF;
}

    .header-nav .nav-profile i {
        max-height: 36px;
    }

    .header-nav .nav-profile span {
        font-size: 14px;
        font-weight: 600;
    }

.header-nav .profile {
    min-width: 240px;
    padding-bottom: 0;
    top: 8px !important;
}

    .header-nav .profile .dropdown-header h6 {
        font-size: 18px;
        margin-bottom: 0;
        font-weight: 600;
        color: #444444;
    }

    .header-nav .profile .dropdown-header span {
        font-size: 14px;
    }

    .header-nav .profile .dropdown-item {
        font-size: 14px;
        padding: 10px 15px;
        transition: 0.3s;
    }

        .header-nav .profile .dropdown-item i {
            margin-right: 10px;
            font-size: 18px;
            line-height: 0;
        }

        .header-nav .profile .dropdown-item:hover {
            background-color: #D0D991;
        }

/*#endregion */


/*--------------------------------------------------------------
# Card Profile
--------------------------------------------------------------*/
/*#region Card Profile*/

.card-profile {
    font-size: 2.5rem;
    text-align: center;
}

    .card-profile .img {
        color: #591414;
        background: #D0D991;
        border: 2px solid #918655;
        width: 120px;
        height: 120px;
    }

    .card-profile .title {
        color: #118C23;
        font-weight: 700;
        margin: 10px 0 0 0;
    }

    .card-profile .subtitle {
        /*color: #D91E2E;*/
    }

/*#endregion */


/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
/*#region Sidebar*/

.sidebar {
    position: fixed;
    top: 60px;
    left: 0;
    bottom: 0;
    width: 300px;
    z-index: 996;
    transition: all 0.3s;
    padding: 20px;
    overflow-y: auto;
    box-shadow: 0px 0px 20px rgba(1, 41, 112, 0.1);
    background-color: #fff;
}

@media (max-width: 1199px) {
    .sidebar {
        left: -300px;
    }
}

@media (min-width: 1200px) {
    #main,
    #footer {
        margin-left: 300px;
    }
}

@media (max-width: 1199px) {
    .toggle-sidebar .sidebar {
        left: 0;
    }
}

@media (min-width: 1200px) {

    .toggle-sidebar #main,
    .toggle-sidebar #footer {
        margin-left: 0;
    }

    .toggle-sidebar .sidebar {
        left: -300px;
    }
}

.sidebar-nav {
    padding: 0;
    margin: 0;
    list-style: none;
}

    .sidebar-nav li {
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .sidebar-nav .nav-item {
        margin-bottom: 5px;
    }

    .sidebar-nav .nav-heading {
        font-size: 11px;
        text-transform: uppercase;
        color: #899bbd;
        font-weight: 600;
        margin: 10px 0 5px 15px;
    }

    .sidebar-nav .nav-link {
        display: flex;
        align-items: center;
        font-size: 15px;
        font-weight: 600;
        color: #591414;
        transition: 0.3s;
        padding: 10px 15px;
        border-radius: 4px;
    }

        .sidebar-nav .nav-link i {
            font-size: 16px;
            margin-right: 10px;
            color: #591414;
        }

        .sidebar-nav .nav-link.collapsed {
            color: #118C23;
            background: #fff;
        }

            .sidebar-nav .nav-link.collapsed i {
                color: #118C23;
            }

        .sidebar-nav .nav-link:hover {
            color: #591414;
            background: #D0D991;
        }

            .sidebar-nav .nav-link:hover i {
                color: #591414;
            }

        .sidebar-nav .nav-link .bi-chevron-down {
            margin-right: 0;
            transition: transform 0.2s ease-in-out;
        }

        .sidebar-nav .nav-link:not(.collapsed) .bi-chevron-down {
            transform: rotate(180deg);
        }

    .sidebar-nav .nav-content {
        padding: 5px 0 0 0;
        margin: 0;
        list-style: none;
    }

        .sidebar-nav .nav-content a {
            display: flex;
            align-items: center;
            font-size: 14px;
            font-weight: 600;
            color: #118C23;
            transition: 0.3s;
            padding: 10px 0 10px 40px;
            transition: 0.3s;
        }

            .sidebar-nav .nav-content a i {
                font-size: 6px;
                margin-right: 8px;
                line-height: 0;
                border-radius: 50%;
            }

        .sidebar-nav .nav-content a {
            position: relative;
            padding-left: 1.5rem; /* espacio para la barra */
        }

            .sidebar-nav .nav-content a.active {
                color: #D91E2E;
                font-weight: 500;
            }

                .sidebar-nav .nav-content a.active::before {
                    content: "";
                    position: absolute;
                    left: 0;
                    top: 0;
                    width: 4px;
                    height: 100%;
                    background-color: #D91E2E;
                    border-radius: 0 4px 4px 0;
                }

                .sidebar-nav .nav-content a.active i {
                    background-color: #D91E2E;
                }

        .sidebar-nav .nav-content li:hover {
            background: #D0D991;
        }

/*#endregion */


/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
/*#region RegionName*/
.footer {
    padding: 15px 0;
    font-size: 14px;
    transition: all 0.3s;
    border-top: 1px solid #D0D991;
    background: #F2F2F2;
    position: sticky !important;
    bottom: 0 !important;
}

    .footer .copyright {
        text-align: center;
        color: #118C23;
    }

    .footer .credits {
        padding-top: 5px;
        text-align: center;
        font-size: 13px;
        color: #118C23;
    }

/*#endregion */


/*--------------------------------------------------------------
# Pagination
--------------------------------------------------------------*/
/*#region Pagination*/

.pagination > li > a {
    background-color: white;
    color: #118C23;
}

    .pagination > li > a:focus,
    .pagination > li > a:hover,
    .pagination > li > span:focus,
    .pagination > li > span:hover {
        color: #591414;
        background-color: #D0D991;
        border-color: #ddd;
    }

.pagination > .active {
    z-index: 0 !important;
}

    .pagination > .active > span {
        color: #FFFFFF;
        background-color: #118C23 !important;
        border: 1px solid #118C23 !important;
    }

    .pagination > .active > a:hover {
        color: #FFFFFF;
        background-color: #118C23 !important;
        border: 1px solid #118C23 !important;
    }

.page-link {
    min-width: 2.3rem;
    text-align: center;
    padding: 0.375rem 0 0.375rem 0;
}
/*#endregion */

/*#region Pager*/

.pager {
}

.pager-btn {
    display: flex;
    align-items: center; /* centra verticalmente */
    justify-content: center; /* centra horizontalmente */
    height: 2.3rem;
    font-size: 1.7rem;
    padding: 0 0.75rem 0.3rem 0.75rem;
    color: #118C23;
    border: 1px solid #118C23;
    background-color: transparent;
    border-radius: 4px;
    transition: all 0.2s ease-in-out;
}


    .pager-btn:hover,
    .pager-btn:focus {
        background-color: #D0D991;
        color: #591414;
        border-color: #118C23;
    }

    /* Estado deshabilitado */
    .pager-btn:disabled,
    .pager-btn.disabled {
        background-color: lightgray;
        color: #59141480; /* tono atenuado */
        border-color: lightgray;
        cursor: not-allowed;
    }

/* Select del paginador: área visible */
.pager-select {
    background-color: #118C23; /* fondo verde */
    color: #FFFFFF; /* texto blanco */
    border: 1px solid #118C23;
    border-radius: 4px;
    transition: all 0.2s ease-in-out;
    height: 2.3rem; /* altura uniforme */
    line-height: 1.2;
    padding: 0 0.75rem; /* padding horizontal */
    font-size: 1rem; /* texto más grande */
    -webkit-appearance: none; /* quitar icono nativo */
    -moz-appearance: none;
    appearance: none;
    background-image: none; /* quitar flechita */
}

    /* Hover en el select */
    .pager-select:hover,
    .pager-select:focus {
        background-color: #D0D991;
        color: #591414;
        border-color: #118C23;
    }

    /* Opciones internas del select */
    .pager-select option {
        color: #118C23;
        background-color: #fff;
        font-size: 1rem; /* texto consistente */
    }

        /* Hover en opciones (limitado por navegador) */
        .pager-select option:hover {
            background-color: #D0D991;
            color: #591414;
        }

/*#endregion */

/*--------------------------------------------------------------
# Override some default Bootstrap stylings
--------------------------------------------------------------*/
/*#region Dropdown menus */
.dropdown-menu {
    border-radius: 4px;
    padding: 10px 0;
    animation-name: dropdown-animate;
    animation-duration: 0.2s;
    animation-fill-mode: both;
    border: 0;
    box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.2);
}

    .dropdown-menu .dropdown-header,
    .dropdown-menu .dropdown-footer {
        text-align: center;
        font-size: 15px;
        padding: 10px 25px;
    }

        .dropdown-menu .dropdown-footer a {
            color: #444444;
            text-decoration: underline;
        }

            .dropdown-menu .dropdown-footer a:hover {
                text-decoration: none;
            }

    .dropdown-menu .dropdown-divider {
        color: #a5c5fe;
        margin: 0;
    }

    .dropdown-menu .dropdown-item {
        font-size: 14px;
        padding: 10px 15px;
        transition: 0.3s;
    }

        .dropdown-menu .dropdown-item i {
            margin-right: 10px;
            font-size: 18px;
            line-height: 0;
        }

        .dropdown-menu .dropdown-item:hover {
            background-color: #D0D991;
        }

@media (min-width: 768px) {
    .dropdown-menu-arrow::before {
        content: "";
        width: 13px;
        height: 13px;
        background: #fff;
        position: absolute;
        top: -7px;
        right: 20px;
        transform: rotate(45deg);
        border-top: 1px solid #eaedf1;
        border-left: 1px solid #eaedf1;
    }
}

@keyframes dropdown-animate {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }

    0% {
        opacity: 0;
    }
}

/*#endregion */

/*#region Card*/

.card {
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    box-shadow: 0px 0 30px rgba(1, 41, 112, 0.1);
}

.card-header,
.card-footer {
    border-color: #ebeef4;
    background-color: #fff;
    color: #798eb3;
    padding: 15px;
}

.card-title {
    padding: 20px 0 15px 0;
    font-size: 18px;
    font-weight: 500;
    color: #D91E2E;
    font-family: "Poppins", sans-serif;
}

    .card-title span {
        color: #899bbd;
        font-size: 14px;
        font-weight: 400;
    }

.card-body {
    padding: 0 20px 20px 20px;
}

.card-img-overlay {
    background-color: rgba(255, 255, 255, 0.6);
}
/*#endregion */

/*#region Alerts*/
.alert-heading {
    font-weight: 500;
    font-family: "Poppins", sans-serif;
    font-size: 20px;
}
/*#endregion */

/*#region Close Button*/

.btn-close {
    background-size: 40%;
}

    .btn-close:focus {
        outline: 0;
        box-shadow: none;
    }

/*#endregion */

/*#region Accordion*/

.accordion-item {
    border: 1px solid #ebeef4;
}

.accordion-button:focus {
    outline: 0;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: #012970;
    background-color: #f6f9ff;
}

.accordion-flush .accordion-button {
    padding: 15px 0;
    background: none;
    border: 0;
}

    .accordion-flush .accordion-button:not(.collapsed) {
        box-shadow: none;
        color: #591414;
    }

.accordion-flush .accordion-body {
    padding: 0 0 15px 0;
    color: #3e4f6f;
    font-size: 15px;
}
/*#endregion */

/*#region Breadcrumb*/

.breadcrumb {
    font-size: 14px;
    font-family: "Nunito", sans-serif;
    color: rgb(89, 20, 20, 0.5);
    font-weight: 600;
}

    .breadcrumb a {
        color: rgb(89, 20, 20, 0.5);
        transition: 0.3s;
    }

        .breadcrumb a:hover {
            color: #591414;
        }

    .breadcrumb .breadcrumb-item::before {
        color: rgb(89, 20, 20, 0.5);
    }

    .breadcrumb .active {
        color: #591414;
        font-weight: 600;
    }
/*#endregion */

/*#region Tabs*/

.tab-pane h5 {
    color: #918655;
    font-weight: 700;
}

.tab-pane h6 {
    color: #118C23;
    font-weight: 700;
    margin-bottom: 0;
    font-size: 1.1rem;
}

.nav-tabs {
    /*border-bottom: 2px solid #ebeef4;*/
}

    .nav-tabs .nav-link {
        margin-bottom: -2px;
        border: none;
        color: #444444;
    }

        .nav-tabs .nav-link:hover,
        .nav-tabs .nav-link:focus {
            color: #918655;
        }

        .nav-tabs .nav-link.active {
            background-color: #fff;
            color: #918655;
            border-bottom: 3px solid #C42F1A;
        }

/*#endregion */

/*#region Form-check-input*/

.form-check-input {
    border-color: #118C23 !important;
}

    .form-check-input:checked {
        background-color: #118C23 !important;
        border-color: #118C23 !important;
    }

/*#endregion */

/*#region Badge*/

.badge {
    font-size: 0.85rem;
    padding: 0.35em 0.7em;
    font-weight: 600;
}

/*#endregion */

/*#region Modal*/

.modal {
}

.modal-header {
    border-bottom: 3px solid #118C23;
}

.modal-title {
    color: #118C23;
    font-weight: 500;
}

.modal-body h5 {
    color: #918655;
    font-weight: 700;
}

.modal-body h6 {
    color: #118C23;
    font-weight: 700;
    margin-bottom: 0;
    font-size: 1.1rem;
}

/*#endregion */

/*#region Accordion info */

.accordion-button {
    background-color: transparent;
    color: #000;
}

    .accordion-button:not(.collapsed) {
        background-color: rgba(17, 140, 35, 0.1);
        color: #918655;
        font-weight: 700;
    }

/*#endregion */

/*#region Select2*/

.select2-container--bootstrap-5 .select2-selection--single:focus,
.select2-container--bootstrap-5 .select2-selection--single.select2-selection--focus .select2-container--open {
    border-color: #D0D991 !important;
    box-shadow: 0 0 0 0.1rem #D0D991, 0 0 0 0.1rem white !important;
    outline: none !important;
}

.select2 * {
    color: #212529 !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
}

.select2-container--bootstrap-5 .select2-selection.input-validation-error {
    border: 1px solid rgb(220, 53, 69) !important;
    color: rgb(220, 53, 69) !important;
}

    .select2-container--bootstrap-5 .select2-selection.input-validation-error * {
        color: rgb(220, 53, 69) !important;
    }

.select2-container--bootstrap-5 .select2-dropdown {
    color: #444444 !important;
}

.select2-container--bootstrap-5.select2-container--open .select2-selection {
    border-color: #D0D991 !important;
    box-shadow: 0 0 0 0.1rem #D0D991, 0 0 0 0.1rem white !important;
}

.select2-container--bootstrap-5 .select2-dropdown {
    border-color: #D0D991 !important;
    border-top-color: rgb(134, 183, 254);
}

.select2-container--bootstrap-5 .select2-dropdown {
    border-color: #D0D991 !important;
    border-top-color: rgb(134, 183, 254);
}

.select2-container--bootstrap-5.select2-container--focus .select2-selection {
    border-color: #D0D991 !important;
    box-shadow: 0 0 0 0.1rem #D0D991, 0 0 0 0.1rem white !important;
}

.select2-container--bootstrap-5 .select2-selection {
    border: 1px solid #dee2e6 !important;
}

/*#endregion*/

/*#region Range*/

input.form-range::-webkit-slider-thumb { /*Chrome*/
    -webkit-appearance: none;
    appearance: none;
    background: #118C23 !important;
    border: 2px solid #fff;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    cursor: pointer;
}

input.form-range::-moz-range-thumb { /*Mozilla*/
    background: #118C23 !important;
    border: 2px solid #fff;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    cursor: pointer;
}

#rangeValue {
    display: inline-block;
    white-space: nowrap;
    min-width: 4ch; 
    text-align: right;
}



/*#endregion*/

/*--------------------------------------------------------------
# Override other stylings
--------------------------------------------------------------*/

/*#region Scrollbar*/

::-webkit-scrollbar {
    height: 6px; /* height of horizontal scrollbar */
    width: 6px; /* width of vertical scrollbar */
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: #591414;
    opacity: 0.5;
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #591414;
    }

/*#endregion */

/*#region Validation helpers*/

.field-validation-error {
    font-size: .8rem !important;
    color: #dc3545;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    color: #dc3545 !important;
    border: 1px solid #dc3545;
}

.validation-summary-errors {
    font-size: .8rem !important;
    color: #dc3545;
}

.validation-summary-valid {
    display: none;
}
/*#endregion */

/*--------------------------------------------------------------
# New styles
--------------------------------------------------------------*/

/*#region btn*/
.btn-true {
    color: #FFFFFF;
    background: #118C23;
}

    .btn-true:hover {
        color: #118C23;
        border: 1px solid #118C23 !important;
    }

.btn-false {
    color: #FFFFFF;
    background: #D91E2E;
}

    .btn-false:hover {
        color: #D91E2E;
        border: 1px solid #D91E2E !important;
    }

.btn-option {
    color: #FFFFFF;
    background: #918655;
}

    .btn-option:hover {
        color: #918655;
        border: 1px solid #918655;
    }

.btn-icon {
    width: 40px;
    height: 40px;
}

.btn-back .bi::before {
    vertical-align: top !important;
}

/*#endregion */

/*#region table*/

.table-title {
    color: #118C23;
    font-weight: 700;
    margin: 10px 0 0 0;
}

.table {
}

    .table thead {
        border-bottom: 3px solid #118C23;
    }

        .table thead a {
            color: #118C23;
        }

            .table thead a:hover {
                color: #D91E2E;
            }


    .table tbody tr td a {
        color: rgb(89, 20, 20, 0.8);
    }

        .table tbody tr td a:hover {
            color: #591414;
        }

    .table tbody .btn {
        background: none;
        border: none;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        width: 100%;
        text-align: center;
    }

        .table tbody .btn i {
            font-size: 24px;
            transition: transform 0.3s, color 0.3s;
        }

        .table tbody .btn:hover i {
            transform: scale(1.1);
            background: none;
        }

        .table tbody .btn.table-true {
            color: #118C23;
        }

            .table tbody .btn.table-true:hover i {
                color: #0F7A19;
            }


        .table tbody .btn.table-false {
            color: #D91E2E;
        }

            .table tbody .btn.table-false:hover i {
                color: #B71C1C;
            }


        .table tbody .btn.table-option {
            color: #918655;
        }

            .table tbody .btn.table-option:hover i {
                color: #7A6F19;
            }

    .table.table-row-outline {
        border-collapse: separate;
        width: 100%;
        border-spacing: 0;
    }

        .table.table-row-outline td, .table.table-row-outline th {
            border-top: 1px solid #eee;
            border-bottom: 1px solid #eee;
            padding: 8px;
            border-right: 1px solid #eee;
        }

        .table.table-row-outline tr:first-child td, .table.table-row-outline tr:first-child th {
            border-top: none;
        }

        .table.table-row-outline tr td:first-child, .table.table-row-outline tr th:first-child {
            border-left: none;
        }

        .table.table-row-outline tr:last-child td, .table.table-row-outline tr:last-child th {
            border-bottom: none;
        }

        .table.table-row-outline th {
            background-color: #4CAF50;
            color: white;
        }

.top-border-dark td {
    border-top: 2px solid #333;
    border-left: none;
    border-right: none;
    border-bottom: none;
}

.description-indicador {
    border-bottom: 3px solid #118C23 !important;
    height: 90px !important;
    max-height: 90px !important;
}

.td-sorted {
    box-shadow: inset 0 0 0 1000px rgba(145, 134, 85, 0.15) !important;
}

/*#endregion */

/*#region form-label*/
.form-label {
    font-weight: 700 !important;
}

.form-label-required {
}

    .form-label-required::before {
        content: "\25CF" !important;
        margin-right: 0.3rem !important;
        color: #dc3545 !important;
    }

.form-control > a {
    color: black;
}

    .form-control > a:hover {
        color: #591414;
    }

/*#endregion */

/*#region jconfirm*/
.jconfirm .jconfirm-box.jconfirm-type-info {
    border-top: 7px solid #0dcaf0 !important;
}

    .jconfirm .jconfirm-box.jconfirm-type-info .jconfirm-title-c .jconfirm-icon-c {
        color: #0dcaf0 !important;
    }

.jconfirm .jconfirm-box.jconfirm-type-success {
    border-top: 7px solid #198754 !important;
}

    .jconfirm .jconfirm-box.jconfirm-type-success .jconfirm-title-c .jconfirm-icon-c {
        color: #198754 !important;
    }

.jconfirm .jconfirm-box.jconfirm-type-warning {
    border-top: 7px solid #ffc107 !important;
}

    .jconfirm .jconfirm-box.jconfirm-type-warning .jconfirm-title-c .jconfirm-icon-c {
        color: #ffc107 !important;
    }

.jconfirm .jconfirm-box.jconfirm-type-danger {
    border-top: 7px solid #dc3545 !important;
}

    .jconfirm .jconfirm-box.jconfirm-type-danger .jconfirm-title-c .jconfirm-icon-c {
        color: #dc3545 !important;
    }
/*#endregion */

/*#region label-rotate*/
.label-rotate {
    writing-mode: vertical-lr;
    -webkit-transform: rotate(-180deg);
    -moz-transform: rotate(-180deg);
}
/*#endregion */

/*#region card-info*/

.card-info {
    text-align: center;
}

    .card-info .img {
        width: 120px;
        height: 120px;
    }

        .card-info .img i {
            color: #D0D991;
            font-size: 5rem;
        }

@media (max-width: 991.90px) {
    .card-info .title {
        color: #000000;
        font-weight: 700;
        margin: 10px 0 0 0;
        font-size: 1rem;
        min-height: 45px !important;
    }
}

@media (min-width: 992px) {
    .card-info .title {
        color: #000000;
        font-weight: 700;
        margin: 10px 0 0 0;
        font-size: 1rem;
        min-height: 60px !important;
    }
}

.card-info .subtitle {
    color: #918655;
    font-size: 0.8rem;
}

    .card-info .subtitle a {
        color: #918655;
    }

        .card-info .subtitle a:hover {
            color: #591414;
        }

@media (max-width: 991.90px) {
    .card-info .subtitle.level-2 {
        min-height: 30px !important;
    }
}

@media (min-width: 992px) {
    .card-info .subtitle.level-2 {
        min-height: 40px !important;
    }
}


/*#endregion */

/*#region modal overlay*/

.overlay-modal {
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1055;
    max-width: 600px;
    width: 90%;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.overlay-header {
    border-bottom: 3px solid #118C23;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.overlay-title {
    color: #118C23 !important;
    font-weight: 500 !important;
    font-size: 1rem;
}

.overlay-body h5 {
    color: #918655;
    font-weight: 700;
}

.overlay-body h6 {
    color: #118C23;
    font-weight: 700;
    margin-bottom: 0;
    font-size: 1.1rem;
}

.overlay-footer {
    border-top: 1px solid #dee2e6;
    text-align: right;
}

/*#endregion */

/*#region accordion-table*/

.accordion-row .bi-chevron-down {
    transition: transform 0.3s ease;
    transform: rotate(0deg);
}

.accordion-row[aria-expanded="true"] .bi-chevron-down {
    transform: rotate(180deg);
}

.accordion-row {
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .accordion-row[aria-expanded="true"],
    .accordion-row[aria-expanded="true"] td {
        background-color: rgba(17, 140, 35, 0.04);
        color: #918655;
        font-weight: 550;
    }

/*#endregion */

/*#region dropdown-menu*/

.dropdown-menu .dropdown-item:active {
    background-color: #118C23;
}

/*#endregion */

/*#region drop-zone*/

.drop-zone {
    cursor: pointer;
    border: 2px dashed #4ba356;
    transition: all 0.3s ease;
    position: relative;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .drop-zone.dragover {
        border-color: #118C23;
        transform: scale(1.02);
    }

    .drop-zone:hover {
        border-color: #118C23;
    }

    .drop-zone.input-validation-error {
        border: 1px solid rgb(220, 53, 69) !important;
    }

        .drop-zone.input-validation-error .cloud-icon {
            color: rgb(220, 53, 69) !important;
        }

        .drop-zone.input-validation-error .drop-zone-text {
            color: rgb(220, 53, 69) !important;
        }

.cloud-icon {
    transition: transform 0.3s ease, color 0.3s ease;
    color: #118C23;
}

.drop-zone.dragover .cloud-icon {
    transform: translateY(-5px);
    color: #0d6b1a;
}

.drop-zone-text {
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.drop-zone.dragover .drop-zone-text {
    color: #118C23;
}

/*#endregion */

/*#region multiselect*/

.ms-container {
    width: 100% !important;
}

.ms-hover {
    color: #000000 !important;
    background-color: #F2F2F2 !important;
}

/*Sin error*/
.ms-list.ms-focus {
    border-color: #D0D991 !important;
    box-shadow: 0 0 0 0.1rem #D0D991, 0 0 0 0.1rem white !important;
    outline: none !important;
    color: #000000 !important;
}

/*Con error*/
.ms-list.element-validation-error {
    border: 1px solid rgb(220, 53, 69) !important;
    color: rgb(220, 53, 69) !important;
}

    .ms-list.element-validation-error li,
    .ms-list.element-validation-error span {
        color: rgb(220, 53, 69) !important;
    }

    .ms-list.element-validation-error.ms-focus {
        border-color: #D0D991 !important;
        box-shadow: 0 0 0 0.1rem #D0D991, 0 0 0 0.1rem white !important;
        outline: none !important;
        color: #000000 !important;
    }

/*#endregion */

/*#region text-*/

/* Cantidades seguras */
.text-safe {
    color: #0d6efd !important; /* azul intenso */
    font-weight: bold;
}

/* Cantidades aún no seguras */
.text-pending {
    color: #fd7e14 !important; /* naranja fuerte */
    font-weight: bold;
}

/* Cobros */
.text-income {
    color: #118C23 !important; /* verde vp */
    font-weight: bold;
}

/* Pagos */
.text-expense {
    color: #59359a !important; /* Morado */
    font-weight: bold;
}
/* Pérdidas */
.text-loss {
    color: #dc3545 !important; /* rojo intenso */
    font-weight: bold;
}

/* Descuentos */
.text-discount {
    color: #6c757d !important; /* gris oscuro */
    font-weight: normal;
}

/* Totales */
.text-total {
    color: #000000 !important; /* negro */
    font-weight: bold;
    font-size: 1.1em;
}

/*#endregion */

/*#region backgrounds */

/* Cantidades seguras */
.bg-safe {
    background-color: rgba(13, 110, 253, 0.5) !important; /* azul intenso con 50% opacidad */
    color: #000 !important;
}

/* Cantidades aún no seguras */
.bg-pending {
    background-color: rgba(253, 126, 20, 0.5) !important; /* naranja con 50% opacidad */
    color: #000 !important;
}

/* Totales */
.bg-total {
    background-color: rgba(0, 0, 0, 0.5) !important; /* negro con 50% opacidad */
    color: #000 !important;
}

/*#endregion */

/*--------------------------------------------------------------
# Styles for Wizard
--------------------------------------------------------------*/
/*#region line */
.line {
    position: absolute;
    top: 20px;
    left: 50%;
    z-index: -1;
    height: 6px;
    transition: all 0.5s ease;
}

    .line.-start {
        left: 0%;
        background: #118C23;
        width: 50%;
    }

    .line.-end {
        left: 50%;
        background: #118C23;
        width: 50%;
    }

    .line.-background {
        background: #c3c3c3;
        width: 100%;
    }

    .line.-progress {
        background: #118C23;
        width: 100%;
        transform: scaleX(0);
        transform-origin: left center;
    }

    .line.-in-progress {
        transform: scaleX(1);
    }

/*#endregion */

/*#region panels*/

.panels {
    position: relative;
    overflow: hidden;
    height: auto;
    display: flex;
    flex-direction: column;
}

.panel {
    width: 100%;
    max-width: 100%;
    position: absolute;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
}

    .panel.movingOutBackward {
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
    }

    .panel.movingOutFoward {
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
    }

    .panel.movingIn {
        transform: translateX(0);
        position: relative;
        opacity: 1;
        visibility: visible;
    }

/*#endregion */

/*#region steps*/

.steps {
    position: relative;
    display: flex;
    flex: 0 1 auto;
    color: #fff;
}

.step {
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
    border-radius: 5px;
}

.step__content {
    position: relative;
    z-index: 2;
}

.step__title {
    color: #c3c3c3;
    font-weight: 500;
    font-size: 10pt;
}

    .step__title.title__active {
        color: #918655;
        font-weight: 700;
        font-size: 10pt;
    }

    .step__title.title__complete {
        color: #118C23;
        font-weight: 500;
        font-size: 10pt;
    }

/*#endregion */

/*#region step-number*/

.step__number {
    font-size: 1.3rem;
    color: #676767;
    background: #FFF;
    font-weight: 800;
    width: 52px;
    height: 52px;
    line-height: 40px;
    margin: 0 auto;
    border-radius: 50%;
    border: 5px solid #c3c3c3;
    transition: opacity 0.5s;
    opacity: 1;
    z-index: 5;
}

    .step__number.step__active {
        border-color: #118C23;
    }

.step.-completed .step__number {
    opacity: 0;
}

.step.-completed .checkmark {
    z-index: 0;
    animation: fill 0.4s ease-in-out forwards, scale 0.3s ease-in-out 0.6s both;
}

.step.-completed .checkmark__check {
    animation: stroke 0.5s linear 0.4s forwards;
}

.step.-completed .line {
    transform: scaleX(1);
}

.step:last-child .line {
    width: 50%;
}

/*#endregion */

/*#region checkmark*/

.checkmark {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    stroke-width: 2;
    stroke: #fff;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #75b2f5;
    z-index: -1;
}

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 8;
    stroke-miterlimit: 10;
    stroke: #118C23;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
    stroke: #FFF;
    stroke-width: 5;
}

@keyframes stroke {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    50% {
        transform: translateX(-50%) scale3d(1.5, 1.5, 1.5);
    }

    100% {
        transform: scale3d(0);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 30px #118C23;
    }
}

@keyframes gettingOut {
    0% {
        transform: translateY(0%);
    }

    30% {
        transform: translateY(100px);
    }

    100% {
        transform: translateY(-200%);
    }
}

@keyframes fadeIn {
    100% {
        opacity: 1;
    }
}

/*#endregion */


.folio-link {
    color: black;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 6px 10px;
    border-top-left-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
}

    .folio-link:hover {
        background-color: rgba(17, 140, 35, 0.1);
        color: #918655 !important;
        font-weight: 700;
    }

.stacked-cell small {
    font-size: .68rem;
    letter-spacing: .03rem;
}

.stacked-cell hr {
    margin: 2px 0;
    border-color: #dee2e6;
}

.multiline {
    white-space: pre-line;
}