body {
    font-family: Arial, sans-serif;
    background-color: #dadbd3; /* Cor de fundo do WhatsApp */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.chat-container {
    width: 100%;
    max-width: 450px;
    height: 90vh;
    background-color: #f0f0f0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
}

.chat-header {
    background-color: #075e54; /* Cor do cabeçalho do WhatsApp */
    color: white;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-title {
    font-size: 1.2em;
    font-weight: bold;
}

.chat-box {
    flex-grow: 1;
    padding: 10px;
    overflow-y: auto;
    background-image: url('https://user-images.githubusercontent.com/15075759/28719142-86fa9200-73e7-11e7-9aa4-c7f978914f10.png'); /* Padrão de fundo do WhatsApp */
    background-repeat: repeat;
    display: flex;
    flex-direction: column;
}

.message {
    max-width: 80%;
    padding: 8px 12px;
    border-radius: 7px;
    margin-bottom: 8px;
    position: relative;
    word-wrap: break-word;
    font-size: 0.9em;
}

.bot-message {
    background-color: #ffffff; /* Balão de mensagem do bot (branco) */
    align-self: flex-start;
    border-bottom-left-radius: 0;
    box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13);
}

.user-message {
    background-color: #dcf8c6; /* Balão de mensagem do usuário (verde claro) */
    align-self: flex-end;
    border-bottom-right-radius: 0;
    box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13);
}

.message-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copy-button {
    margin-left: 10px;
    background: none;
    border: none;
    color: #075e54;
    cursor: pointer;
    font-size: 1em;
    padding: 0;
    outline: none;
}

.copy-button:hover {
    color: #128c7e;
}

.chat-footer {
    display: flex;
    padding: 10px;
    background-color: #f0f0f0;
    border-top: 1px solid #e0e0e0;
}

#message-input {
    flex-grow: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 20px;
    margin-right: 10px;
    font-size: 1em;
    outline: none;
    box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13);
}

#send-button {
    background-color: #128c7e; /* Cor do botão de envio do WhatsApp */
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    outline: none;
    transition: background-color 0.2s;
}

#send-button:hover {
    background-color: #075e54;
}

/* Estilo para a imagem de título (se for usada) */
.header-image {
    max-height: 40px;
    width: auto;
}
