/* 🔹 Diseño general */
/* body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    text-align: center;
    margin: 0;
    padding: 0;
    width: 100vw;
    overflow-x: hidden;
} */

/* 🔹 Encabezado */
.titulo {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #0073e6;
    color: white;
    padding: 20px;
}

.titulo h1 {
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    font-size: 36px;
}

.titulo p {
    font-family: Arial, sans-serif;
    text-align: center;
    margin-top: 5px;
    font-size: 18px;
}

/* 🔹 Contenedor principal */
.contenedor {
    font-family: Arial, sans-serif;
    text-align: center;
    display: flex;
    flex-wrap: nowrap; /* 🔹 Evita que los elementos se apilen en pantallas grandes */
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

/* 🔹 Sección izquierda (Formulario) */
.left {
    font-family: Arial, sans-serif;
    width: 50%;
    padding: 20px;
    box-sizing: border-box;
    border: 2px solid #0073e6;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 115, 230, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 🔹 Sección derecha (Imagen) */
.right {
    font-family: Arial, sans-serif;
    text-align: center;
    width: 50%;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 🔹 Contenedor de la imagen */
.image-contenedor {
    width: 100%;
}

/* 🔹 Imagen */
.boleta-img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
}

/* 🔹 Asegurar mismo tamaño en ambas secciones */
.left, .right {
    min-height: 450px;
}

/* 🔹 Estilos del formulario */
form {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
}

/* 🔹 Filas del formulario */
.form-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    margin-top: 10px;
}

/* 🔹 Labels alineados a la izquierda */
label {
    text-align: left;
    font-weight: bold;
    width: 40%;
}

/* 🔹 Inputs y selects alineados a la derecha */
input, select {
    width: 58%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

/* 🔹 Estilos para "Serie" y "Número" */
.serie-numero-contenedor {
    display: flex;
    width: 80%;
    justify-content: space-between;
}

.serie-numero-contenedor .form-group {
    width: 48%;
}

/* 🔹 Botones alineados en una fila */
.button-group {
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin-top: 20px;
}

/* 🔹 Botón Buscar */
.buscar-btn {
    background-color: #0073e6;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
    padding: 12px;
    font-size: 18px;
    width: 48%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: bold;
}

.buscar-btn:hover {
    background-color: #005bb5;
}

/* 🔹 Botón Limpiar */
.limpiar-btn {
    background-color: #ccc;
    color: black;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
    padding: 12px;
    font-size: 18px;
    width: 48%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: bold;
}

.limpiar-btn:hover {
    background-color: #bbb;
}

/* 🔹 🔥 Estilos responsive 🔥 */
/* 🔹 Estilos responsive (para celulares) */
/* 🔹 Estilos responsive (para celulares) */
@media screen and (max-width: 768px) {
    .contenedor {
        font-family: Arial, sans-serif;
        flex-direction: column;
        text-align: center;
        padding: 10px;
        width: 100%;
        max-width: 100%;
    }

    .left, .right {
        width: 100%;
        padding: 10px;
    }

    .boleta-img {
        max-width: 100%;
    }

    /* 🔹 Asegurar que los labels y inputs estén alineados correctamente en móviles */
    .form-group {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    label {
        width: 100%;
        text-align: left;
    }

    /* 🔹 Limitar el ancho de los campos de entrada para que no se desborden */
    input, select {
        width: 100%;
        max-width: 350px; /* 🔹 Limita el ancho en móviles */
        box-sizing: border-box; /* 🔹 Evita que se desborde con padding */
    }

    /* 🔹 "Serie" y "Número" en móviles */
    .serie-numero-contenedor {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .serie-numero-contenedor .form-group {
        width: 100%;
    }

    /* 🔹 Botones en columna en móviles */
    .button-group {
        flex-direction: column;
        width: 100%;
    }

    .buscar-btn, .limpiar-btn {
        width: 100%;
        margin-top: 10px;
        max-width: 350px; /* 🔹 Limita el ancho de los botones en móviles */
    }
}


/* 🔹 Animación de carga (círculo girando) */
.loader {
    display: none; /* 🔹 Oculto por defecto */
    border: 5px solid #f3f3f3;
    border-top: 5px solid #0073e6; /* 🔹 Color principal */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

/* 🔹 Keyframes para girar el círculo */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Estilos para la nueva sección de información */
.info-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    text-align: justify;
}

.info-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #0073e6;
}

.info-header h2 {
    color: #0073e6;
    font-size: 28px;
}

.info-content {
    padding: 0 15px;
}

.info-item {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item h3 {
    color: #0e0d0d;
    font-size: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.info-item h3 i {
    margin-right: 10px;
    color: #0073e6;
}

.info-item p, .info-item ul {
    color: #050505;
    line-height: 1.6;
    font-size: 16px;
}

.info-item ul {
    padding-left: 20px;
}

.info-item ul li {
    margin-bottom: 8px;
}

/* Estilos para los estados */
.status {
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 3px;
}

.status.accepted {
    color: #2e7d32;
}

.status.observed {
    color: #ff8f00;
}

.status.rejected {
    color: #c62828;
}

/* Estilos responsive para la sección de información */
@media screen and (max-width: 768px) {
    .info-container {
        padding: 15px;
        margin: 20px 10px;
    }
    
    .info-header h2 {
        font-size: 24px;
    }
    
    .info-item h3 {
        font-size: 18px;
    }
    
    .info-item p, .info-item ul {
        font-size: 15px;
    }
}