﻿/*padding-top: 50px;*/
body {
    padding-bottom: 20px;
    /*background: url('images/fondo_inicio.jpg') no-repeat;
    padding-top: 20px;
    background-size: cover;*/
}

.app-hidden-form {
    display: none;
}

.app-main-navbar {
    background-color: #17a2b8;
}

.lista-ventas-hidden-form {
    display: none;
}

.lista-ventas-search-panel {
    border: 1px solid #000;
    padding: 10px 12px 12px;
    background-color: #f6f6dc;
}

.lista-ventas-search-title {
    text-align: center;
    margin: -4px 0 12px;
    height: auto;
    line-height: 1.2;
    font-size: 20px;
    font-weight: 600;
}

.lista-ventas-search-mode-bar {
    border: 1px solid #000;
    background-color: aquamarine;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3px 14px;
    padding: 3px 8px;
    line-height: 1.2;
}

.lista-ventas-search-mode-bar label {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin: 0;
    white-space: nowrap;
}

.lista-ventas-search-mode-feature {
    font-weight: 600;
}

.lista-ventas-date-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
    gap: 10px 14px;
    align-items: end;
}

.lista-ventas-date-grid label {
    display: block;
    margin-bottom: 4px;
    line-height: 1.15;
}

.lista-ventas-date-field {
    grid-column: span 2;
    min-width: 0;
}

.lista-ventas-date-field .form-control {
    width: 100%;
    min-width: 0;
}

.lista-ventas-check-field {
    min-width: 0;
}

.lista-ventas-check-field-wide {
    min-width: 150px;
}

.lista-ventas-check-field label {
    min-height: 34px;
    white-space: normal;
    overflow-wrap: anywhere;
}

.lista-ventas-check-field .form-check-input {
    position: static;
    margin-left: 0;
    width: 1.05rem;
    height: 1.05rem;
}

.lista-ventas-action-field {
    min-width: 112px;
}

.lista-ventas-action-main {
    min-width: 180px;
}

.lista-ventas-action-field .btn {
    min-height: 47px;
    white-space: normal;
}

@media (min-width: 1800px) {
    .lista-ventas-date-grid {
        grid-template-columns:
            minmax(270px, 1.4fr)
            minmax(270px, 1.4fr)
            minmax(132px, .62fr)
            minmax(118px, .55fr)
            minmax(144px, .7fr)
            minmax(158px, .75fr)
            minmax(180px, .9fr)
            minmax(110px, .55fr)
            minmax(115px, .58fr)
            minmax(115px, .58fr);
    }

    .lista-ventas-date-field {
        grid-column: auto;
    }
}

.lista-ventas-status-message {
    font-size: large;
}

.inventario-centered-header {
    text-align: center;
}

.inventario-registration-alert {
    text-align: center;
    background-color: grey;
}

.inventario-registration-alert-link {
    color: white;
}

.inventario-client-panel {
    border: ridge;
    padding: 5px;
    margin-bottom: 10px;
}

.inventario-whatsapp-link {
    text-decoration: none;
    color: inherit;
}

.inventario-help-text {
    font-style: italic;
}

.inventario-debt-label {
    color: red;
    font-weight: bold;
}

.inventario-modal-header-compact {
    padding: 0 1rem 0 2rem;
}

.inventario-order-ticket-btn {
    font-size: .7em;
}

.inventario-payment-container {
    background-color: beige;
}

.inventario-expiring-signature-alert {
    font-weight: bold;
}

.inventario-search-panel {
    border: 1px solid #000;
    padding: 9px;
}

.inventario-hidden {
    display: none;
}

.inventario-float-right {
    float: right;
}

.inventario-hidden-float-right {
    display: none;
    float: right;
}

.site-hidden {
    display: none;
}

.site-nowrap {
    white-space: nowrap;
}

.site-text-center {
    text-align: center;
}

.site-text-medium {
    font-size: medium;
}

.site-text-bold {
    font-weight: bold;
}

.site-text-bold-red {
    color: red;
    font-weight: bold;
}

.site-media-youtube-img {
    vertical-align: unset;
    padding-left: 10px;
    margin-top: 17px;
}

.site-media-message-img {
    vertical-align: unset;
    margin-left: 10px;
    margin-top: 10px;
}

