#df-chatbot-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #0073aa;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    cursor: pointer;
    z-index: 9999;
}

#df-chatbot-window {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 350px;
    height: 500px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 10px;
    display: none; /* Initially hidden */
    flex-direction: column;
    z-index: 9999;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

#df-chatbot-window.active {
    display: flex; /* Shown when active */
}

#df-chatbot-header {
    background-color: #0073aa;
    color: #fff;
    padding: 10px;
    font-weight: bold;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#df-chatbot-messages {
    flex-grow: 1;
    padding: 10px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message {
    padding: 8px 12px;
    border-radius: 18px;
    max-width: 80%;
    word-wrap: break-word;
    font-size: 0.8em; /* Even Smaller font size */
}

.user-message {
    background-color: #0073aa;
    color: #fff;
    align-self: flex-end;
}

.bot-message {
    background-color: #fff;
    color: #000;
    align-self: flex-start;
    border: 1px solid #ddd;
}

#df-chatbot-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ccc;
    background-color: #fff;
}

#df-chatbot-input-field {
    flex-grow: 1;
    border: 1px solid #ccc;
    padding: 8px;
    border-radius: 20px;
    margin-right: 10px;
}

#df-chatbot-send-button {
    background-color: #0073aa;
    border: none;
    padding: 0;
    cursor: pointer;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white" width="24px" height="24px"><path d="M2.01 21L23 12 2.01 3 2 10l15 2-15 2z"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
}

.thinking-animation {
    display: inline-block;
}

.thinking-animation::after {
    content: '.';
    animation: dots 1.5s steps(5, end) infinite;
}

@keyframes dots {
    0%, 20% {
        color: rgba(0,0,0,0);
        text-shadow:
            .25em 0 0 rgba(0,0,0,0),
            .5em 0 0 rgba(0,0,0,0);
    }
    40% {
        color: black;
        text-shadow:
            .25em 0 0 rgba(0,0,0,0),
            .5em 0 0 rgba(0,0,0,0);
    }
    60% {
        text-shadow:
            .25em 0 0 black,
            .5em 0 0 rgba(0,0,0,0);
    }
        80%, 100% {
            text-shadow:
                .25em 0 0 black,
                .5em 0 0 black;
        }
    }
    
    /* Contact Form Styles */
    .contact-form-container {
        padding: 10px;
        margin-top: 10px;
        background-color: #fff;
        border-radius: 8px;
        border: 1px solid #ddd;
    }
    
    #df-chatbot-contact-form input {
        display: block;
        width: 100%;
        padding: 8px;
        margin-bottom: 10px;
        border: 1px solid #ccc;
        border-radius: 4px;
        box-sizing: border-box; /* Ensures padding doesn't affect width */
    }
    
    #df-chatbot-contact-form button {
        width: 100%;
        padding: 10px;
        background-color: #0073aa;
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
    }
    
    #df-chatbot-contact-form button:disabled {
        background-color: #a0a0a0;
    }
    