﻿body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    user-select: none;
    overscroll-behavior-y: contain;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    flex-shrink: 0;
    background-color: black;
    color: white;
    font-size: 10pt;
    font-family: Tahoma;
}

#loading {
    position: fixed;
    z-index: 3;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    display: none;
}

.loadingLogoDistri {
    width: 85%;
}

.loadingOverlay {
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0.5;
    left: 0;
}

.loadingContent {
    width: 100%;
    text-align: center;
    position: absolute;
    top: 40%;
    margin: auto;
    left: 0;
    right: 0;
}

    .loadingContent p, .loadingContent a {
        text-align: center;
        font-size: 22pt;
        font-family: 'Source Sans Pro', sans-serif;
        color: white;
        margin-top: 10px;
    }

.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .lds-ellipsis div {
        position: absolute;
        top: 33px;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #0047AB;
        animation-timing-function: cubic-bezier(0, 1, 1, 0);
    }

        .lds-ellipsis div:nth-child(1) {
            left: 8px;
            animation: lds-ellipsis1 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(2) {
            left: 8px;
            animation: lds-ellipsis2 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(3) {
            left: 32px;
            animation: lds-ellipsis2 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(4) {
            left: 56px;
            animation: lds-ellipsis3 0.6s infinite;
        }

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(24px, 0);
    }
}

.letrasmaller {
    font-size: 12pt;
}

.fontEAN {
    font-size: 9pt;
    font-weight: 500;
    color: #428EF8;
}

.imagepick {
    width: 100%;
}

    .imagepick:hover {
        opacity: 0.7;
        cursor: pointer;
    }

.ir-arriba {
    display: none;
    padding: 20px;
    background: #024959;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
    position: fixed;
    bottom: 20px;
    right: 20px;
}

#camera video {
    width: 100%;
    max-width: 640px;
}

