/* Chat Widget Styles */
#chat-widget-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    font-family: 'Poppins', sans-serif;
}

#chat-bubble {
    width: 60px;
    height: 60px;
    background-color: #ffbd39;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

#chat-bubble:hover {
    transform: scale(1.1);
}

#chat-bubble svg {
    fill: #000;
    width: 30px;
    height: 30px;
}

#chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

#chat-header {
    background: #ffbd39;
    padding: 15px;
    color: #000;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#chat-close {
    cursor: pointer;
    font-size: 20px;
}

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

.message {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.4;
    white-space: pre-wrap;
}

.user-message {
    align-self: flex-end;
    background: #ffbd39;
    color: #000;
    border-bottom-right-radius: 2px;
}

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

#chat-input-container {
    padding: 10px 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 8px;
    align-items: center;
}

#chat-input {
    flex: 1;
    border: 1px solid #ddd;
    padding: 10px 12px;
    border-radius: 20px;
    outline: none;
    font-size: 14px;
    min-width: 0;
}

#chat-send {
    background: #ffbd39;
    border: none;
    padding: 10px 18px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    flex-shrink: 0;
}

.typing-indicator {
    font-style: italic;
    font-size: 12px;
    color: #888;
    margin-bottom: 5px;
    display: none;
}

@media (max-width: 480px) {
    #chat-window {
        width: 90vw;
        height: 70vh;
        right: -10px;
    }
}