:root {
    --theme-default: #94903f;
    --theme-secondary: #4c5256;
}

:root .dark-only {
    --theme-default: #434343;
    --theme-secondary: #94903f;
}

input.form-control.ui-autocomplete-input {
    background-image: url(https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/icons/search.svg);
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px 16px;
    padding-right: 30px;
    border-color: var(--theme-secondary) !important;
}

.pagination a.page-link {
    font-size: 12px;
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image: url('data:image/svg+xml;utf8,<svg fill="gray" height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M4 6l4 4 4-4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px 16px;
    padding-right: 30px;
    border-color: var(--theme-secondary) !important;
}

.page-wrapper .page-body-wrapper .page-title .breadcrumb .breadcrumb-item {
    color: var(--theme-default);
    font-size: 12px;
    display: flex;
    align-items: center;
}

.page-wrapper .page-body-wrapper .page-title .breadcrumb .breadcrumb-item+.breadcrumb-item:before {
    color: var(--theme-default);
}

input#user_imagen {
    width: 100%;
}

.cantPaginasPagination {
    padding-left: 10px;
    font-weight: bold;
    font-size: 12px;
}

.iso-wrapper img {
    height: 36px;
}

ul.sidebar-submenu a {
    cursor: pointer;
}

.pagination {
    background-color: white;
    border-radius: 5px;
    border: 1px solid #ededed;
}

.table th {
    color: #1f2f3e;
    font-weight: bold;
}

.hidden {
    display: none;
}

.form {
    padding-left: 20px;
    padding-right: 20px;
}

.modal-content .form {
    padding-left: 0;
    padding-right: 0;
}

td.listActions {
    padding-right: 30px;
    font-size: 14px !important;
    text-wrap-mode: nowrap;
    text-align: right;
}

.filters {
    display: none;
    margin-bottom: 0px;
}

td.listActions .fa {
    margin-right: 5px !important;
}

.filters .row {
    margin: 0px 10px;
    margin-bottom: 15 !important;
}

.filters button {
    margin: 0px 10px;
    margin-bottom: 15 !important;
}

.filters form {
    align-items: end;
}

span.toggle-handle.btn.btn-default {
    background-color: var(--theme-secondary) !important;
}

label.btn.btn-default.active.toggle-off {
    background-color: #dbdbdb;
}

.panelButtonList {
    margin-bottom: 5px;
}

.page-title {
    margin-bottom: 10px !important;
}

.theme-form input[type=date],
.theme-form input[type=datetime-local],
.theme-form input[type=email],
.theme-form input[type=file],
.theme-form input[type=month],
.theme-form input[type=number],
.theme-form input[type=password],
.theme-form input[type=search],
.theme-form input[type=tel],
.theme-form input[type=text],
.theme-form input[type=time],
.theme-form input[type=url],
.theme-form input[type=week],
.theme-form select,
.theme-form textarea {
    border-color: #b8bdc2 !important;
}

body.dark-only .theme-form input[type=date],
body.dark-only .theme-form input[type=datetime-local],
body.dark-only .theme-form input[type=email],
body.dark-only .theme-form input[type=file],
body.dark-only .theme-form input[type=month],
body.dark-only .theme-form input[type=number],
body.dark-only .theme-form input[type=password],
body.dark-only .theme-form input[type=search],
body.dark-only .theme-form input[type=tel],
body.dark-only .theme-form input[type=text],
body.dark-only .theme-form input[type=time],
body.dark-only .theme-form input[type=url],
body.dark-only .theme-form input[type=week],
body.dark-only .theme-form select,
body.dark-only .theme-form textarea {
    background-color: 1px solid #575757 !important;
    border: 1px solid #575757 !important;
    color: #fff;
}

.active>.page-link,
.page-link.active {
    background-color: var(--theme-default);
    border-color: var(--theme-default);
}

tr.rowNoElements {
    font-size: 12px;
}

.page-link {
    color: var(--theme-default);
    display: list-item;
    cursor: pointer;
}

span.loadMiga.breadcrumb-item {
    cursor: pointer;
}

button.btn.btn-sm.btn-primary.searchList {
    height: 26px;
}

.loading {
    background: url(images/loading.gif) no-repeat scroll center 20% #FFFFFF;
    background-size: 45px 45px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
    filter: alpha(opacity=70);
    -moz-opacity: .70;
    -khtml-opacity: .70;
    opacity: .80;
    z-index: 1029;
    filter: blur(5px) grayscale(100%);
}