.site-search-panel {
    border: 1px solid #000;
    padding: 9px;
}

.site-search-title {
    text-align: center;
    margin-top: -10px;
    height: 20px;
    line-height: 20px;
    font-size: 20px;
}

.site-padding-bottom-5 {
    padding-bottom: 5px;
}

.site-width-140 {
    width: 140px;
}

.site-width-70 {
    width: 70px;
}

.site-loading-icon {
    display: none;
}

.inventario-garantia-panel {
    text-align: center;
    border: solid 1px;
    padding: 5px;
    display: none;
}

.inventario-pending-toggle,
.inventario-pending-link {
    font-size: 0.9em;
}

.inventario-pending-link {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.inventario-input-full {
    max-width: 100%;
}

.inventario-recordatorio-input {
    width: 160px;
}

.inventario-price-caption {
    font-size: 10px;
}

.inventario-price-input {
    width: 70px;
}

.inventario-summary-cell {
    text-align: right;
    font-weight: bold;
}

.inventario-summary-value {
    background-color: #c0c0c0;
    font-weight: normal;
}

.producto-label-strong {
    font-weight: bold;
}

.producto-input-strong {
    font-weight: bold;
}

.producto-label-wide {
    width: 80%;
}

.producto-inline-help {
    font-style: italic;
    font-size: 15px;
}

.producto-small-label {
    font-size: 14px;
}

.producto-min-help {
    min-height: 38px;
}

.historial-metadata {
    font-size: medium;
}

.historial-message-img {
    vertical-align: unset;
    margin-left: 7px;
}

.historial-panel-compact {
    text-align: center;
    padding: 5px;
}

.historial-label-strong {
    font-weight: bold;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}
.ui-datepicker {
    z-index: 9999 !important; /* Asegúrate de que sea mayor al del modal */
}
/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/*INICIO BOTON TUTORIAL YOUTUBE*/
.contenedorx {
    width: 90px;
    height: 240px;
    position: absolute;
    right: 0px;
    top: 110px;
}

.botonF1 {
    width: 60px;
    height: 60px;
    border-radius: 100%;
    background: #F44336;
    right: 15px; /* Adjusted to fit within the container */
    top: 8px; /* Adjusted to fit within the container */
    position: absolute;
    border: none;
    outline: none;
    color: #FFF;
    font-size: 36px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    transition: .3s;
}

.btnx {
    width: 40px;
    height: 40px;
    border-radius: 100%;
    border: none;
    color: #FFF;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    font-size: 28px;
    outline: none;
    position: absolute;
    right: 15px; /* Adjusted to fit within the container */
    top: 78px; /* Adjusted to fit below the first button */
}

.botonF2 {
    width: 60px;
    height: 60px;
    background: #2196F3;
    transition: 0.5s;
}
.botonF3 {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #FFD700; /* Amarillo más elegante */
    position: absolute;
    right: 15px;
    top: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #000; /* Negro para mejor contraste */
    font-size: 9px;
    font-weight: bold;
    font-family: Arial, sans-serif;
    text-transform: uppercase;
    text-align: center;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    transition: transform 0.3s ease;
}

    .botonF3:hover {
        transform: scale(1.1); /* Efecto de zoom al pasar el mouse */
    }
/*.botonF3 {
    background: #673AB7;
    margin-bottom: 130px;
    transition: 0.7s;
}

.botonF4 {
    background: #009688;
    margin-bottom: 175px;
    transition: 0.9s;
}

.botonF5 {
    background: #FF5722;
    margin-bottom: 220px;
    transition: 0.99s;
}

.animacionVer {
    transform: scale(1);
}

#modalTutorialClientes .modal-body {
    position: relative;
    padding-bottom: 56.25%;*/ /*panorámico*/
    /*padding-top: 25px;
    height: 0;
}

    #modalTutorialClientes .modal-body iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }*/
/*FIN BOTON TUTORIAL YOUTUBE*/

/*INICIO TEXTO PARPADEANTE*/
.parpadea {
    animation-name: parpadeo;
    animation-duration: 3s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    -webkit-animation-name: parpadeo;
    -webkit-animation-duration: 3s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
}

@-moz-keyframes parpadeo {
    0% {
        opacity: 1.0;
    }

    50% {
        opacity: 0.0;
    }

    100% {
        opacity: 1.0;
    }
}

@-webkit-keyframes parpadeo {
    0% {
        opacity: 1.0;
    }

    50% {
        opacity: 0.0;
    }

    100% {
        opacity: 1.0;
    }
}

@keyframes parpadeo {
    0% {
        opacity: 1.0;
    }

    50% {
        opacity: 0.0;
    }

    100% {
        opacity: 1.0;
    }
}
/*FIN TEXTO PARPADEANTE*/
/* Set width on the form input elements since they're 100% wide by default */
/*input,
select {*/
/*max-width: 280px; <- COMENTO ESTA LINEA PORQUE ME ESTABA LIMITANDO EL TAMAÑO DEL FORM-CONTROL*/
/*width:30%;*/
/*}*/
/*CODIGO DESDE AQUI AGREGADO*/
textarea {
    width: 80%;
}

.ui-autocomplete {
    z-index: 99999999 !important;
}

p {
    text-align: left;
    margin-bottom: 30px;
    line-height: 24px;
}

h3 {
    position: relative;
    margin-top: 10px;
    text-align: center;
}

    h3.one {
        margin-top: 0;
        /*margin: 1px;*/
    }

        h3.one:before {
            content: "";
            display: block;
            border-top: solid 1px black;
            width: 100%;
            height: 1px;
            position: absolute;
            top: 50%;
            z-index: 1;
        }

        h3.one span {
            background: #fff;
            padding: 0 20px;
            position: relative;
            z-index: 5;
        }

.table tfoot th, .table tfoot td {
    padding-top: 0.1em;
    padding-bottom: 0.1em;
}

.site-new-comment {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    padding-bottom: 15px;
}


/*nuevo codigo desde aqui*/
#tabla1 {
    border: 1px solid #1E679A;
    width: 100%;
    /*width: 280px;*/
}

