#hubspot_bubble.bubble {
    position: fixed;
    bottom: 40px;
    /* Default bottom if no top is saved */
    right: 40px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #7d6afe;
    /* Purple */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease, transform 0.2s ease;
    z-index: 10000018;
}

#hubspot_bubble.bubble:hover {
    transform: scale(1.05);
}

#hubspot_bubble.bubble.drag {
    transition: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.hubspot_background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    z-index: 1;
}

#hubspot_bubble svg {
    z-index: 0;
    pointer-events: none;
}

#hubspot {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 448px;
    height: 804px;
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 40px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    border: none;
    background: transparent;
    pointer-events: none;
    opacity: 0;
    z-index: 9998;
}

#hubspot.open {
    opacity: 1;
    pointer-events: auto;
}

/* Override previous styles for chat-window since we are using HubSpot's iframe */
.chat-window {
    display: none !important;
}

.chat-bubble-container {
    display: none;
    /* We are using the id-based elements now */
}