.numberData {
    text-wrap: nowrap;
    text-align: right !important;
}

.table-hover tbody tr:hover {
    background-color: rgb(154 154 154 / 0%);
}

form .card {
    border-color: #727c8680;
}

body.dark-only .page-wrapper .page-body-wrapper .page-body .card:not(.email-body) {
    border: 1px solid #575757 !important;
}

.table-responsive {
    margin-bottom: 10px;
    padding-bottom: 10px;
}

table {
    font-size: 12px;
}

body.dark-only .page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper .sidebar-main .sidebar-links .simplebar-wrapper .simplebar-mask .simplebar-content-wrapper .simplebar-content>li .sidebar-submenu li a.active {
    color: var(--theme-default);
}

.page-wrapper.compact-wrapper .page-body-wrapper div.sidebar-wrapper .sidebar-main .sidebar-links .simplebar-wrapper .simplebar-mask .simplebar-content-wrapper .simplebar-content>li .sidebar-submenu li a.active {
    color: var(--theme-default);
}

.listActions .iconDelete {
    color: #b14c4c;
}

.listActions .iconEdit {
    color: #a29ac9;
}

.listActions .verHistorial {
    color: #6fa16f;
}

h3.screen-title {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    font-size: 16px;
}

.error-required {
    background-color: #FF917D !important;
}

body.dark-only .error-required {
    background-color: #FF917D !important;
}

.logo-wrapper img {
    width: 80%;
    margin-top: 5px;
}

.form-control {
    padding: 3px 8px !important;
    min-width: max-content;
    font-size: 12px;
}

.filters form h3 {
    font-size: 20px;
    margin-bottom: 20px;
    margin-right: 20px;
}

.dark-only .pagination {
    background-color: transparent;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #575757;
}

.dark-only .page-link {
    color: hsla(0, 0%, 100%, 0.8);
    display: list-item;
    cursor: pointer;
}

.dark-only .active>.page-link,
.page-link.active {
    background-color: var(--theme-default);
    border-color: var(--theme-default);
}

.dark-only .loading {
    background: url(images/loading.gif) no-repeat scroll center 20% #181818;
}

.dark-only .ui-widget-content {
    border: 1px solid #aaaaaa;
    background: #181818;
    color: #9f9f9f;
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover {
    border: 1px solid var(--theme-secondary);
    background: var(--theme-default);
    font-weight: normal;
    color: white;
}


.dark-only .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgb(141 141 141 / 20%);
    --bs-table-accent-bg: unset;
}

.logo-wrapper {
    border-right: 0px !important;
}


.form-grids .card-header {
    display: none;
}

button.btn {
    text-wrap-mode: nowrap;
}

.dark-only .page-wrapper .page-body-wrapper .page-title .breadcrumb .breadcrumb-item {
    color: #b1b1b1;
}

.dark-only .page-wrapper .page-body-wrapper .page-title .breadcrumb .breadcrumb-item+.breadcrumb-item:before {
    color: #b1b1b1;
}

.page-wrapper .page-header .header-wrapper {
    box-shadow: 0px -5px 15px var(--theme-secondary);
}

.panelRapido {
    display: flex;
    gap: 5px;
    margin-left: 10px;
}

.panelRapido button {
    font-size: 12px;
    padding: 0.3rem 1rem;
}

.sidebar-links .sidebar-title i {
    margin-top: 2px !important;
    margin-left: -4px;
    color: var(--theme-secondary);
}

.table td {
    padding: 0.5rem;
    align-content: baseline;
}

.table th {
    /*padding: 1rem;*/
}

thead {
    background-color: #efefefad;
    text-wrap-mode: nowrap;
    border-left: 1px solid;
    border-right: 1px solid;
}

.dark-only thead {
    background-color: #77777738;
    text-wrap-mode: nowrap;
    border-left: 1px solid;
    border-right: 1px solid;
}

.card.table-responsive thead {
    border-top: 10px solid #ffffff;
}

.dark-only .card.table-responsive thead {
    border-top: 10px solid #171818 !important;
}

