body {
    font-family: Arial, sans-serif;
    background-color: #f0f2f5;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.hidden {
    display: none !important;
}

#initial-selection {
    text-align: center;
    padding: 40px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#initial-selection h2 {
    margin-bottom: 30px;
    color: #333;
}

#initial-selection button {
    display: block;
    width: 100%;
    padding: 15px 20px;
    margin: 10px 0;
    font-size: 1.1rem;
    border: 1px solid #007bff;
    background-color: #007bff;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

#initial-selection button:hover {
    background-color: #0056b3;
}

#initial-selection #button-menu-btn {
    background-color: transparent;
    color: #007bff;
}

#initial-selection #button-menu-btn:hover {
    background-color: #f0f2f5;
}

#chat-container {
    width: 100%;
    max-width: 600px;
    height: 100%;
    max-height: 800px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#chat-header {
    background-color: #007bff;
    color: white;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#chat-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

#chat-header span {
    font-size: 0.9rem;
}

#chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 18px;
    line-height: 1.5;
}

.user-message {
    background-color: #007bff;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.bot-message {
    background-color: #e9e9eb;
    color: #333;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.bot-message p {
    margin: 5px 0;
}

.bot-message ul {
    margin: 10px 0 5px;
    padding-left: 20px;
}


.bot-message li {
    margin-bottom: 5px;
}

/* Estilos dos Botões de Opção */
.options-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.option-btn {
    background-color: #fff;
    border: 1px solid #007bff;
    color: #007bff;
    padding: 12px 15px;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    transition: background-color 0.3s, color 0.3s;
    width: 100%;
}

.option-btn:hover {
    background-color: #007bff;
    color: #fff;
}

.go-back-btn {
    margin-top: 15px;
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
}

.go-back-btn:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

/* Estilos dos Cards de Turismo */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.tourist-card {
    display: block;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: #333;
    width: 100%;
    max-width: 250px;
    transition: box-shadow 0.3s, transform 0.3s;
    display: flex;
    flex-direction: column;
}

.tourist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.tourist-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.card-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h4 {
    margin: 0 0 10px 0;
    font-size: 1rem;
}

.card-content p {
    margin: 0;
    font-size: 0.85rem;
    flex-grow: 1;
}


#chat-input-container {
    border-top: 1px solid #ddd;
    padding: 15px;
    background-color: #f7f7f7;
}

#chat-form {
    display: flex;
    gap: 10px;
}

#user-input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 18px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

#user-input:focus {
    outline: none;
    border-color: #007bff;
}

#chat-form button {
    padding: 12px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 18px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

#chat-form button:hover {
    background-color: #0056b3;
}

/* Responsividade */
@media (max-width: 700px) {
    body {
        align-items: flex-start;
    }
    #chat-container {
        max-height: 100vh;
        border-radius: 0;
        box-shadow: none;
    }
    #chat-header, #chat-input-container {
        padding: 15px;
    }
    #chat-messages {
        padding: 15px;
    }
}
