
.sidebar {
    background: #ECE4C8;
    color: #333;
    font-family: 'Poppins', sans-serif;
    /*width: 100%;*/
    /*width: 350px;*/
}

.sidebar-profile {
    text-align: center;
    padding: 1rem;
    border-bottom: 1px solid #d6c9a4;
}

.sidebar-profile img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 0.5rem;
}

.sidebar-profile h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.sidebar-profile small {
    font-size: 0.85rem;
    color: #555;
}

.sidebar-search {
    padding: 0.5rem 1rem;
}

.sidebar-search input {
    width: 100%;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 0.9rem;
}

.sidebar-link {
    color: #674834;
    display: flex;
    align-items: center;
    padding: 0.6rem 0.5rem;
    text-decoration: none;
    font-weight: 400;
    border-radius: 8px;
    transition: background 0.3s, color 0.3s;
    margin-top: 2px;
    margin-right: 3px;
    margin-left: 3px;
}

.sidebar-link i {
    /*margin-right: 0.8rem;*/
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    color: #674834 !important;
}

.sidebar-link:hover,
.sidebar-link:focus {
    background: #c2b08f;
    color: #674834;
}

.sidebar-link:hover i {
    color: #674834 !important;
}


.sidebar-link.active {
    background-color: #674834;
    /*border-radius: 4px;*/
    color: #fff;
}

.sidebar-link.active i {
    color: #fff !important;
}


.sidebar-footer {
    position: absolute;
    bottom: 1rem;
    width: 100%;
    padding: 0 1.5rem;
}



a.dropdown-toggle::after {
    display: none !important;
}

table.dataTable {
    border: none !important;
    /*border: 1px solid #ddd !important;*/
}

table.dataTable.stripe tbody tr.odd,
table.dataTable.display tbody tr.odd {
    background-color: #fff !important;
}

table.dataTable th,
table.dataTable td {
    border: none !important;
    border-bottom: 1.5px solid #F6F6F6 !important;
}

table.dataTable th {
    border: none !important;
    border-top: 2px solid #F4F4F4 !important;
    border-bottom: 2px solid #F4F4F4 !important;

}

th {
    background-color: #fff !important;
    color: #674834 !important;
    font-zize: 12px !important;
    font-weight: 300 !important;
    text-transform: uppercase;

}

.dataTables_length {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: inherit !important;
    font-family: inherit !important;
    color: inherit !important;
    margin-bottom: 0.5rem !important;
}