.page-wrapper .page-header .header-wrapper .search-full .form-group input {
    background-color: #f5f5f5;
    color: #1f2f3e;
    font-weight: 500;
    letter-spacing: 0.4px;
    line-height: 1.4;
    padding: 5px 0 5px 25px;
    width: 100% !important;
    border: 1px solid #cdcdcd;
}


.responsive_hide {
    display: block;
}

.responsive_show {
    display: none !important;
}


.listActions span {
    cursor: pointer;
}

.p-10 {
    padding: 10px !important;
}

.dropify-render {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

input[name="color_nombre"] {
    text-transform: uppercase !important;
}

input[name="tipoOperacion_nombre"] {
    text-transform: uppercase !important;
}

.nowrap {
    white-space: nowrap !important;
}


/* Galeria de Imagenes - Vehiculos */
.st-imagen-contenedor {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.st-imagen-contenedor .image-cont {
    background-color: #000;
    width: 100px;
    height: 100px;
    margin-left: 10px;
    margin-bottom: 10px;
    position: relative;
}

.st-imagen-contenedor .image-cont img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    border-radius: 5% !important;
}

.st-imagen-contenedor .image-cont .delete-img {
    background-color: rgb(223, 103, 103);
    left: 4px;
    top: 4px;
    height: 20px;
    width: 20px;
    align-content: center;
    text-align: center;
    color: #FFF;
    position: absolute;
    border-radius: 10px;
    cursor: pointer;
}

.vehiculo-imagen-container .image-cont img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    border-radius: 5% !important;
}

/* Fin Galeria de Imagenes - Vehiculos */

div#telefonos_contenedor span {
    margin-right: 10px;
    padding: 8px;
    font-size: 16px !important;
    border: 2px solid var(--theme-secondary);
    background-color: #f3f0e7;
    color: black;
}


:root {
    --icon-tab-color: var(--theme-secondary) !important;
}

:root.dark-only {
    --icon-tab-color: var(--theme-default);
}

.icon-tab {
    font-size: 19px;
    color: var(--icon-tab-color);
    margin-right: 5px;
    transition: color 0.3s ease;
}

.fa-trash {
    color: #d35e5e !important;
}

.form-check-input {
    margin-left: -0.5rem !important;
}

.form-switch .form-check-input {
    height: 18px;
    width: 40px;
    margin-left: 15px !important;
}


/*RESPONSIVE */
.responsive_hide {
    display: block;
}

.responsive_hide_contents {
    display: contents;
}

.responsive_hide_td {
    display: table-cell;
}

.responsive_show {
    display: none !important;
}

.responsive_show_contents {
    display: none !important;
}

.responsive_show_td {
    display: none !important;
}


@media (max-width: 768px) {

    .div_stock_in {
        display: block !important;
    }

    .auto_stock_in {
        min-width: 100% !important;
        margin-right: 0;
    }
    
    .responsive_hide {
        display: none !important;
    }

    .responsive_hide_contents {
        display: none !important;
    }

    .responsive_show {
        display: block !important;
    }

    .responsive_show_contents {
        display: contents !important;
    }

    .responsive_hide_td {
        display: none !important;
    }

    .responsive_show_td {
        display: table-cell !important;
    }

    .container-fluid.main {
        padding-left: 10;
        padding-right: 10;
        padding-bottom: 0;
    }


    td.listActions {
        padding-right: 10px;
        justify-items: right;
        min-width: auto !important;
    }

    span.title_hide {
        display: none;
    }

    td.listActions span {
        display: table-cell;
        padding-right: 10px;

    }

    .control-label {
        width: 100%;
        display: flex;
    }

    .form-body .form-group {
        text-align: center;
        display: flow;
    }

    .form-body .col-md-10.hidden-xs.hidden-sm {
        width: 100% !important;
    }

    td.listActions .fa {
        font-size: 6vw !important;
    }

    .filters .row {
        width: 100%;
    }

    .summary-card .summary-progressbar ul li {
        padding: 10 !important;
        margin-right: 0;
        border: 1px solid var(--theme-default) !important;
    }

    .equivalDolarContent {
        position: relative !important;
        text-align: left !important;
        display: flex;
        text-wrap-mode: nowrap;
    }

}

.contentTotalMetodosPago,
.equivalencia_monto {
    font-weight: bold;
    color: var(--theme-secondary);
}

