/**
 * Floating Call Button Styles
 */

/* Base button styles */
.fcb-call-button {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 99999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.fcb-call-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.fcb-call-button:active {
    transform: scale(0.95);
}

/* Icon styling */
.fcb-icon {
    width: 30px;
    height: 30px;
}

/* Position variations */
.fcb-call-button.bottom-right {
    bottom: 40px;
    right: 70px;
}

.fcb-call-button.bottom-left {
    bottom: 40px;
    left: 20px;
}

.fcb-call-button.top-right {
    top: 20px;
    right: 20px;
}

.fcb-call-button.top-left {
    top: 20px;
    left: 20px;
}

/* Text styling */
.fcb-text {
    display: none;
    margin-left: 10px;
    font-weight: bold;
    font-size: 16px;
}

/* Visibility classes */
.fcb-call-button.hide-on-desktop {
    display: none;
}

/* Responsive styles */
/* Spacer element for full-width button */
.fcb-bottom-spacer {
    display: none;
    height: 60px;
    width: 100%;
    clear: both;
}

@media only screen and (max-width: 768px) {
    .fcb-call-button {
        width: 50px;
        height: 50px;
    }

    .fcb-icon {
        width: 25px;
        height: 25px;
    }

    /* Show on mobile, hide on desktop */
    .fcb-call-button.hide-on-desktop {
        display: flex;
    }

    /* Hide on mobile */
    .fcb-call-button.hide-on-mobile {
        display: none;
    }

    /* Full width button on mobile */
    .fcb-call-button.full-width-mobile {
        width: 100%;
        height: 60px;
        border-radius: 0;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        justify-content: center;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
        position: fixed;
        z-index: 99999;
    }

    .fcb-call-button.full-width-mobile .fcb-icon {
        width: 24px;
        height: 24px;
    }

    .fcb-call-button.full-width-mobile .fcb-text {
        display: inline-block;
    }
}