.dataTables_length label {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: inherit !important;
    font-family: inherit !important;
    color: inherit !important;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dataTables_length select {
    background: transparent !important;
    border: none !important;
    padding: 2px 6px !important;
    font-size: inherit !important;
    font-family: inherit !important;
    color: inherit !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

table.dataTable th,
table.dataTable td {
    white-space: nowrap;
    font-size: 0.8rem !important;
}

table.dataTable th {
    color: #666F73 !important;
    font-weight: 700 !important;
}


.border-rounded {
    border-radius: 8px !important;
}


.alerta-bg {
    background-color: #e9e3dc !important;
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}


.border-dashed {
    border: 2px dashed #4A2F1B; /* puedes cambiar color y grosor */
}

.custom-upload-box {
    border: 2px dashed #4c9b99;
    border-radius: 6px;
    padding: 20px;
    text-align: center;
    width: 90%;
    max-width: 600px;
    margin: auto;
    background-color: #fff;
}

.custom-upload-box img {
    max-width: 180px;
    margin-bottom: 10px;
}

.custom-upload-box p {
    margin: 0;
    font-size: 14px;
    color: #4c9b99;
}

.custom-upload-box .btn-custom {
    margin-top: 15px;
    background-color: #4c9b99;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 30px;
    padding: 6px 25px;
    font-size: 14px;
    transition: 0.3s;
}

.custom-upload-box .btn-custom:hover {
    background-color: #3d8a89;
    color: #fff;
}

.upload-area {
    border: 2px dashed #4A2F1B;
    border-radius: 6px;
    padding: 20px;
    text-align: center;
    width: 90%;
    min-width: 250px;
    margin: auto;
    background-color: #fff;
    cursor: pointer;
    position: relative;
    transition: background 0.2s;
    width: 100%;
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.upload-area:hover {
    background-color: #FAF6F2;
}

.upload-area img {
    max-width: 180px;
    margin-bottom: 10px;
}

.upload-area p {
    margin: 0;
    font-size: 14px;
    color: #4c9b99;
}

.upload-area .btn-custom {
    margin-top: 15px;
    background-color: #4c9b99;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 30px;
    padding: 6px 25px;
    font-size: 14px;
    pointer-events: none; /* para que no bloquee el clic del label */
}

.upload-input {
    display: none;
}

.checkbox-wrapper-19 {
    box-sizing: border-box;
    --background-color: #fff;
    --checkbox-height: 25px;

}


@-moz-keyframes dothabottomcheck-19 {
    0% {
        height: 0;
    }
    100% {
        height: calc(var(--checkbox-height) / 2);
    }
}

@-webkit-keyframes dothabottomcheck-19 {
    0% {
        height: 0;
    }
    100% {
        height: calc(var(--checkbox-height) / 2);
    }
}

@keyframes dothabottomcheck-19 {
    0% {
        height: 0;
    }
    100% {
        height: calc(var(--checkbox-height) / 2);
    }
}

@keyframes dothatopcheck-19 {
    0% {
        height: 0;
    }
    50% {
        height: 0;
    }
    100% {
        height: calc(var(--checkbox-height) * 1.2);
    }
}

@-webkit-keyframes dothatopcheck-19 {
    0% {
        height: 0;
    }
    50% {
        height: 0;
    }
    100% {
        height: calc(var(--checkbox-height) * 1.2);
    }
}

@-moz-keyframes dothatopcheck-19 {
    0% {
        height: 0;
    }
    50% {
        height: 0;
    }
    100% {
        height: calc(var(--checkbox-height) * 1.2);
    }
}

.checkbox-wrapper-19 input[type=checkbox] {
    display: none;
}

.checkbox-wrapper-19 .check-box {
    height: var(--checkbox-height);
    width: var(--checkbox-height);
    background-color: transparent;
    border: calc(var(--checkbox-height) * .1) solid #4A2F1B;
    border-radius: 5px;
    position: relative;
    display: inline-block;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -moz-transition: border-color ease 0.2s;
    -o-transition: border-color ease 0.2s;
    -webkit-transition: border-color ease 0.2s;
    transition: border-color ease 0.2s;
    cursor: pointer;
}

.checkbox-wrapper-19 .check-box::before,
.checkbox-wrapper-19 .check-box::after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: absolute;
    height: 0;
    width: calc(var(--checkbox-height) * .2);
    background-color: #674834;
    display: inline-block;
    -moz-transform-origin: left top;
    -ms-transform-origin: left top;
    -o-transform-origin: left top;
    -webkit-transform-origin: left top;
    transform-origin: left top;
    border-radius: 5px;
    content: " ";
    -webkit-transition: opacity ease 0.5;
    -moz-transition: opacity ease 0.5;
    transition: opacity ease 0.5;
}

.checkbox-wrapper-19 .check-box::before {
    top: calc(var(--checkbox-height) * .72);
    left: calc(var(--checkbox-height) * .41);
    box-shadow: 0 0 0 calc(var(--checkbox-height) * .05) var(--background-color);
    -moz-transform: rotate(-135deg);
    -ms-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
}

.checkbox-wrapper-19 .check-box::after {
    top: calc(var(--checkbox-height) * .37);
    left: calc(var(--checkbox-height) * .05);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.checkbox-wrapper-19 input[type=checkbox]:checked + .check-box,
.checkbox-wrapper-19 .check-box.checked {
    border-color: #674834;
}

.checkbox-wrapper-19 input[type=checkbox]:checked + .check-box::after,
.checkbox-wrapper-19 .check-box.checked::after {
    height: calc(var(--checkbox-height) / 2);
    -moz-animation: dothabottomcheck-19 0.2s ease 0s forwards;
    -o-animation: dothabottomcheck-19 0.2s ease 0s forwards;
    -webkit-animation: dothabottomcheck-19 0.2s ease 0s forwards;
    animation: dothabottomcheck-19 0.2s ease 0s forwards;
}

.checkbox-wrapper-19 input[type=checkbox]:checked + .check-box::before,
.checkbox-wrapper-19 .check-box.checked::before {
    height: calc(var(--checkbox-height) * 1.2);
    -moz-animation: dothatopcheck-19 0.4s ease 0s forwards;
    -o-animation: dothatopcheck-19 0.4s ease 0s forwards;
    -webkit-animation: dothatopcheck-19 0.4s ease 0s forwards;
    animation: dothatopcheck-19 0.4s ease 0s forwards;
}

.bg-cafe-mas-claro {
    background-color: #FAF6F2 !important;
}

.bg-gris-mas-claro {
    background-color: #FCFCFC !important;
}

.border-b {
    border-bottom: none !important;
}

#content_list {
    max-height: 350px;
    overflow-y: auto;
    position: relative;
    border: 1px solid #ddd;
    shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.animar-entrada {
    animation: slideIn 0.3s ease forwards;
    /*opacity: 0;*/
    transform: translateX(-20px);
}

@keyframes slideIn {
    to {
        /*opacity: 1;*/
        transform: translateX(0);
    }
}

.usuario-detalle-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.usuario-detalle-grid .campo {
    /*background: #FAF6F2;*/
    padding: 0.5rem 0.75rem;
    border-radius: 0.4rem;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.05);
    font-size: 0.85rem;
    line-height: 1.2;


}

.usuario-detalle-grid .campo b {
    color: #444;
    font-weight: 500;
    font-size: 0.75rem;
}

.usuario-detalle-grid .campo span {
    display: block;
    color: #413332;
    font-weight: 400;
    font-size: 12px;
}

.usuario-detalle-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 2rem;
    justify-content: center;
}


.usuario-detalle-grid-3 .campo {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 120px; /* Ancho mínimo para uniformidad */
}

.badge-cajas {
    background-color: #a9745f; /* marrón claro */
    color: #fff;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
}

.badge-bodegas {
    background-color: #d9d4ce; /* gris cálido */
    color: #3d3d3d;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid #ccc;
}

.badge-usuarios {
    background-color: #413332; /* amarillo intenso */
    color: #fff;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Estilo sutil de sombra */
.concepto-card .card {
    border-left: 5px solid #413332;
    border-radius: 8px;
    overflow: hidden;
}

.small-card {
    font-size: 0.85rem;
    min-height: 210px; /* altura fija */
    max-height: 210px; /* altura fija */

}

.swal2-actions {
    gap: 12px !important; /* espacio entre botones */
}

.descripcion-limitada {
    max-width: 150px;
    word-break: break-word;
    white-space: normal;
}

.switch {
    position: relative;
    display: inline-block;
    width: 40px; /* más pequeño */
    height: 22px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: #fd7e14; /* naranja bootstrap */
}

input:checked + .slider:before {
    transform: translateX(18px);
}

.slider.round {
    border-radius: 22px;
}

.slider.round:before {
    border-radius: 50%;
}

.border-cafe {
    shadow: 0 0 3px rgba(0, 0, 0, 0.1);
    border-radius: 6px !important;
}

.text-cafe {
    color: #5D4037; /* café oscuro */
}

.btn-cafe {
    background-color: #5D4037;
    color: white;
    border: none;
}

.btn-cafe:hover {
    background-color: #4E342E;
}

.border-dashed {
    border-style: dashed !important;
}


.table-borderless tr {
    border-bottom: 1px solid #eee;
}

.table-borderless td {
    padding: 12px 16px;
    vertical-align: middle;
}

.ajuste-texto {
    word-wrap: break-word; /* Rompe las palabras largas */
    overflow-wrap: break-word; /* Para compatibilidad */
    white-space: normal; /* Permite que el texto baje de línea */
}

.form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    gap: 1rem;
    width: 100%;
}


.form-row label {
    margin-bottom: 0;
}

.form-row .form-control {
    flex: 1;
}

.input-fixed {
    max-width: 120px !important; /* Ancho fijo */
}

.custom-checkbox {
    display: inline-flex;
    align-items: center;
    font-weight: bold;
    margin-right: 15px;
    cursor: pointer;
    color: #674834; /* color del texto */
}

.custom-checkbox input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    background-color: white;
    border: 2px solid #674834;
    border-radius: 4px;
    margin-right: 6px;
    position: relative;
    display: inline-block;
}