.dark-only .dropify-wrapper .dropify-preview,
.dark-only .dropify-wrapper,
.dark-only div#telefonos_contenedor span {
    background-color: var(--theme-default);
}

body.dark-only .form-check-input,
body.dark-only .icon-lists div:hover {
    background-color: var(--theme-default);
}

.dark-only input.form-control.ui-autocomplete-input {
    border: 1px solid #575757 !important;
    background-color: var(--theme-default) !important;
    border-color: var(--theme-secondary) !important;
}


.dark-only select.form-control {
    border-color: var(--theme-secondary) !important;
}

/* Hace que el div ocupe solo lo necesario */
.checkbox-inline.form-switch {
    display: inline-flex;
    padding: 0;
    margin: 0;
    width: fit-content;
}

.checkbox-inline.form-switch .form-check-input {
    margin: 0;
}

select.form-control,
textarea.form-control,
input.form-control {
    border-color: var(--theme-secondary) !important;
}

.input-con-color {
    background-repeat: no-repeat !important;
    background-position: 4px center !important;
    background-size: 12px 12px !important;
    padding-left: 24px !important;
}

.vehiculoNoDisponible {
    background-color: #ff9c9c2b;
}


.contentSquare {
    padding: 5px 15px;
    border: 1px solid;
    width: fit-content;
    text-wrap-mode: nowrap;
    margin-top: 10px;
    border-radius: 5px;
    background-color: #f3f3f3;
}

.control-label {
    text-wrap-mode: nowrap;
    text-align: right;
}

.equivalencia_monto {
    margin: 5px;
}

.form-control:disabled {
    background-color: var(--bs-secondary-bg) !important;
    opacity: 1;
}

.mt-5 {
    margin-top: 5px !important;
}

.mt-20 {
    margin-top: 20px !important;
}

.ml-20 {
    margin-left: 20px !important;
}

.page:not(:last-child) {
    page-break-after: always;
}

@media (max-width: 768px) {
    .modal-footer button {
        margin: 10px !important;
    }
}

.btn-theme-default {
    background-color: var(--theme-default);
    border-color: var(--theme-default);
    color: white;
}

.btn-theme-default:hover {
    background-color: #6f717d;
}

.btn-theme-secondary {
    background-color: var(--theme-secondary);
    border-color: var(--theme-secondary);
    color: white;
}

.btn-theme-secondary:hover {
    background-color: #1b234f;
    color: white;
}

.card-sensor {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbcbcb;
    border-bottom: 3px solid #0069b4a1;
    transition: transform 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    width: 100%;
    max-width: 200px;
    height: 100%;
    cursor: pointer;
}

/* General Icon Styles */
.card-sensor .sensor-icon {
    /* Applies to most icons */
    font-size: 2rem;
    color: #4b5563;
    /* Default icon color */
}

.card-sensor .value-display {
    font-weight: 600;
    /* font-semibold */
    font-size: 1.5rem;
    /* text-3xl, smaller */
    color: #4b5563;
    /* text-gray-700 */
    font-variant-numeric: tabular-nums;
    /* tabular-nums */
    margin-top: 0.25rem;
    /* Added margin for spacing */
}

button.btn.btn-default.campoButton {
    justify-items: center;
    display: flex;
}

.card-sensor:hover {
    transform: translateY(-2px);
    cursor: pointer;
    border-color: #dcdcdc;
    /* blue-500 on hover */
    box-shadow: 0 6px 10px -1px rgba(0, 0, 0, 0.15), 0 3px 6px -1px rgba(0, 0, 0, 0.08);
}

.card-sensor .card-header {
    padding-bottom: 0.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-sensor .card-title {
    font-size: 1rem;
    /* text-xl, smaller */
    font-weight: 600;
    /* font-semibold */
    color: #4b5563;
    /* text-gray-700 */
}

.card-sensor .card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    /* Added padding for better spacing */
}

.contenedor-sensores .col-panel {
    padding: 10px;
    justify-items: anchor-center;
}

.sensor-data {
    font-size: 12px;
}

.forms h3 {
    font-size: 16px;
}

.value-display.icon-conteiner {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 1px solid grey;
}

.dark-only .card-sensor {
    background-color: #4b4b4b;
    box-shadow: 0 3px 0 0 #6c656552;
}

.dark-only .card-sensor .card-title {
    color: #ced4dd;
}

