/*
    Galeria de menu cotizador
*/
.zoom-container {
    overflow: hidden; /* Oculta el contenido que sobresale */
    display: inline-block; /* Ajusta el tamaño del contenedor al contenido */
    transition: transform 0.5s ease; /* Añade la transición suave */
}

.zoom-image {
    width: 100%; /* Asegura que la imagen ocupe todo el contenedor */
}

.zoom-text {
    font-size: 16px; /* Ajusta el tamaño de la fuente a tu preferencia */
}

.zoom-container:hover {
    transform: scale(1.1); /* Aplica el efecto de zoom al contenedor */
}

/* Estilo para las imágenes de la galería */
#galeria img {
    border: 2px solid white;
    cursor: pointer;
}

/* Estilo para la imagen activa */
.activo img {
    border: 2px solid #333 !important;
}

/*
    Imagen de referencia ezPlus en cotizador
*/
#imagen_demostracion {
    width: 100%;
    max-width: 400px;
    height: auto;
}

@media (min-width: 1025px) and (max-width: 1280px) {
    #imagen_demostracion {
        max-width: 350px;
    }
}

@media (max-width: 1200px) {
    #imagen_demostracion {
        max-width: 300px;
    }
}

@media (min-width: 600px) and (max-width: 767px) {
    #imagen_demostracion {
        max-width: 250px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    #imagen_demostracion {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    #imagen_demostracion {
        max-width: 200px;
    }
}

@media (max-width: 320px) {
    #imagen_demostracion {
        max-width: 150px;
    }
}

/*
    Efectos de visualizacion formulario cotizacion
*/

.fade-content {
    transition: opacity 0.5s ease-in-out; /* Transición suave de 0.5 segundos */
    opacity: 1;
}

.fade-out {
    opacity: 0; /* Estado cuando el contenido se desvanece */
}

.fade-in {
    opacity: 1; /* Estado cuando el contenido aparece */
}


.spinner-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
}

.spinner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    text-align: center;
    max-width: 80%;
}

.spinner-image {
    width: 100px;
    height: 100px;
    animation: spin 2s linear infinite, colorize 4s ease-in-out infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes colorize {
    0% {
        filter: grayscale(100%);
    }
    50% {
        filter: grayscale(0%);
    }
    100% {
        filter: grayscale(100%);
    }
}

.loading-text {
    font-size: 1.3em;
    margin-top: 20px;
    height: 1.5em;
    overflow: hidden;
    position: relative;
    width: 100%;
    white-space: normal;
    word-break: break-word;
}

@keyframes typing {
    0% {
        width: 0ch;
    }
    50% {
        width: 33ch;
    }
    100% {
        width: 0ch;
    }
}

#loading {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    border-right: .15em solid orange;
    animation: typing 4s steps(50, end) infinite;
}



.select2-container .select2-selection--single{
    height: 40px !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered{
    line-height: 38px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow{
   top: 7px !important;
}
.select2-container .select2-selection--single .select2-selection__clear{
    font-size: 1.4em !important;
}
.select2-container--default .select2-selection--single .select2-selection__clear{
    height: 38px !important;
    margin-right: 28px !important;
}


.dropzone {
    border: 2px dashed #cbd0dd !important;
    padding: 20px !important;
    border-radius: 5px !important;
    background-color: #f9f9f9 !important;
}

.dz-message {
    font-size: 18px !important;
    color: #6c757d !important;
    text-align: center !important;
    margin: 20px 0 !important;
}

.dz-preview .dz-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
}
.dz-remove{
    font-weight: 900;
    background-color: black;
    border-radius: 5px;
}


#editar_informacion_extensa {
    resize: vertical;
    overflow: auto; 
    /* min-height: 150px; 
    max-height: 500px; */
}

/* #offcanvasRight{
    width: 36% !important;
} */

.btn-close{
    filter: none!important;
}

.ql-editor img {
    max-width: 100%; 
    height: auto;
    /* display: block; */
    margin: 0 auto;
}

[data-navigation-type=horizontal] .navbar-top.navbar-expand-lg .navbar-nav-top .dropdown.nav-item>.dropdown-menu, [data-navigation-type=dual] .navbar-top.navbar-expand-lg .navbar-nav-top .dropdown.nav-item>.dropdown-menu, [data-navigation-type=combo] .navbar-top.navbar-expand-lg .navbar-nav-top .dropdown.nav-item>.dropdown-menu{
    margin-top: 0.5rem !important;
}