.custom-checkbox input:checked + .checkmark::after {
    content: '✓';
    color: white;
    position: absolute;
    top: -1px;
    left: 3px;
    font-size: 14px;
}

.custom-checkbox input:checked + .checkmark {
    background-color: #674834;
}


.input-ghost_facturas {
    outline: none;
    cursor: pointer;
    display: inline-block;
    border: 1.5px solid #D2D6DE !important; /* Prueba usar px si ya está así */
    color: #674834;
    font-weight: 400;
    text-decoration: none;
    background: white;
    list-style: none;
    transition: color 0.5s, background 0.5s;
    margin-left: 2px;
    margin-bottom: 2px;
    padding: 5px 8px;
    min-width: 140px;
    text-align: left;
    border-radius: 4px;
    position: relative;
    font-size: 0.85rem !important;
    /*box-shadow: 2px 1px 5px 0.2rem #8e9291 !important;*/
}

.pp {
    padding-top: 8px;
    padding-bottom: 8px;

}


/* Estilo base de los botones de paginación */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    background-color: #F8F4F1 !important;
    border: 1px solid #D0BFAF !important;
    color: #674834 !important;
    padding: 3px 8px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
    cursor: pointer !important;
    min-width: 38px !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    background-image: none !important;
}

/* Hover sobre los botones */
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background-color: #674834 !important;
    color: #fff !important;
    border-color: #674834 !important;
    box-shadow: 0 0 8px rgba(103, 72, 52, 0.4) !important;
}

