.odw-chat-bubble {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0,123,255,0.5);
    z-index: 99999;
    animation: pulse 2s infinite;
    transition: all 0.3s ease;
}

.odw-chat-bubble:hover {
    background: #0056b3;
    transform: scale(1.1);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

.odw-chat-window {
    position: fixed;
    bottom: 120px;
    right: 30px;
    width: 380px;
    max-height: 75vh;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    z-index: 99999;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #ddd;
}

.chat-header {
    background: #007bff;
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.agent-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

.close-chat {
    margin-left: auto;
    cursor: pointer;
    font-size: 22px;
    font-weight: bold;
}

.chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f8f9fa;
}

.chat-bubble-msg {
    margin: 12px 0;
    padding: 12px 16px;
    border-radius: 20px;
    max-width: 85%;
}

.agent-msg {
    background: white;
    align-self: flex-start;
    border-bottom-left-radius: 5px;
    animation: bubblePop 0.4s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.chat-form-container {
    padding: 15px;
    background: white;
    border-top: 1px solid #eee;
}

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

/* Mobile */
@media (max-width: 480px) {
    .odw-chat-window {
        width: 92%;
        right: 4%;
        bottom: 100px;
    }
}

/* Specific styling for the Chat Capture form button */
#gform_submit_button_6,
#gform_submit_button_6.gform_button.button {
    background-color: #007bff !important;
    color: white !important;
    border: none !important;
    padding: 12px 24px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    width: 100% !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3) !important;
}

#gform_submit_button_6:hover,
#gform_submit_button_6.gform_button.button:hover {
    background-color: #0056b3 !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(0, 123, 255, 0.4) !important;
}

/* Optional: Style the form fields inside the chat too */
#odw-chat-window input[type="text"],
#odw-chat-window input[type="email"],
#odw-chat-window input[type="tel"] {
    width: 100% !important;
    padding: 12px !important;
    border: 2px solid #ddd !important;
    border-radius: 8px !important;
    margin-bottom: 12px !important;
    font-size: 16px !important;
}

#odw-chat-window input:focus {
    border-color: #007bff !important;
    outline: none !important;
}