﻿/* Contenedor principal */
.product-container {
    font-family: 'HelveticaNew', Arial, sans-serif;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

/* Contenido principal */
.product-content {
    margin: 20px 0;    
    justify-content:center;
}

    .product-content h1 {
        font-size: 2rem;
        font-family: 'ITCAvantGardePro-Bold', Arial, sans-serif;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .product-content p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 20px;
        color: #333;
    }

/* Botón escanear */
.btn-scan {
    background-color: #000;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 20px;
    width: 20%;
}

    .btn-scan:hover {
        background-color: #333;
    }

/* Input código de barras */
.form-2-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
    margin: 15px 0;
}

/* Botón verificar */
.btn-verify {
    background-color: #000;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
}

    .btn-verify:hover {
        background-color: #333;
    }




/* Oculta el FileUpload */
.file-upload-hidden {
    display: none; /* Oculta el FileUpload */
}

/* Botón estilizado */
.btn-favorite-bl {
    background-color: #000;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    display: inline-block;
    width: 100%;
    
}

    .btn-favorite-bl:hover {
        background-color: #333;
    }

/* Estilo del Label para mostrar el nombre del archivo */
.file-name-label {
    display: block;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #333;
}

/* Estilo del enlace */
.open-modal-link {
    color: #d0a144;
    text-decoration: underline;
    cursor: pointer;
}

    .open-modal-link:hover {
        color: #0056b3;
    }
/* General del modal */
.modal {
    display: none; /* Oculto por defecto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    position: relative;
    margin: 5% auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    max-width: 90%;
    text-align: center;
}

/* Botón cerrar */
.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: #000;
    cursor: pointer;
}

/* Enlaces de la galería */
.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.image-link img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

    .image-link img:hover {
        transform: scale(1.05);
    }

/* General del modal */
.modal-2 {
    display: none; /* Oculto por defecto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow-y: auto;
    align-items: center;
    justify-content: center;
}

/* Contenido del modal */
.modal-2-content {
    position: relative;
    background: #fff;
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Botón cerrar */
.close-modal-2 {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #000;
    cursor: pointer;
}

/* Título del modal */
.modal-2-content h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #000; /* Rojo para el mensaje de error */
}

/* Texto del modal */
.modal-2-content p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 20px;
}

/* Botones del modal */
.modal-2-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

/* Estilo general para las etiquetas span */
.modal-2-content label {
    display: block; /* Se asegura que cada etiqueta ocupe una línea completa */
    text-align: left; /* Alineación a la izquierda */
    font-weight: bold; /* Negrita */
    color: #000; /* Negro */
    margin-bottom: 5px; /* Espaciado con el siguiente elemento */
    font-size: 1rem; /* Tamaño de fuente */
    font-family: 'HelveticaNew', Arial, sans-serif; /* Fuente consistente */
}

.modal-2-button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    width: 48%;
}

/* Estilo para mensajes de error */
.error-message {
    color: red;
    font-size: 0.9rem;
    margin-top: 5px;
    display: block;
    font-family: 'HelveticaNew', Arial, sans-serif;
}


@media (max-width: 768px) {

    .btn-scan, .btn-verify {
        width: 100%;
    }

    .image-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;

    }

    /* Asegúrate de que el contenido del modal se ajuste al ancho de la pantalla */
    .modal-content, .modal-2-content {
        width: 90%;
        padding: 15px;
    }

    /* Botón cerrar más pequeño y accesible */
    .close-modal, .close-modal-2 {
        font-size: 20px;
        top: 5px;
        right: 10px;
    }

    /* Texto del modal centrado */
    .modal-2-content h2 {
        font-size: 1.5rem;
    }

    .modal-2-content p {
        font-size: 0.9rem;
    }

    /* Botones del modal en una columna */
    .modal-2-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .modal-2-button {
        width: 100%; /* Botones ocupan todo el ancho */
    }

    /* Rejilla de imágenes para menos columnas */
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    /* Imágenes en la rejilla */
    .image-link img {
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    /* Contenido del modal */
    .modal-content, .modal-2-content {
        width: 95%; /* Mayor ajuste al ancho de pantalla */
        padding: 10px;
    }

        /* Título más pequeño */
        .modal-2-content h2 {
            font-size: 1.2rem;
            margin-bottom: 10px;
        }

        /* Texto aún más ajustado */
        .modal-2-content p {
            font-size: 0.8rem;
        }

    /* Ajuste de botones */
    .modal-2-buttons {
        flex-direction: column; /* Botones apilados */
        gap: 8px;
    }

    .modal-2-button {
        font-size: 0.9rem;
    }

    /* Rejilla de imágenes con una columna */
    .image-grid {
        grid-template-columns: repeat(1, 1fr); /* Una columna */
        gap: 10px;
        display:flex;
    }
}


