/* Chatbot Styles */
#cegas-chatbot {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: 'Inter', sans-serif;
}

.bot-launcher {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid rgba(255, 255, 255, 0.8);
}

.bot-launcher:hover {
    transform: scale(1.1) rotate(5deg);
}

.bot-launcher i {
    color: white;
    font-size: 28px;
}

.bot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 30px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform-origin: bottom right;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8) translateY(20px);
}

.bot-window.active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1) translateY(0);
}

.bot-header {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    padding: 25px;
    color: white;
}

.bot-header h3 {
    font-weight: 800;
    font-size: 1.2rem;
    margin: 0;
}

.bot-header p {
    font-size: 0.8rem;
    margin-top: 5px;
    opacity: 0.9;
}

.bot-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bot-msg {
    max-width: 85%;
    padding: 12px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    line-height: 1.5;
    animation: slideUp 0.3s ease-out;
}

.bot-msg.bot {
    background: white;
    color: #1e293b;
    align-self: flex-start;
    border-bottom-left-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.bot-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.opt-btn {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
    padding: 12px 15px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s;
}

.opt-btn:hover {
    background: #2563eb;
    color: white;
    transform: translateX(5px);
}

.bot-footer {
    padding: 15px;
    background: white;
    border-top: 1px solid #f1f5f9;
}

.wa-btn {
    display: flex;
    align-items: center;
    background: #22c55e;
    color: white;
    padding: 10px 15px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    justify-content: center;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.animate-fade-in {
    animation: fadeIn 0.3s ease-out;
}