/* Footer Overlap Fix + Chat Button Floating Design */

/* FIX 1: Ensure footer doesn't overlap content */
footer,
.footer {
    margin-top: 60px !important;
    clear: both !important;
    position: relative !important;
    /* Remove any fixed/absolute positioning */
}

/* Ensure main content has bottom padding to prevent footer overlap */
main,
.main {
    padding-bottom: 100px !important;
    min-height: calc(100vh - 300px) !important;
}

/* FIX 2: Floating Chat Button Design */
.kimberley-chat-container {
    position: fixed !important;
    bottom: 24px !important;
    right: 24px !important;
    z-index: 99999 !important;
}

.kimberley-chat-toggle {
    background: linear-gradient(135deg, #4a90e2, #357abd) !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    width: 64px !important;
    height: 64px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 6px 24px rgba(74, 144, 226, 0.4) !important;
    transition: all 0.3s ease !important;
    font-size: 28px !important;
}

.kimberley-chat-toggle:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 8px 32px rgba(74, 144, 226, 0.6) !important;
}

/* Hide text label on floating button, show only icon */
.kimberley-chat-toggle .chat-label {
    display: none !important;
}

.kimberley-chat-toggle .chat-icon {
    font-size: 32px !important;
}

/* Chat window positioning when opened */
.kimberley-chat-window {
    position: fixed !important;
    bottom: 100px !important;
    right: 24px !important;
    width: 380px !important;
    max-width: calc(100vw - 48px) !important;
    height: 600px !important;
    max-height: calc(100vh - 150px) !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3) !important;
}

/* Mobile responsiveness for chat */
@media (max-width: 768px) {
    .kimberley-chat-toggle {
        width: 56px !important;
        height: 56px !important;
        bottom: 16px !important;
        right: 16px !important;
    }

    .kimberley-chat-window {
        width: calc(100vw - 32px) !important;
        height: calc(100vh - 120px) !important;
        bottom: 80px !important;
        right: 16px !important;
    }
}