#chat-container {
    width: 700px;
    max-height: 500px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 3px 9px 6px #6957c3;
    margin-bottom: 15px;
}

#messages {
    /* flex: 1; */
    display: flex;
    flex-direction: column;
    padding: 10px;
    overflow-y: auto;
    border-bottom: 1px solid #ccc;
    border-radius: 10px;
}

.message {
    margin: 5px 0;
    padding: 10px;
    border-radius: 15px;
    max-width: 70%;
    white-space: pre-wrap;
}

.user {
    background: #eb008b;
    color: white;
    margin-left: auto;
    text-align: right;
}

.bot {
    background: #f1f1f1;
    color: #333;
    word-wrap: break-word;
    margin-right: auto;
    text-align: left;
}

#input-container {
    display: flex;
    padding: 10px;
}

#input-container input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#input-container button {
    margin-left: 7px;
    padding: 10px 20px;
    background: #1e1250;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#input-container button:hover {
    background: #0056b3;
}

pre {
    background: #f1f1f1;
    padding: 10px;
    border-radius: 5px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.boarding-pass {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    border: 1px solid black;
    padding: 10px;
    font-size: 10px;
}

.from-to-flight{
    display: flex;
    justify-content: space-around;
    margin-top: 0.5rem;
}


/* Para pantallas medianas (tablets) */
@media (max-width: 768px) {
    #chat-container {
        width: 450px; /* Usa un porcentaje para que se ajuste al ancho de la pantalla */
        max-height: 400px; /* Reduce la altura */
        box-shadow: 0 2px 6px 4px #6957c3; /* Ajusta la sombra */
    }
}

/* Para pantallas pequeñas (móviles) */
@media (max-width: 480px) {
    #chat-container {
        width: 330px; /* Más ancho en móviles */
        max-height: 300px; /* Menor altura */
        border-radius: 8px; /* Reduce el radio de las esquinas */
        box-shadow: 0 1px 4px 2px #6957c3; /* Más ligera en móviles */
        margin-bottom: 10px; /* Reduce el margen inferior */
    }
}