#cabtab1 {
    background-color: #1E679A;
    font-weight: bold;
    color: #ffffff;
    padding: 2px 2px 2px 2px;
    text-align: center;
}

#cuerpotab1 {
    text-align: center;
    padding: 4px 4px 4px 4px;
    background-color: #ffffcc;
    -ms-word-break: break-all;
    word-break: break-all;
    word-break: break-word; /* Sólo WebKit -NO DOCUMENTADO */
    -ms-hyphens: auto; /* Guiones para separar en sílabas */
    -moz-hyphens: auto; /*  depende de lang en <html>      */
    -webkit-hyphens: auto;
    hyphens: auto;
}

h1 {
    text-align: center;
}

.button_crear {
    text-decoration: none;
    text-align: center;
    padding: 12px 30px 12px;
    border: solid 1px #004F72;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    font: 18px Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: #E5FFFF;
    background-color: #3BA4C7;
    /*background-image: -moz-linear-gradient(top, #3BA4C7 0%, #1982A5 100%); 
 background-image: -webkit-linear-gradient(top, #3BA4C7 0%, #1982A5 100%); 
 background-image: -o-linear-gradient(top, #3BA4C7 0%, #1982A5 100%);*/
    /*background-image: -ms-linear-gradient(top, #3BA4C7 0% ,#1982A5 100%);*/
    /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1982A5', endColorstr='#1982A5',GradientType=0 ); 
 background-image: linear-gradient(top, #3BA4C7 0% ,#1982A5 100%);*/
    -webkit-box-shadow: 0px 0px 2px #bababa, inset 0px 0px 1px #ffffff;
    -moz-box-shadow: 0px 0px 2px #bababa, inset 0px 0px 1px #ffffff;
    box-shadow: 0px 0px 2px #bababa, inset 0px 0px 1px #ffffff;
}

.wrap {
    padding-top: 10px;
}

.centrado {
    justify-content: center;
}

    .centrado .input-group-addon:last-of-type {
        margin-right: 4px;
    }

.navbar-inverse {
    background-color: #222 !important;
    border-color: #080808 !important;
}

.nopadding {
    padding: 0 !important;
    margin: 0 !important;
}

.nav-brand {
    color: white !important;
}

#tablaclientes {
    font-size: 14px;
}

.tablaclientes .btn {
    white-space: normal;
}

.form-group {
    background-color: beige;
}

#divPopup .container .form-group {
    margin-bottom: 0rem;
}

.nobackground .form-group {
    background-color: transparent;
}