/* Contenedor */
.dropdown-custom {
    margin-bottom: 20px;
    font-family: 'HelveticaNew', Arial, sans-serif;
    color: black;
}

.dropdown-container {
    position: relative;
    width: 100%;
    color: black;
}

.dropdown-header {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    color: black;
}

.dropdown-list {
    display: none;
    color:black;
    position: absolute;
    width: 100%;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    list-style: none;
    padding: 0;
    margin: 0;
    max-height:400px;
    overflow-y:auto;
}

.dropdown-search {
    width: 90%;
    padding: 8px;
    margin: 5px auto;
    display: block;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
    color: black;
}

    .dropdown-list li {
        display: flex;
        align-items: center;
        padding: 8px;
        cursor: pointer;
        transition: background 0.3s;
        color: black;
    }

        .dropdown-list li:hover {
            background-color: #f5f5f5;
        }

.dropdown-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 3px;
}

/* Contenedor principal */
.confirmation-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'HelveticaNew', Arial, sans-serif;
    text-align: center;
}

/* Título */
.confirmation-title {
    font-size: 2rem;
    font-weight: bold;
    font-family: 'ITCAvantGardePro-Bold';
    margin-bottom: 10px;
}

.confirmation-description {
    font-size: 1rem;
    color: #333;
    margin-bottom: 20px;
}

/* Tarjeta de confirmación */
.confirmation-card {
    display: flex;
    justify-content: space-between;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background-color: #fff;
    text-align: left;
    margin-bottom: 20px;
}

.confirmation-column {
    flex: 1;
    padding: 10px;
    max-width: 300px; /* Ajusta el máximo ancho según tus necesidades */
    word-wrap: break-word; /* Asegura que las palabras largas se dividan */
    overflow-wrap: break-word; /* Compatibilidad adicional para navegadores modernos */
    overflow: hidden; /* Evita que el contenido desborde */
    text-overflow: ellipsis; /* Muestra puntos suspensivos si el texto es muy largo */
}

    .confirmation-column h3 {
        font-size: 1.2rem;
        font-weight: bold;
        margin-bottom: 10px;
        color: #000;
    }

    .confirmation-column p {
        margin: 5px 0;
        font-size: 1rem;
    }

        .confirmation-column p span {
            font-weight: bold;
            color: #000;
        }

