body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f4f4f4;
}
.chat-container {
    width: 400px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.chat-content {
    height: 300px;
    overflow-y: auto;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}
.message {
    padding: 8px;
    border-radius: 5px;
    margin-bottom: 10px;
    max-width: 80%;
}
.user-message {
    background: #007bff;
    color: white;
    align-self: flex-end;
}
.bot-message {
    background: #e0e0e0;
    color: black;
    align-self: flex-start;
}
.input-container {
    display: flex;
    padding: 10px;
}
input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
button {
    margin-left: 10px;
    padding: 10px;
    border: none;
    background: #007bff;
    color: white;
    cursor: pointer;
    border-radius: 5px;
}
.message {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 5px;
    max-width: 80%;
}

.user-message {
    background-color: #007bff;
    align-self: flex-end;
}

.bot-message {
    background-color: #f2f2f2;
    align-self: flex-start;
}

#chat-content {
    display: flex;
    flex-direction: column;
    padding: 10px;
    height: 400px;
    overflow-y: auto;
}


/* Responsividade para telas pequenas */
@media (max-width: 700px) {
    body {
        
        margin: 0;
    }

    .chat-container {
        width: 100%;
        height: 100%;
        max-width: 100%;
        margin: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .chat-content {
        overflow-y: auto;
        padding: 10px;
        border-bottom: 1px solid #ddd;
    }

    .input-container {
        display: flex;
        padding: 20px;
        height: 10%; 
    }
    
    #user-input {
        height: 35px;
    }

    button {
        margin-left: 10px;
        height: 55px;
        border: none;
        background: #007bff;
        color: white;
        cursor: pointer;
        border-radius: 5px;
        font-size: 14px;
    }
}
