* {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: white;
}

button {
    min-width: 123px;
    cursor: pointer;
}

/*Contenedor del navegador*/
.navegador a:hover {
    cursor: pointer;
}

.navegador img {
    width: 80%;
    padding: 12px 20px 12px 20px;
    align-self: flex-start;
}

.navegador {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #071F34;
}

.navegador a {
    display: flex;
    /* Esto asegura que el contenido del <a> (el logo) se alinee correctamente */
    align-items: center;
    /* Centra el logo verticalmente */
}

.navegador h2 {
    flex-grow: 1;
    /* Hace que el h2 ocupe todo el espacio disponible */
    text-align: center;
    color: white;
    /* Centra el texto */
    margin-right: 15%;
}

/*Contenedor general*/
.informacion {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.informacion h3 {
    text-align: center;
    padding: 10px;
    margin-top: 2vh;
}

#contacto:hover {
    color: #EF7800;
}

/*Cabecera*/
header {
    margin: 0 10vh 5vh 10vh;
}


header li {
    margin: 10px;
}

/*Cuerpo del encabezado de los botones textarea y boton*/
.interaccion {
    display: flex;
    flex-direction: column;
    margin: 5px 0 5px 0;
}

#botones {
    margin-left: 50px;
    display: flex;
    gap: 10px;
    padding: 10px;
    flex-wrap: wrap;
}

.acciones_enviar {
    width: 100%;
    display: flex;
    align-content: center;
    justify-content: space-around;
    align-items: center;
    flex-wrap: nowrap;
}

.btn {
    padding: 8px;
    border-radius: 16px;
    border: 1px solid;
}

.btn:hover {
    background-color: #ff6900;
}

/*chat bot*/
.chat-bot-titulo {
    background-color: #071F34;
    color: white;
    padding: 10px;
    display: flex;
    align-items: center;
    border-radius: 8px 8px 0 0;
}

.chat-bot-titulo h3 {
    flex: 1 1 90%;
    margin: 0;
    font-size: 16px;
}

#cerrar-chat {
    flex: 0 0 10%;
    background: transparent;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    padding: 5px;
    margin: 0;
    text-align: right;
    user-select: none;
    transition: color 0.2s ease;
}

#chat-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ff6900;
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1100;
    user-select: none;
}

.chat-bot {
    display: none;
    flex-direction: column;
    max-width: 350px;
    min-width: 250px;
    border: #071F34 1px solid;
    max-height: 400px;
    min-height: 400px;
    border-radius: 9px;
    position: fixed;
    background: white;
    bottom: 5vh;
    right: 5vh;
}

.chat-bot-contenido {
    flex: 1;
    height: 100%;
    width: 100%;
}

.chat-bot-contenido p {
    margin: 2px 0 2px 0;
    padding: 2px;
}

.mensaje {
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    color: white;
    border-radius: 5px;
    padding: 1vh;
    margin: 1vh;
    width: 80%;
    border-radius: 8px;
    background-color: #EF7800;
}

.mensaje pre {
    white-space: pre-wrap;
    word-break: break-word;
    overflow-wrap: break-word;
    margin: 0;
}

.opcion-hover {
    color: white;
    cursor: pointer;
}

.opcion-hover:hover {
    color: blue;
    text-decoration: underline;
}

/*contenedor del text area y boton*/
.chat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.chat button {
    padding: 8px;
    border-radius: 16px;
    border: 1px solid;
}

.chat button:hover {
    background-color: #ff6900;
}

#mensaje {
    box-sizing: border-box;
    width: 90%;
    height: 150px;
    margin: 5vh auto 5vh auto;
    padding: 20px;
}

#enviar {
    margin: 10px 0 10px 0;
}

/*contenedor de la tabla de los resultados*/
.impresion {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.impresion button {
    margin-bottom: 5vh;
    padding: 8px;
    border-radius: 16px;
    border: 1px solid;
    margin-right: 5vh;
}

.impresion button:hover {
    background-color: #EF7800;
}

/*Tabla de los resultados*/

table {
    width: 95%;
    border: 1px solid black;
    border-collapse: collapse;
    box-sizing: content-box;
    justify-self: center;
    padding: 5vh;
}

th {
    font-family: serif;
    border: 2px solid;
    height: 40px;
    padding: 5px;
    box-sizing: content-box;
}

td {
    border: 1px solid black;
    padding: 8px;
    text-align: center;
    /* Centra el contenido horizontalmente */
}

td * {
    font-family: monospace;
}

table td:first-child {
    width: 10%;
    text-align: center;
    white-space: nowrap;
    /*Importante no quitar, sino el checkbox se agranda exesivamente*/
}

td>div {
    display: flex;
    justify-content: center;
    align-items: center;
}

table td input[type="checkbox"] {
    margin: 0;
    width: 20px;
    /* Tamaño adecuado del checkbox */
    height: 20px;
}

/* Responsividad: para pantallas pequeñas */
@media (max-width: 768px) {
    .table {
        width: 100%;
        font-size: 12px;
        /* Reducir tamaño de fuente en pantallas pequeñas */
    }
}