/* lion_bot.css */
#lion-bot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

#lion-mascot {
    width: 80px;
    height: 80px;
    background-image: url('../img/lion_bot.png');
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    cursor: pointer;
    animation: bounceBot 2s infinite ease-in-out;
    border: 3px solid #fcbf01;
    transition: transform 0.3s;
}

#lion-mascot:hover {
    transform: scale(1.1);
}

@keyframes bounceBot {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

#lion-chat-window {
    width: 300px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    overflow: hidden;
    margin-bottom: 15px;
    display: none;
    transform-origin: bottom right;
    animation: popInBot 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popInBot {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.lion-chat-header {
    background: #f55f10;
    color: white;
    padding: 12px 15px;
    font-family: 'Baloo 2', cursive, sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lion-chat-close {
    cursor: pointer;
    font-weight: bold;
    font-size: 1.2rem;
}

.lion-chat-body {
    padding: 15px;
    height: 250px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
}

.chat-msg {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 14px;
    line-height: 1.4;
}

.msg-bot {
    background: #f0f8ff;
    border: 1px solid #cce5ff;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

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

.lion-chat-options {
    padding: 10px 15px 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #fafafa;
    border-top: 1px solid #eee;
}

.lion-btn-opt {
    background: white;
    border: 1px solid #fcbf01;
    color: #f55f10;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.lion-btn-opt:hover {
    background: #fcbf01;
    color: white;
}

/* Mobile Adjustments for Lion Bot */
@media (max-width: 768px) {
    #lion-bot-container {
        right: 15px;
        bottom: 15px;
    }
    
    #lion-mascot {
        width: 65px;
        height: 65px;
        border-width: 2px;
    }
    
    #lion-chat-window {
        width: 290px;
        margin-right: 0px;
    }
}