#divPopup {
    display: none;
}

/*AGREGADO RECIENTE*/

.navbar-toggler {
    margin-left: auto;
    color: white !important;
    font-size: 1.9rem;
}

.navbar button:focus {
    outline: none;
}

button[data-bs-target="#menu-configuracion"] {
    display: none;
}

#menu-configuracion {
    display: inline;
    border-radius: 0 0 0 10px;
    -moz-border-radius: 0 0 0 10px;
    -webkit-border-radius: 0 0 0 10px;
    border: 0px solid #000000;
    padding: 5px;
}

    #menu-configuracion ul {
        list-style: none;
        padding: 0;
    }

    #menu-configuracion li {
        /*width:100%;*/
        color: white;
        margin-bottom: .6rem;
    }

        #menu-configuracion li a {
            color: white;
        }

#form0 .form-row .input-group {
    align-items: center;
}


@media (min-width: 992px) {
    /*button[data-bs-target=".dual-collapse"] {
        display: none !important;
    }*/
    button[data-bs-target="#navbarSupportedContent"] {
        display: none !important;
    }

    #menu-configuracion:not(.show) {
        display: none !important;
    }

    .navbar-expand-lg .navbar-toggler {
        display: flex;
    }

    .nav-brand {
        order: 1;
    }

    #navbarSupportedContent {
        order: 2;
    }

    .navbar-toggler {
        order: 3;
    }

    #menu-configuracion {
        flex-direction: column;
        position: absolute;
        /*width: 16rem;*/
        right: 0px;
        background-color: #17a2b8;
        top: 56px;
        z-index: 1;
        transition: all 0s ease;
    }

    .navbar-dark .navbar-toggler {
        border: none;
    }
}

#cargando-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7); /* Fondo semi-transparente */
    display: none;
    z-index: 2000;
}

#cargando {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2001;
}
/*.navbar-expand-lg .navbar-toggler{
    display:flex;
}*/
@media (min-width: 1200px) {
    .container {
        width: 90% !important;
        max-width: 90% !important;
    }
}

.administracion-tabla-wrap {
    overflow-x: hidden;
}

.administracion-tabla {
    width: 100%;
}

.administracion-tabla-row {
    margin-left: 0;
    margin-right: 0;
    align-items: flex-start;
}

.administracion-tabla-row > td,
.administracion-tabla-row > th {
    box-sizing: border-box;
}

.administracion-head-cell {
    white-space: nowrap;
}

.administracion-tabla-row-secondary > td,
.administracion-tabla-row-note > td {
    width: 100%;
    max-width: 100%;
}

.administracion-secondary-wrapper,
.administracion-observacion-cell {
    padding-top: .75rem;
    padding-bottom: .75rem;
}

.administracion-action-stack {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.administracion-action-stack form,
.administracion-action-stack .divBotonDesactivado {
    width: 100%;
}

.administracion-sensitive-actions {
    display: flex;
    justify-content: flex-end;
    gap: .5rem;
    flex-wrap: wrap;
}

.administracion-sensitive-panel {
    border: 1px solid #f3d3d3;
    background: #fff8f8;
    border-radius: .5rem;
    padding: .75rem;
}

.administracion-sensitive-title {
    font-size: .85rem;
    font-weight: 700;
    color: #a94442;
    margin-bottom: .5rem;
    text-transform: uppercase;
    letter-spacing: .03em;
}

@media (max-width: 1199.98px) {
    .administracion-head-cell {
        white-space: normal;
    }

    .administracion-sensitive-actions {
        justify-content: flex-start;
    }
}
/* OpenWA compact navbar status */
.openwa-navbar-widget {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem;
    text-decoration: none;
    font-size: 0.86rem;
}

.openwa-navbar-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #a8b3bd;
    flex: 0 0 auto;
}

.openwa-navbar-widget.is-connected .openwa-navbar-dot {
    background: #20a65a;
}

.openwa-navbar-widget.is-disconnected .openwa-navbar-dot {
    background: #df3f32;
}

.openwa-navbar-widget.is-muted .openwa-navbar-dot,
.openwa-navbar-widget.is-checking .openwa-navbar-dot {
    background: #e1a300;
}

.openwa-navbar-widget.is-disconnected .openwa-navbar-text {
    color: #ffd9d5;
}