/* Botones */
.confirmation-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.btn-confirmation {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #000;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'ITCAvantGardePro-Bold';
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .btn-confirmation.primary {
        background-color: #000;
        
    }

    .btn-confirmation:hover {
        background-color: #333;
    }


.btn-confirmation-2 {
    padding: 10px 20px;
    border: 2px solid #fff;
    border-radius: 5px;
    background-color: transparent; /* Fondo transparente */
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom:10px;
    font-family: 'ITCAvantGardePro-Bold';
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .btn-confirmation-2.primary {
        background-color: #000;
    }

    .btn-confirmation-2:hover {
        background-color: #fff; /* Fondo blanco en hover */
        color: #000; /* Texto negro en hover */
    }

@media (max-width: 768px) {
    .confirmation-card {
        flex-direction: column;
    }

    .confirmation-column {
        padding: 10px 0;
    }

    .confirmation-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn-confirmation {
        width: 100%;
    }
}

/* Contenedor principal */
.confirmation-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    font-family: 'HelveticaNew', Arial, sans-serif;
}

.confirmation-title {
    font-size: 2rem;
    font-family: 'ITCAvantGardePro-Bold';
    font-weight: bold;
    margin-bottom: 10px;
}

.confirmation-description {
    font-size: 1rem;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Código QR */
.qr-container {
    margin: 20px 0;
}

.qr-image {
    max-width: 300px;
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

    .qr-image:hover {
        transform: scale(1.05);
    }

/* Botón Instrucciones */
.btn-instructions {
    display: inline-block;
    background-color: #000;
    color: #fff;
    font-family: 'ITCAvantGardePro-Bold';
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

    .btn-instructions:hover {
        background-color: #333;
    }


/* Responsive */
@media (max-width: 768px) {
    .qr-image {
        max-width: 200px;
    }

   
}

/* Contenedor principal */
.tracking-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'HelveticaNew', Arial, sans-serif;
    text-align: center;
}

.tracking-title {
    font-size: 2rem;
    font-family: 'ITCAvantGardePro-Bold';
    font-weight: bold;
    margin-bottom: 10px;
}

.tracking-description {
    font-size: 1rem;
    color: #333;
    margin-bottom: 20px;
}

/* Línea de progreso */
.tracking-timeline {
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 20px auto;
    padding-left: 30px;
    max-width: 600px;
}

.timeline-step {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
}

    .timeline-step .dot {
        width: 15px;
        height: 15px;
        background-color: #ccc;
        border-radius: 50%;
        position: absolute;
        left: -30px;
        z-index: 2; /* Para que el punto quede por encima de la línea */
    }

    .timeline-step.active .dot {
        background-color: #d0a144; /* Color dorado para el paso activo */
    }

    .timeline-step p {
        margin: 0;
        color: #ccc;
    }

    .timeline-step.active p {
        color: #333;
        font-weight: bold;
    }

    /* Línea discontinua */
    /*.timeline-step::after {
        content: "";
        position: absolute;
        top: 15px;*/ /* Ajuste para conectar con el punto */
        /*left: -23px;
        width: 2px;
        height: calc(100% - 15px);*/ /* Altura de la línea */
        /*background: linear-gradient(to bottom, #ccc 50%, transparent 50%);
        background-size: 4px 8px;*/ /* Define el patrón de línea discontinua */
        /*z-index: 1;
    }*/

    .timeline-step:last-child::after {
        display: none; /* Oculta la línea en el último paso */
    }


/* Estado final */
.tracking-status {
    margin-top: 20px;
    font-size: 1rem;
    color: #333;
}

.warning-icon {
    color: #d0a144;
    font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .tracking-timeline {
        padding-left: 20px;
    }

    .timeline-step .dot {
        width: 12px;
        height: 12px;
        left: -20px;
    }

    
}

/* Contenedor principal */
.instructions-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'HelveticaNew', Arial, sans-serif;
    text-align: left;
}

    /* Título */
    .instructions-container h1 {
        text-align: center;
        font-size: 2rem;
        font-weight: bold;
        margin-bottom: 10px;
    }

    /* Texto introductorio */
    .instructions-container p {
        text-align: center;
        margin-bottom: 30px;
        font-size: 1rem;
        color: #333;
    }

/* Cada paso */
.step {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.step-text {
    flex: 1;
    padding-right: 20px;
}

    .step-text strong {
        font-size: 1.2rem;
        display: block;
        margin-bottom: 5px;
    }

    .step-text p {
        font-size: 1rem;
        line-height: 1.5;
        color: #333;
    }

.step-image {
    flex: 0 0 150px;
    text-align: center;
}

    .step-image img {
        max-width: 100%;
        height: auto;
        border-radius: 5px;
    }

/* Responsividad */
@media (max-width: 768px) {
    .step {
        flex-direction: column;
        text-align: center;
    }

    .step-text {
        padding-right: 0;
        margin-bottom: 10px;
    }

    .step-image {
        margin-top: 10px;
    }
}
