.chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: 'Poppins', sans-serif;
}

.chatbot-button {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.chatbot-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 165, 0, 0.4);
}

.chatbot-icon {
    width: 90px;
    height: 90px;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.1));
}

.chatbot-box {
    position: absolute;
    bottom: 85px;
    right: 0;
    width: 360px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: none;
    flex-direction: column;
    transition: all 0.3s ease;
    max-height: 550px;
}

.chatbot-box.active {
    display: flex;
    animation: scaleIn 0.3s ease;
}

.chatbot-header {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    padding: 15px;
    text-align: center;
    color: #000;
    font-weight: 600;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-close {
    cursor: pointer;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.chatbot-close:hover {
    transform: scale(1.2);
}

.chatbot-body {
    padding: 20px;
    height: 350px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.message {
    margin-bottom: 15px;
    max-width: 85%;
    padding: 10px 15px;
    border-radius: 15px;
    position: relative;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.bot-message {
    background-color: #f1f1f1;
    color: #333;
    align-self: flex-start;
    border-bottom-left-radius: 5px;
    animation: slideInLeft 0.4s ease;
    transform-origin: left bottom;
}

.user-message {
    background-color: #FFD700;
    color: #000;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
    animation: slideInRight 0.4s ease;
    transform-origin: right bottom;
}

.options-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.option-button {
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 8px 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.option-button:hover {
    background-color: #FFD700;
    border-color: #FFD700;
    color: #000;
}

.action-button {
    padding: 10px 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    margin-top: 10px;
    display: inline-block;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.action-button:hover {
    background-color: #45a049;
}

.return-button {
    margin-top: 15px;
    color: #666;
    background: none;
    border: none;
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
}

.return-button:hover {
    color: #FFD700;
}

.chatbot-footer {
    padding: 10px 15px;
    background-color: #f9f9f9;
    text-align: center;
    border-top: 1px solid #eee;
    font-size: 12px;
    color: #777;
}

/* Animação do botão pulsante */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Animação de digitando */
.typing {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    background-color: #f1f1f1;
    padding: 12px 15px;
    border-radius: 15px;
    border-bottom-left-radius: 5px;
    align-self: flex-start;
    max-width: 85%;
    position: relative;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background-color: #777;
    border-radius: 50%;
    margin: 0 3px;
    animation: typing-dot 1.4s infinite;
    opacity: 0.7;
}

.typing-dot:nth-child(1) {
    animation-delay: 0s;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing-dot {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-5px); }
}

/* Animações adicionais */
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Efeito de entrada do chat */
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

/* Responsividade atualizada */
@media (max-width: 480px) {
    .chatbot-box {
        width: 90vw;
        right: 5vw;
        max-height: 75vh;
    }
    
    .chatbot-body {
        height: 55vh;
    }
} 