.dropdown:hover .dropdown-cotizador .dropdown-menu {
    display: block; 
}

.image-container {
    width: 100%; /* Ocupa todo el ancho disponible */
    /* min-height: 70vh; */
    position: relative;
    overflow: hidden; /* Evita que la imagen salga del contenedor */
}

.responsive-img {
    width: 100%; /* La imagen ocupa todo el ancho */
    height: 100%; /* La imagen ocupa toda la altura */
    object-fit: cover; /* Se comporta como background-size: cover */
    object-position: center; /* Centra la imagen dentro del contenedor */
}

.icon-nav-item:hover .icon-container{
    background: #ccf15e !important;
}

.icon-nav-item .icon-container{
    background: none !important;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1200;
}

.modal-section {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 400vw;
    text-align: center;
    position: relative;
}

.loading-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: bold;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.swiper-wrapper{
    height: auto !important;
}

.content-fit {
    height: fit-content !important;
}

div:where(.swal2-actions){
    flex-wrap: nowrap !important;
}

#txtDescuentoPagoAnticipado{
    display: inline !important;
}

#install-button{
    top: -50px !important;
    left: 25px !important;
}
#install-button img{
    width: 100% !important;
    top: -50px !important;
    left: 25px !important;
}

/* Para validación de campos en formularios */
.campo-vacio {
    box-sizing: border-box;
    border: 1px solid var(--phoenix-form-invalid-border-color);
    padding-right: calc(1.49em + 1rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23fa3b1d'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23fa3b1d' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.3725em + 0.25rem) center;
    background-size: calc(0.745em + 0.5rem) calc(0.745em + 0.5rem);
}

.iconoCheck{
    font-size: 1.5rem !important;
}

.modal-borde-bolder{
    border: 2px solid black; border-radius: 8px;
}

.lista-circulo{
    list-style: circle !important;
}

/* Emojis para estatus */
.check-verde{
    color: #8dc73f !important;
    font-size: 1.2rem !important;
}
.error-rojo{
    color: #fa3b1d !important;
    font-size: 1rem !important;
}
.atencion-naranja{
    color: #fc9414 !important;
    font-size: 1.3rem !important;
}

/* nuevos colores de texto */
.text-exclamation{
    color: #f7f742;
}

.alert-custom {
    background-color: white;
    color: black;
    border: 1px solid black;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}
.alert-custom i {
    color: black;
}
.alert-custom-warning{
    background-color: #fff3cd; 
    color: #856404; 
    padding: 1px 12px; 
    border-radius: 6px; 
    border: 1px solid #ffeeba; 
    font-weight: bold;
}
.alert-custom-info{
    background-color: #8cddfd; 
    color: #056a92; 
    padding: 1px 12px; 
    border-radius: 6px; 
    border: 1px solid #72d7ff; 
    font-weight: bold;
}
/* Contenedor del icono + tooltip */
/* .tooltip-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
}
.tooltip-container .info-icon {
    font-family: sans-serif;
    font-weight: bold;
    width: 1.4em;
    height: 1.4em;
    line-height: 1.4em;
    text-align: center;
    border-radius: 50%;
    background: #0d6efd;
    color: white;
    user-select: none;
    display: inline-block;
}
.tooltip-container .tooltip-text {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s;
    position: absolute;
    top: 120%;            
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5em;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    font-size: 0.875rem;
    border-radius: 0.25rem;
    white-space: nowrap;
    z-index: 10;
    pointer-events: none;
}
.tooltip-container .tooltip-text::after {
    content: "";
    position: absolute;
    top: -0.4em;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0.4em 0.4em 0 0.4em;
    border-style: solid;
    border-color: rgba(0,0,0,0.75) transparent transparent transparent;
}
.tooltip-container:hover .tooltip-text,
.tooltip-container:focus-within .tooltip-text {
    visibility: visible;
    opacity: 1;
}
.tooltip-container:focus-within .tooltip-text {
    pointer-events: auto;
} */
/* #divGraficos{
    position: relative;
} */
#divFormulario{
    overflow-y: auto;
    overflow-x: hidden;
    height: 80vh;
}
#divGraficos{
    position: relative;
}

.contenedor-cortina{
    position: sticky;
    /* top: 20px;
    margin-top: 20px; */
    margin-left: 20px;
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.cortina-svg{
    width: 500px;
    height: auto;
    flex: 0 0 auto;
}

.bg-area{
    background-color: beige !important;
    color: black !important;
}