/* /assets/css/style.css */

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #e5ddd5;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23bbb6ae' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    height: 100vh; margin: 0; padding: 0;
}
.chat-container { max-width: 500px; margin: 0 auto; background-color: #f0f2f5; height: 100vh; display: flex; flex-direction: column; }
.chat-header { background-color: #075E54; color: white; padding: 10px 16px; display: flex; align-items: center; position: sticky; top: 0; z-index: 10; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; background-color: #e5ddd5; }
.message { max-width: 80%; padding: 8px 12px; border-radius: 8px; margin-bottom: 8px; position: relative; word-wrap: break-word; animation: fadeIn 0.5s; }
.message.received { background-color: white; align-self: flex-start; border-top-left-radius: 0; }
.message-time { font-size: 0.7rem; color: #8696a0; text-align: right; margin-top: 2px; }
.typing-indicator { display: flex; padding: 12px 16px; background-color: white; border-radius: 8px; border-top-left-radius: 0; max-width: 80px; margin-bottom: 8px; }
.typing-dot { width: 8px; height: 8px; background-color: #8696a0; border-radius: 50%; margin: 0 2px; animation: typingAnimation 1.5s infinite ease-in-out; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
/* CÓDIGO NOVO E CORRIGIDO */
.category-button {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 20px;
    padding: 8px 16px;
    margin-bottom: 10px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: #075E54;
    font-weight: 500;
    /* LINHAS ADICIONADAS ABAIXO */
    max-width: 80%;
    box-sizing: border-box; /* Garante que o padding não afete a largura total */
}

.category-button:hover { background-color: #f5f5f5; transform: translateY(-2px); }
.category-button img { width: 40px; height: 40px; margin-right: 12px; border-radius: 50%; object-fit: cover; }
.whatsapp-button { background-color: #25D366; color: white; border-radius: 24px; padding: 12px 24px; display: flex; align-items: center; justify-content: center; font-weight: 600; margin: 16px auto; text-decoration: none; box-shadow: 0 2px 8px rgba(0,0,0,0.2); transition: all 0.2s; max-width: 200px; }
.whatsapp-button:hover { background-color: #128C7E; transform: translateY(-2px); }
.logo-container { display: flex; flex-direction: column; align-items: center; margin: 20px 0; }
.logo-container img { width: 180px; margin-bottom: 8px; }
.logo-container p { color: #075E54; font-size: 14px; font-weight: 500; }
.profile-photo { width: 40px; height: 40px; border-radius: 50%; margin-right: 12px; overflow: hidden; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
@keyframes typingAnimation { 0% { transform: translateY(0); } 50% { transform: translateY(-5px); } 100% { transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.categories-container { margin-top: 16px; }
.after-selection { text-align: center; margin-top: 20px; }