/* Botón de página actual */
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background-color: #674834 !important;
    color: #fff !important;
    font-weight: bold !important;
    border: 1px solid #4f3727 !important;
    box-shadow: inset 0 0 0 1px #4f3727 !important;
}

/* Hover sobre el botón actual (por si es clickeable también) */
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background-color: #5c3e2c !important;
    border-color: #5c3e2c !important;
}

/* Espaciado general */
.dataTables_wrapper .dataTables_paginate {
    margin-top: 20px !important;
}

/* Estilo del texto de paginación */
.dataTables_wrapper .dataTables_info {
    font-size: 13px !important;
    color: #674834 !important;
}

/* Botón deshabilitado */
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
    color: #fff !important; /* Texto blanco */
    cursor: not-allowed !important;
    opacity: 0.8 !important;
}


#modalVistaImagen {
    z-index: 1070 !important; /* Establecer un z-index mayor que el de SweetAlert */
}

.swal2-popup {
    z-index: 1050 !important; /* Puedes modificar el z-index de SweetAlert si es necesario */
}

.estado-toggle {
    width: 115px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    user-select: none;
}

.estado-toggle input[type="checkbox"] {
    display: none;
}

.estado-toggle .slider-mini {
    width: 28px;
    height: 16px;
    background-color: transparent;
    border: 2px solid white;
    border-radius: 12px;
    position: relative;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.estado-toggle .slider-mini::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    left: 2px;
    top: 2px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.estado-toggle input:checked + .slider-mini::before {
    transform: translateX(10px);
}

/* ESTADOS DE COLOR */
.estado-toggle.autorizado {
    background-color: #29AE61; /* Verde */
}

.estado-toggle.denegado {
    background-color: #C0392B; /* Rojo oscuro */
}

.estado-toggle.sin-autorizar {
    background-color: #E67E22; /* Amarillo */
}

#content_list, #content_list1 {
    width: 100%;
    margin: auto;
    position: absolute;
    top: 39px; /* Lo coloca justo debajo del input */
    left: 0;
    right: 0;
    background-color: #fff; /* Solo para visualizarlo mejor */
    z-index: 1000; /* Asegúrate de que esté sobre otros elementos */
    display: none; /* Se oculta inicialmente */
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 1px 8px 30px -15px rgba(0,0,0,0.5);
    -webkit-box-shadow: 1px 8px 30px -15px rgba(0,0,0,0.5);
    -moz-box-shadow: 1px 8px 30px -15px rgba(0,0,0,0.5);
}

