
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

header {
    background-color: black;
    color: white;
    padding: 10px;
}

.logo-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    position: relative;
    overflow: hidden;
}



.logo-image {
    width: 100px;
    height: auto;
    animation: flipAnimation 10s infinite;
    animation-delay: 10s;
}


.navigation {
    background: linear-gradient(45deg, #ffd700, #ffecb3);
    padding: 0px;
    box-shadow: 0px 2px 10px rgba(255, 215, 0, 0.5);
    animation: colorTransition 8s infinite alternate;

    position: relative;
    top: 10px;
}

@keyframes colorTransition {
    0% {
        background: linear-gradient(45deg, #ffd700, #ffecb3);
    }

    20% {
        background: linear-gradient(45deg, #ffd700, #ffe49a);
    }

    40% {
        background: linear-gradient(45deg, #ffd700, #ffecb3);
    }

    60% {
        background: linear-gradient(45deg, #ffd700, #ffe49a);
    }

    80% {
        background: linear-gradient(45deg, #ffd700, #ffecb3);
    }

    100% {
        background: linear-gradient(45deg, #ffd700, #ffecb3);
    }
}
    

#login-message {
    display: none;
    background-color: #4caf50;
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: bold;
}

.product-info {
    flex: 1;
}

.product-container {
    max-height: 600px;
    overflow-y: auto;
}

.product img {
    max-width: 100%;
    height: auto;
    cursor: pointer;
}

.product-details {
    margin-top: 10px;
}

.product h3 {
    font-size: 14px;
    margin-bottom: 5px;
}

.product p {
    font-size: 14px;
}

.product .precio {
    font-size: 16px;
    font-weight: bold;
    color: #e74c3c;
    margin-top: 10px;
}

.precio::before {
    content: "$";
}

.precio ins {
    text-decoration: none;
    color: #e74c3c;
    font-weight: bold;
}

.btn-comprar {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0074E1;
    color: #ffffff;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.container {
    background-color: #f0f0f0;
    border: 1px solid #000;
    border-radius: 5px;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    width: 300px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 40px;
}


h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 10px;
}


.input-container label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.input-container input[type="text"] {
    width: 70%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.generate-button {
    background-color: #007bff;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    margin-top: 10px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3); 
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s; 
}

    .generate-button:hover {
        background-color: #0056b3;
        transform: translateY(-2px);
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3); 
    }

#garantias-dia-container {
    background-color: #f0f0f0;
    border: 1px solid #000;
    border-radius: 5px;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    width: 300px;
    margin: 0 auto;
    text-align: center;
    margin-top: 20px;
}

    #garantias-dia-container h2 {
        color: #333;
        font-size: 24px;
        margin-bottom: 10px;
    }

    #garantias-dia-container .input-container {
        margin-bottom: 10px;
    }

        #garantias-dia-container .input-container label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
        }

        #garantias-dia-container .input-container input[type="date"] {
            width: 70%;
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 5px;
            font-size: 16px;
        }

    #garantias-dia-container .buscar-button {
        background-color: #007bff;
        color: #fff;
        padding: 10px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 16px;
        width: 100%;
        margin-top: 10px;
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
        transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    }

        #garantias-dia-container .buscar-button:hover {
            background-color: #0056b3;
            transform: translateY(-2px);
            box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
        }

#garantias-dia-result {
    margin-top: 20px;
}

    #garantias-dia-result h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

#garantias-dia-list {
    list-style: none;
    padding: 0;
}

    #garantias-dia-list li {
        font-size: 16px;
        margin-bottom: 5px;
    }


#garantia-result {
    margin-top: 20px;
    display: none;
}

    #garantia-result h3 {
        font-size: 20px;
        color: #333;
        margin-bottom: 10px;
    }

    #garantia-result p {
        font-size: 16px;
    }

.product-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    max-height: 600px;
    max-width: 600px;
    overflow-y: auto;
}

.product-list-container-in-popup {
    display: block;
}

.product-item-in-popup {
    border: 1px solid #ccc;
    padding: 10px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.popup-image-in-popup {
    max-width: 60%;
    cursor: pointer;
}

    .popup-image-in-popup:hover {
        max-width: 100%;
    }

.product-info-in-popup {
    flex: 1;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
}

.popup-price-in-popup {
    color: red;
    font-weight: bold;
    margin-top: 10px;
}

.popup-close {
    display: block;
    margin-top: 20px;
    text-align: center;
    cursor: pointer;
    color: blue;
    font-weight: bold;
}
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden;
}

.lightbox-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    min-width: 100%;
    min-height: 100%;
}

.popup-image {
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin: 0 auto;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}
.product-image-cell {
    text-align: center; 
}

    .product-image-cell img {
        max-width: 100%; 
        height: auto; 
    }
#mes-anio-container {
    background-color: #f0f0f0;
    border: 1px solid #000;
    border-radius: 5px;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    width: 300px;
    margin: 0 auto;
    text-align: center;
    margin-top: 20px;
}

    #mes-anio-container h2 {
        color: #333;
        font-size: 24px;
        margin-bottom: 10px;
    }

    #mes-anio-container .input-container {
        margin-bottom: 10px;
    }

        #mes-anio-container .input-container label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
        }

        #mes-anio-container .input-container input[type="month"] {
            width: 70%;
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 5px;
            font-size: 16px;
        }

    #mes-anio-container .buscar-button {
        background-color: #007bff;
        color: #fff;
        padding: 10px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 16px;
        width: 100%;
        margin-top: 10px;
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
        transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    }

        #mes-anio-container .buscar-button:hover {
            background-color: #0056b3;
            transform: translateY(-2px);
            box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
        }

#anio-container {
    background-color: #f0f0f0;
    border: 1px solid #000;
    border-radius: 5px;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    width: 300px;
    margin: 0 auto;
    text-align: center;
    margin-top: 20px;
}

    #anio-container h2 {
        color: #333;
        font-size: 24px;
        margin-bottom: 10px;
    }

    #anio-container .input-container {
        margin-bottom: 10px;
    }

        #anio-container .input-container label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
        }

        #anio-container .input-container input[type="number"] {
            width: 70%;
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 5px;
            font-size: 16px;
        }

    #anio-container .buscar-button {
        background-color: #007bff;
        color: #fff;
        padding: 10px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 16px;
        width: 100%;
        margin-top: 10px;
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
        transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    }

        #anio-container .buscar-button:hover {
            background-color: #0056b3;
            transform: translateY(-2px);
            box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
        }
#grafico-container {
    background-color: #f0f0f0;
    border: 1px solid #000;
    border-radius: 5px;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    width: 800px; /* Modifica el ancho según tus necesidades */
    margin: 0 auto;
    text-align: center;
    margin-top: 20px;
    display: none; /* Ocultar el contenedor por defecto */
}