.dark-only .card-sensor .value-display {
    color: #f9f9f9;
}

.dark-only #map_container {
    background-color: #212121;
}

.dark-only #map {
    filter: brightness(0.8) contrast(1.2);
}

.dark-only .campoButton {
    background-color: #2c2c2c !important;
    border-color: #404040 !important;
    color: #ffffff !important;
}

.dark-only .campoButton:hover {
    background-color: #404040 !important;
    border-color: #606060 !important;
}

.dark-only .campoButtonTodos {
    background-color: #1e4d2b !important;
    border-color: #28a745 !important;
    color: #ffffff !important;
}

.dark-only .campoButtonTodos:hover {
    background-color: #28a745 !important;
    border-color: #2ea043 !important;
}

.dark-only #panel-sensores {
    background-color: #1a1a1a;
}

.dark-only #toggle-panel {
    background-color: #2c2c2c !important;
    border-color: #404040 !important;
    color: #ffffff !important;
}

.dark-only #toggle-panel:hover {
    background-color: #404040 !important;
    border-color: #606060 !important;
}

@media (max-width: 767px) {

    /* pantallas menores a 768px */
    #toggle-panel {
        display: none !important;
    }
}


/* Estilos modo oscuro */
body.dark-only .table-historial {
    background: #1e1e1e;
    /* fondo oscuro */
    color: #e0e0e0 !important;
    /* texto claro */
    border-color: #575757 !important;
}

body.dark-only .table-historial tr td {
    color: #e0e0e0 !important;
}

body.dark-only .table-historial tr:hover td {
    background-color: #333;
    /* color de hover en oscuro */
}

body.dark-only .card.historial {
    background-color: #4a6262;
    border: 1px solid #575757;
}

body.dark-only span.modificó {
    color: #0fedf5 !important;
}

body.dark-only span.creó {
    color: #20e72a !important;
}

body.dark-only span.eliminó {
    color: #ee2255 !important;
}

select#campoSelectMobile {
    font-size: 12px;
    padding: 3px 30px;
    width: max-content;
    border-color: var(--theme-secondary) #4c5256 !important;
}

.showSelect {
    display: block !important;
    width: auto;
}

button.btn.btn-sm.btn-light.btn-config-sensor {
    padding: 5;
}

.repeat-tada {
    animation-name: tada;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}

.repeat-tada .card-sensor {
    border: 2px solid #be3f3f;
}

ul.sidebar-submenu i {
    margin-right: 5px;
}

.card.card-body.work-progres,
.card.signal-table {
    box-shadow: 0px 1px 3px #c7c9ca;
}

tr.rowTipoProducto tr {
    border-bottom: 1px solid #ccc9c9;
    background-color: #f5f5f5 !important;
}

.loadMiga i {
    margin-right: 5px;
}

.input-group-text {
    font-size: 14px;
    padding: 0 15px;
    height: -webkit-fill-available;
}

.label.labelProveedor {
    background-color: var(--theme-default);
    color: white;
    display: flex;
    width: max-content;
    padding: 10px 20px;
    border-radius: 5px;
}

span.fa.fa-times.deleteProveedor {
    font-size: 12px;
    margin-left: 15px;
    cursor: pointer;
}

tbody#prductos_content div {
    margin-bottom: 3px;
}

.signal-table.table-responsive .table tbody tr td:nth-child(n+2) {
    min-width: auto !important;
}

@media only screen and (max-width: 768px) {
    .page-wrapper.compact-wrapper .page-body-wrapper .page-body {
        margin-top: 60px;
    }

    .form {
        padding-left: 0;
        padding-right: 0;
    }

    .page-wrapper .page-body-wrapper .page-title {
        padding: 10px 18px !important;
        padding-top: 18px !important;
    }

    form#formVenta .row {
        --bs-gutter-x: 0 !important;
    }

    .cardVentasMobile {
        margin-left: -15px;
        margin-right: -15px;
    }

    .prods_venta {
        margin-left: -1.25rem;
        margin-right: -1.25rem;
        padding: 0;
        margin-top: 0px !important;
    }

    .form-control {
        padding: 3px 8px !important;
        min-width: auto;
        font-size: 12px;
    }
    tfoot input.form-control.numeric {
        width: 100px !important;
        text-align: right;
    }
    button#agregarProducto {
        display: none;
    }
}