@keyframes titileo {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.btn-titilando {
    animation: titileo 1s infinite;
}

.highlight {
    background-color: yellow;
    color: black;
    padding: 0 2px;
}

.logo-redondo {
    height: 80px;
    border-radius: 50%;
    border: 1px solid #666;
}

.btn-with-image-autorizada {
    background-image: url('../img/autorizadas.png');
    background-size: cover; /* Asegura que la imagen cubra todo el botón */
    background-position: center; /* Centra la imagen */
    background-repeat: no-repeat; /* Evita que la imagen se repita */
    height: 30px; /* Ajusta la altura del botón */
    width: 30px; /* Ajusta el ancho del botón según lo necesario */
    padding: 10px; /* Aumenta el espacio interno */
    color: white; /* Cambia el color del texto si es necesario */
    border: none; /* Quita el borde si no lo quieres */
    text-align: center; /* Centra el texto o contenido dentro del botón */
    font-size: 14px; /* Ajusta el tamaño del texto */
    line-height: 1.2; /* Ajusta la altura de línea para centrar texto */
}

.btn-with-image-transfer {
    background-image: url('../img/refresh.png');
    background-size: cover; /* Asegura que la imagen cubra todo el botón */
    background-position: center; /* Centra la imagen */
    background-repeat: no-repeat; /* Evita que la imagen se repita */
    height: 30px; /* Ajusta la altura del botón */
    width: 30px; /* Ajusta el ancho del botón según lo necesario */
    padding: 10px; /* Aumenta el espacio interno */
    color: white; /* Cambia el color del texto si es necesario */
    border: none; /* Quita el borde si no lo quieres */
    text-align: center; /* Centra el texto o contenido dentro del botón */
    font-size: 14px; /* Ajusta el tamaño del texto */
    line-height: 1.2; /* Ajusta la altura de línea para centrar texto */
}

.btn-with-image-back {
    background-image: url('../img/back-icon.png');
    background-size: cover; /* Asegura que la imagen cubra todo el botón */
    background-position: center; /* Centra la imagen */
    background-repeat: no-repeat; /* Evita que la imagen se repita */
    height: 30px; /* Ajusta la altura del botón */
    width: 30px; /* Ajusta el ancho del botón según lo necesario */
    padding: 10px; /* Aumenta el espacio interno */
    color: white; /* Cambia el color del texto si es necesario */
    border: none; /* Quita el borde si no lo quieres */
    text-align: center; /* Centra el texto o contenido dentro del botón */
    font-size: 14px; /* Ajusta el tamaño del texto */
    line-height: 1.2; /* Ajusta la altura de línea para centrar texto */
}

.btn-with-image-ok {
    background-image: url('../img/ok-icon.png');
    background-size: cover; /* Asegura que la imagen cubra todo el botón */
    background-position: center; /* Centra la imagen */
    background-repeat: no-repeat; /* Evita que la imagen se repita */
    height: 30px; /* Ajusta la altura del botón */
    width: 30px; /* Ajusta el ancho del botón según lo necesario */
    padding: 10px; /* Aumenta el espacio interno */
    color: white; /* Cambia el color del texto si es necesario */
    border: none; /* Quita el borde si no lo quieres */
    text-align: center; /* Centra el texto o contenido dentro del botón */
    font-size: 14px; /* Ajusta el tamaño del texto */
    line-height: 1.2; /* Ajusta la altura de línea para centrar texto */
}

.btn-with-image-cancel {
    background-image: url('../img/cancel-icon.png');
    background-size: cover; /* Asegura que la imagen cubra todo el botón */
    background-position: center; /* Centra la imagen */
    background-repeat: no-repeat; /* Evita que la imagen se repita */
    height: 30px; /* Ajusta la altura del botón */
    width: 30px; /* Ajusta el ancho del botón según lo necesario */
    padding: 10px; /* Aumenta el espacio interno */
    color: white; /* Cambia el color del texto si es necesario */
    border: none; /* Quita el borde si no lo quieres */
    text-align: center; /* Centra el texto o contenido dentro del botón */
    font-size: 14px; /* Ajusta el tamaño del texto */
    line-height: 1.2; /* Ajusta la altura de línea para centrar texto */
}

.btn-with-image-find {
    background-image: url('../img/find-icon.png');
    background-size: cover; /* Asegura que la imagen cubra todo el botón */
    background-position: center; /* Centra la imagen */
    background-repeat: no-repeat; /* Evita que la imagen se repita */
    height: 30px; /* Ajusta la altura del botón */
    width: 30px; /* Ajusta el ancho del botón según lo necesario */
    padding: 10px; /* Aumenta el espacio interno */
    color: white; /* Cambia el color del texto si es necesario */
    border: none; /* Quita el borde si no lo quieres */
    text-align: center; /* Centra el texto o contenido dentro del botón */
    font-size: 14px; /* Ajusta el tamaño del texto */
    line-height: 1.2; /* Ajusta la altura de línea para centrar texto */
}

.btn-with-image-alert {
    background-image: url('../img/alert-icon.png');
    background-size: cover; /* Asegura que la imagen cubra todo el botón */
    background-position: center; /* Centra la imagen */
    background-repeat: no-repeat; /* Evita que la imagen se repita */
    height: 30px; /* Ajusta la altura del botón */
    width: 30px; /* Ajusta el ancho del botón según lo necesario */
    padding: 10px; /* Aumenta el espacio interno */
    color: white; /* Cambia el color del texto si es necesario */
    border: none; /* Quita el borde si no lo quieres */
    text-align: center; /* Centra el texto o contenido dentro del botón */
    font-size: 14px; /* Ajusta el tamaño del texto */
    line-height: 1.2; /* Ajusta la altura de línea para centrar texto */
}

.btn-with-image-barcode {
    background-image: url('../img/barcode.png');
    background-size: cover; /* Asegura que la imagen cubra todo el botón */
    background-position: center; /* Centra la imagen */
    background-repeat: no-repeat; /* Evita que la imagen se repita */
    height: 30px; /* Ajusta la altura del botón */
    width: 30px; /* Ajusta el ancho del botón según lo necesario */
    padding: 10px; /* Aumenta el espacio interno */
    color: white; /* Cambia el color del texto si es necesario */
    border: none; /* Quita el borde si no lo quieres */
    text-align: center; /* Centra el texto o contenido dentro del botón */
    font-size: 14px; /* Ajusta el tamaño del texto */
    line-height: 1.2; /* Ajusta la altura de línea para centrar texto */
}

/*********************************** MODAL INSTALL *****************************************/
.install-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #0078d7;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 10px;
    align-items: center;
}
.install-banner button {
    background-color: white;
    color: #0078d7;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}
.install-banner button:hover {
    background-color: #e0e0e0;
}

.scanner-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: red;
    z-index: 10;
    animation: scanLine 2s infinite ease-in-out;
}

@keyframes scanLine {
    0% {
        top: 10%;
    }

    50% {
        top: 90%;
    }

    100% {
        top: 10%;
    }
}
