/* Structural Positioning of Floating Contact Button */
.floating-contact-btn-48703dab {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 99999;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 15px;
    font-weight: 600;
}

.floating-contact-btn-48703dab:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: currentColor;
    opacity: 0.95;
}

/* Icon & Label Gaps */
.fc-icon-wrap-48703dab {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fc-icon-wrap-48703dab + .fc-text-label-48703dab {
    margin-left: 8px;
}

/* Position Configurations */
.floating-contact-btn-48703dab.pos-right {
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: right bottom;
    border-radius: 12px 12px 0 0;
    padding: 12px 20px;
}
.floating-contact-btn-48703dab.pos-right:hover {
    transform: translateY(-50%) scale(1.03) translateX(-4px) rotate(-90deg);
}

.floating-contact-btn-48703dab.pos-left {
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    transform-origin: left bottom;
    border-radius: 12px 12px 0 0;
    padding: 12px 20px;
}
.floating-contact-btn-48703dab.pos-left:hover {
    transform: translateY(-50%) scale(1.03) translateX(4px) rotate(90deg);
}

.floating-contact-btn-48703dab.pos-bottom-right {
    bottom: 30px;
    right: 30px;
}

.floating-contact-btn-48703dab.pos-bottom-left {
    bottom: 30px;
    left: 30px;
}

/* Entrance & Idle Animations */
.floating-contact-btn-48703dab.anim-pulse {
    animation: fc-pulse-48703dab 2s infinite;
}

.floating-contact-btn-48703dab.anim-bounce {
    animation: fc-bounce-48703dab 2.5s infinite;
}

@keyframes fc-pulse-48703dab {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--btn-theme-color), 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(var(--btn-theme-color), 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(var(--btn-theme-color), 0);
    }
}

@keyframes fc-bounce-48703dab {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* Offset for Admin Bar if logged in */
body.admin-bar .floating-contact-btn-48703dab.pos-right,
body.admin-bar .floating-contact-btn-48703dab.pos-left {
    top: calc(50% + var(--wp-admin--admin-bar--height, 32px) / 2);
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .floating-contact-btn-48703dab.mobile-hidden {
        display: none !important;
    }
    .floating-contact-btn-48703dab.pos-bottom-right {
        bottom: 15px;
        right: 15px;
        padding: 10px 14px;
        font-size: 14px;
    }
    .floating-contact-btn-48703dab.pos-bottom-left {
        bottom: 15px;
        left: 15px;
        padding: 10px 14px;
        font-size: 14px;
    }
}