.page-wrapper .page-body-wrapper .page-title {
    background-color: #dfdfdf;
}

.modal-header {
    background-color: #94903f;
}

h4.modal-title {
    color: white;
}

tbody#prductos_content div {
    margin-bottom: 5px;
}

span.input-group-text {
    margin-right: 5px;
}

.btn {
    padding: 0.2rem 1rem;
}

/* Estilos modernos para infobox del dashboard */
.info-box {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.06);
    padding: 15px;
    display: flex;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-left: 3px solid var(--theme-default);
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 15px;
    min-height: 70px;
}

.info-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-left-color: var(--theme-secondary);
}

.info-box-icon {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 20px;
    color: white;
    background: linear-gradient(135deg, var(--theme-default) 0%, var(--theme-secondary) 100%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.info-box-icon.bg-info {
    background: linear-gradient(135deg, var(--theme-default) 0%, #a9a9a9 100%);
}

.info-box-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-box-text {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.dark-only .info-box {
    background-color: #2a2a2a;
    border-color: #4b5563;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}

.dark-only .info-box:hover {
    background-color: #000;
    box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
}

.dark-only .info-box-text {
    color: #e5e7eb;
}

.dark-only .info-box-icon {
    background: linear-gradient(135deg, var(--theme-default) 0%, var(--theme-secondary) 100%);
}


.info-box {
    padding: 15px;
    min-height: 70px;
    margin-bottom: 15px;
}

.info-box-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
    margin-right: 10px;
    flex-shrink: 0;
}

.info-box-text {
    font-size: 13px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


@media (max-width: 768px) {
    .info-box {
        padding: 12px;
        min-height: 60px;
        margin-bottom: 10px;
    }
    
    .info-box-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
        margin-right: 8px;
    }
    
    .info-box-text {
        font-size: 11px;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }
}


@media (min-width: 769px) and (max-width: 1200px) {
    .info-box-text {
        font-size: 12px;
    }
    
    .info-box-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-box {
    animation: fadeInUp 0.5s ease-out;
}


.dark-only button.btn.btn-default {
    background-color: grey;
}

.listProveedores {
    display: flex;
    gap: 10px;
}

div#datos_extras span {
    width: fit-content;
    margin: 5px !important;
    background-color: var(--theme-default) !important;
    color: white;
    border-radius: 5px;
}

/* Color - Dias */
/* ðŸŽ¨ 31 colores visibles y armÃ³nicos para texto */
.dia-01 {
    background-color: #E53935;
    color: #fff;
}

/* Red */
.dia-02 {
    background-color: #D81B60;
    color: #fff;
}

/* Pink */
.dia-03 {
    background-color: #8E24AA;
    color: #fff;
}

/* Purple */
.dia-04 {
    background-color: #5E35B1;
    color: #fff;
}

/* Deep Purple */
.dia-05 {
    background-color: #3949AB;
    color: #fff;
}

/* Indigo */
.dia-06 {
    background-color: #1E88E5;
    color: #fff;
}

/* Blue */
.dia-07 {
    background-color: #039BE5;
    color: #fff;
}

/* Light Blue */
.dia-08 {
    background-color: #00ACC1;
    color: #fff;
}

/* Cyan */
.dia-09 {
    background-color: #00897B;
    color: #fff;
}

/* Teal */
.dia-10 {
    background-color: #43A047;
    color: #fff;
}

/* Green */
.dia-11 {
    background-color: #7CB342;
    color: #fff;
}

/* Light Green */
.dia-12 {
    background-color: #C0CA33;
    color: #fff;
}

/* Lime */
.dia-13 {
    background-color: #FDD835;
    color: #fff;
}

/* Yellow */
.dia-14 {
    background-color: #FFB300;
    color: #fff;
}

/* Amber */
.dia-15 {
    background-color: #FB8C00;
    color: #fff;
}

/* Orange */
.dia-16 {
    background-color: #F4511E;
    color: #fff;
}

/* Deep Orange */
.dia-17 {
    background-color: #6D4C41;
    color: #fff;
}

/* Brown */
.dia-18 {
    background-color: #757575;
    color: #fff;
}

/* Grey */
.dia-19 {
    background-color: #546E7A;
    color: #fff;
}

/* Blue Grey */
.dia-20 {
    background-color: #E91E63;
    color: #fff;
}

/* Vibrant Pink */
.dia-21 {
    background-color: #9C27B0;
    color: #fff;
}

/* Medium Purple */
.dia-22 {
    background-color: #673AB7;
    color: #fff;
}

/* Soft Purple */
.dia-23 {
    background-color: #3F51B5;
    color: #fff;
}

/* Indigo */
.dia-24 {
    background-color: #2196F3;
    color: #fff;
}

/* Sky Blue */
.dia-25 {
    background-color: #03A9F4;
    color: #fff;
}

/* Baby Blue */
.dia-26 {
    background-color: #00BCD4;
    color: #fff;
}

/* Aqua */
.dia-27 {
    background-color: #009688;
    color: #fff;
}

/* Cool Teal */
.dia-28 {
    background-color: #4CAF50;
    color: #fff;
}

/* Fresh Green */
.dia-29 {
    background-color: #8BC34A;
    color: #fff;
}

/* Pastel Lime */
.dia-30 {
    background-color: #CDDC39;
    color: #fff;
}

/* Lemon Grass */
.dia-31 {
    background-color: #FFC107;
    color: #fff;
}

/* Estilos modernos para small-box contadores de dinero */
.small-box {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 10px;
    box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.1), 0 1px 3px -1px rgba(0, 0, 0, 0.06);
    padding: 18px;
    position: relative;
    overflow: hidden;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 15px;
    min-height: 100px;
    display: block;
}

.small-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.15), 0 6px 10px -3px rgba(0, 0, 0, 0.1);
}

.small-box.bg-info {
    background: linear-gradient(135deg, #587866 0%, var(--theme-default) 100%);
    color: white;
    border: none;
}

.small-box.bg-info:hover {
    background: linear-gradient(135deg, var(--theme-secondary) 0%, var(--theme-default) 100%);
}

.small-box .inner {
    position: relative;
    z-index: 2;
    padding: 0;
}

.small-box .inner h5 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 6px 0;
    line-height: 1.1;
    color: inherit;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.small-box .inner p {
    font-size: 13px;
    font-weight: 500;
    margin: 0;
    opacity: 0.9;
    line-height: 1.2;
    color: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.small-box .icon {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.small-box .icon > i {
    font-size: 50px;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.small-box:hover .icon {
    opacity: 0.5;
    transform: scale(1.1);
}

.small-box:hover .icon > i {
    color: rgba(255, 255, 255, 1);
}

/* Estilos para modo oscuro */
.dark-only .small-box {
    background: linear-gradient(135deg, #374151 0%, #4b5563 100%);
    border-color: #6b7280;
    color: #e5e7eb;
}

.dark-only .small-box.bg-info {
    background: linear-gradient(135deg, var(--theme-default) 0%, var(--theme-secondary) 100%);
}

.dark-only .small-box .inner h5 {
    color: #f9fafb;
}

.dark-only .small-box .inner p {
    color: #d1d5db;
}

.dark-only .small-box .icon > i {
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .small-box {
        padding: 12px;
        min-height: 80px;
        margin-bottom: 10px;
    }
    
    .small-box .inner h5 {
        font-size: 18px;
        margin-bottom: 4px;
    }
    
    .small-box .inner p {
        font-size: 11px;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }
    
    .small-box .icon {
        top: 8px;
        right: 8px;
    }
    
    .small-box .icon > i {
        font-size: 35px;
    }
}

/* Para pantallas medianas */
@media (min-width: 769px) and (max-width: 1200px) {
    .small-box .inner h5 {
        font-size: 20px;
    }
    
    .small-box .inner p {
        font-size: 12px;
    }
    
    .small-box .icon > i {
        font-size: 42px;
    }
}

/* Animación de entrada para small-box */
.small-box {
    animation: fadeInUp 0.6s ease-out;
}

/* Variantes de color para diferentes tipos de datos */
.small-box.bg-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.small-box.bg-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.small-box.bg-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.small-box.bg-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

/* Efecto de pulso para valores importantes */
.small-box.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    }
    50% {
        box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2), 0 6px 10px -3px rgba(0, 0, 0, 0.15);
    }
    100% {
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    }
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
    border: 1px solid #aaaaaa;
    background: var(--theme-default);
    font-weight: normal;
    color: white;
}

span.label.labelFactura {
    color: black;
}