/*.paginate_button {*/
/*    display:none !important;*/
/*}*/

.dataTables_wrapper .dataTables_paginate .paginate_button.previous {
    display: inline-block !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.next {
    display: inline-block !important;
}
/* === Estilo base para todas las tarjetas === */
.bodega-card,
.caja-card,
.usuario-card {
    background-color: #F3F3F3;
    border-radius: 12px;
    /*border-bottom-right-radius: 12px;*/
    transition: transform 0.2s ease;
    font-size: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bodega-card:hover,
.caja-card:hover,
.usuario-card:hover {
    transform: translateY(-3px);
}

/* === Encabezados === */
.bodega-header,
.caja-nombre,
.usuario-nombre {
    background-color: #674834;
    color: #fff;
    width: 92%;
    padding: 0.1rem 1rem;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 12px;
    text-align: center;
    letter-spacing: 0.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: auto;
    border-radius: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.bodega-header {
    padding-right: 3px !important;
}

.caja-nombre {
    background-color: #F0AD4E;
    justify-content: center;
}
.usuario-nombre {
    background-color: #06A65A;
    justify-content: center;
}


    /* === Cuerpo del contenido === */
.bodega-body,
.caja-body,
.usuario-body {
    padding: 0 1rem;
    color: #3b2b1f;
    padding-bottom: 8px;
    font-size: 11px;

}

/* === Etiquetas === */
.bodega-body .label,
.caja-body .label,
.usuario-body .label {
    color: #674834;
    font-weight: 500;
    line-height: 0.1;
    font-size: 11px;
}

.text {
    color: #674834;
    font-weight: 400;
}


/* === Estados === */
.estado {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 20px;
    text-align: center;
}

.estado.activa {
    background-color: #28a745;
    color: #fff;
}

.estado.inactiva {
    background-color: #9F7C52;
    color: #fff;
}


.ajuste-texto {
    word-break: break-word;
}


.bg-cafe-header {
    border-bottom: 2px solid #ECE4C8;
    padding-bottom: 8px; /* Ajusta según lo que necesites */
}

.btn-cafe {
    background-color: #8b5e3c;
    border: none;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 5px;
    margin: 0 10px;
}

.btn-cafe:hover {
    background-color: #744927;
}

.label {
    color: #727B84;
    font-weight: 400;
    font-size: 11px;
}

.tdd {
    color: #666F73;
    font-size: 12px;

}

.value {
    color: #454546;
    font-weight: 400;
    font-size: 13px;
}

.text-sm {
    font-size: 13px;
}


.accion-btn {
    padding: 0px;
    margin: 2px;
    border-radius: 12px;
    border: none; /* 🔥 Quitamos el borde */
    background-color: #f8f9fa;
    transition: all 0.2s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    outline: none;
}
.accion-btn i {
    font-size: 14px;
    font-weight: normal;
}
.accion-btn:hover {
    box-shadow: 0 0 5px rgba(0,0,0,0.15);
    transform: scale(1.05);
}

.icono-boton {
    font-size: 20px;
}

.bg-naranja {
    background-color: #EB9812 !important;
    color: white !important;
}

#numero_comprobante::placeholder {
    color: #413332 !important;
}

#search-input-global::placeholder {
    color: #413332 !important;
}

.b-cafe {
    border-top: none;
    border: 1px solid #F1F1F1 !important;
    border-bottom-left-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
    box-shadow: 1px 8px 30px -15px rgba(0,0,0,0.5);
    -webkit-box-shadow: 1px 8px 30px -15px rgba(0,0,0,0.5);
    -moz-box-shadow: 1px 8px 30px -15px rgba(0,0,0,0.5);
}

/*NUEVOS ESTILOS PARA LOS CHECKBOXES*/

.checkbox-wrapper-4 * {
    box-sizing: border-box;
}


.checkbox-wrapper-4 .cbx {
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
    padding: 3px 8px;

    border-radius: 6px;
    overflow: hidden;
    transition: all 0.2s ease;
    display: inline-block;
}

.checkbox-wrapper-4 .cbx:not(:last-child) {
    margin-right: 6px;
}

.checkbox-wrapper-4 .cbx:hover {
    background: rgba(103, 72, 52, 0.06); /* Color marrón claro al pasar el mouse */
}

.checkbox-wrapper-4 .cbx span {
    float: left;
    vertical-align: middle;
    transform: translate3d(0, 0, 0);
}

.checkbox-wrapper-4 .cbx span:first-child {
    position: relative;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    transform: scale(1);
    border: 1px solid #674834; /* Tono marrón */
    transition: all 0.2s ease;
    box-shadow: 0 1px 1px rgba(0, 16, 75, 0.05);
}

.checkbox-wrapper-4 .cbx span:first-child svg {
    position: absolute;
    top: 3px;
    left: 2px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 16px;
    stroke-dashoffset: 16px;
    transition: all 0.3s ease;
    transition-delay: 0.1s;
    transform: translate3d(0, 0, 0);
}

.checkbox-wrapper-4 .cbx span:last-child {
    padding-left: 8px;
    line-height: 18px;
}

.checkbox-wrapper-4 .cbx:hover span:first-child {
    border-color: #674834; /* Tono marrón */
}

.checkbox-wrapper-4 .inp-cbx {
    position: absolute;
    visibility: hidden;
}

.checkbox-wrapper-4 .inp-cbx:checked + .cbx span:first-child {
    background: #674834; /* Tono marrón */
    border-color: #674834; /* Tono marrón */
    animation: wave-4 0.4s ease;
}

.checkbox-wrapper-4 .inp-cbx:checked + .cbx span:first-child svg {
    stroke-dashoffset: 0;
}

.checkbox-wrapper-4 .inline-svg {
    position: absolute;
    width: 0;
    height: 0;
    pointer-events: none;
    user-select: none;
}

@media screen and (max-width: 640px) {
    .checkbox-wrapper-4 .cbx {
        width: 100%;
        display: inline-block;
    }
}

@-moz-keyframes wave-4 {
    50% {
        transform: scale(0.9);
    }
}

@-webkit-keyframes wave-4 {
    50% {
        transform: scale(0.9);
    }
}

@-o-keyframes wave-4 {
    50% {
        transform: scale(0.9);
    }
}

@keyframes wave-4 {
    50% {
        transform: scale(0.9);
    }
}


.menu-azul {
    background-color: #d6c9a4 !important;
    margin: 0 4px;
    border-radius: 8px;
}

.borders {
    border-radius: 8px !important;
}

.borders-t {
    border-top-left-radius: 5px !important;
    border-top-right-radius: 5px !important;
}
.borders-b {
    border-bottom-left-radius: 5px !important;
    border-bottom-right-radius: 5px !important;
}


.pass {
    position: relative;
    width: 100%;
}

#toggle-password, #toggle-confirm-password {
    position: absolute;
    right: 10px;
    top: 30%;
    cursor: pointer;
    color: #674834; /* Color marrón */
    z-index: 99999;
}

.bg-gris-oscuro {
    background-color: #d3d3d3 !important;
}


.main-sidebar {
    width: 230px;
}

#numero_comprobante {
   padding-top: 11px;
    padding-bottom: 11px;
}


#numero_comprobante::placeholder {
    color: #413332; /* Café oscuro */
}
.content-item-list-search-ciudad:hover,
.content-item-list-search-ciudad:hover * {
    color: #674834 !important;
}

.busca-cliente-input {
    max-width: 96% !important;
}

.btn-toggle-estado:hover .estado {
    background-color: #03703F; /* o el color que quieras */
    cursor: pointer;
    transform: scale(1.05);
    transition: all 0.2s ease-in-out;
}


/* Ocultar el ícono de ordenamiento en las columnas */
.dataTables_wrapper .dataTables_sort_icon {
    display: block !important; /* Asegúrate de que el ícono esté visible */
}



.toast-notificacion-global-caja-mayor {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 250px;
    z-index: 1055;
}

.toast-notificacion-global-caja-mayor-header {
    background-color: #ECE4C8;
    color: #413332;
}

.toast-notificacion-global-caja-mayor-body {
    padding: 10px;
    font-size: 15px;
}

.btn-toast-notificacion-global-close {
    font-size: 20px;
    font-weight: bold;
    color: white;
}


.sorting_1 {
    background-color: transparent !important;
    text-align: center !important;
}



.select-redondeado {
    width: 70px !important;
    background-color: #f3f3f3 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 3px 12px !important;
    font-size: 14px !important;
    color: #674834 !important;
    outline: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    cursor: pointer !important;
    margin-left: 10px;
}

.limpiar-filtros {
    border: none !important;
    outline: none !important;
    padding: 0 !important;
}

#toggle-password, #toggle-confirm-password {
    z-index: 1 !important;
}


/*NUEVOS ESTILOS PARA EL LOGIN*/

.border-login {
    border: 2px solid #674834;
    border-radius: 8px;
    border-top-left-radius: 0 !important; /* elimina la esquina superior izquierda */
    background-color: white;
}

.img-logo {
    width: 230px;
    height: 100px;
}


.floating-label {
    position: absolute;
    top: 50%;
    left: 48px;
    transform: translateY(-50%);
    transition: 0.2s ease all;
    pointer-events: none;
    color: #6c757d;
    background-color: #fff;
    padding: 0 4px;
    font-size: 16px;
    z-index: 999;
    border-radius: 4px;
}

.floating-input:focus + .floating-label,
.floating-input.not-empty + .floating-label {
    top: -11px;
    left: 48px;
    transform: translateY(0);
    font-size: 12px;
    color: #fff;
    background-color: #674834;
    transform: translateX(-40px);

}


.btn-x {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: transparent;
    border: none;
    color: #674834;
    font-size: 20px;
    cursor: pointer;
    outline: none;
}

.nombre-completo-ajustado {
    display: inline-block;
    white-space: normal;   /* Permite salto de línea */
    word-break: break-word; /* Parte palabras largas si no caben */
    max-width: 100%;       /* Se adapta al contenedor */
}

.inputs-fecha {
    background-color: #ECE4C8 !important;
    coor: #413332 !important;
    border: none !important;
    padding: 10px 12px !important;

}

.dt-total-row {
    background: #ECE4C8 !important;  /* un amarillito suave */
    border-top: 2px solid #e0c68c !important;
    color: #674834 !important;

}
.dt-total-row td {
    padding: 8px 10px;
    font-weight: 600 !important;
    font-size: 18px !important;
}

.dataTables_wrapper {
    font-size: 12px !important;
}


input::placeholder {
    font-size: 12px !important;
}

#filter, #filtroDb, #filtroDbModal {
    border: none !important;
}

#filter::placeholder, #filtroDb::placeholder, #filtroDbModal::placeholder {
    font-size: 12px !important;
    color: #413332 !important;
}

.input-db {
    border: none !important;
    border-top-left-radius: 25px !important;
    border-bottom-left-radius: 25px !important;

}
