/* Floating Button Styles */
.webellio-emergency-contact-button-floatingButtonWrap {
    display: block;
    position: fixed;
    z-index: 999999999;
}

.webellio-emergency-contact-button-floatingButtonInner {
    position: relative;
}

.webellio-emergency-contact-button-floatingButton {
    display: block;
    width: 60px;
    height: 60px;
    text-align: center;
    color: #fff;
    line-height: 50px;
    position: absolute;
    border-radius: 50%;
    bottom: 0;
    right: 0;
    border: 5px solid #b2bedc;
    opacity: 1;
    transition: all 0.4s;
}

.webellio-emergency-contact-button-floatingButton .fa {
    font-size: 15px !important;
}

.webellio-emergency-contact-button-floatingButton.open,
.webellio-emergency-contact-button-floatingButton:hover,
.webellio-emergency-contact-button-floatingButton:focus,
.webellio-emergency-contact-button-floatingButton:active {
    opacity: 1;
    color: #fff;
}

.webellio-emergency-contact-button-floatingButton .fa {
    transform: rotate(0deg);
    transition: all 0.4s;
}

.webellio-emergency-contact-button-floatingButton.open .fa {
    transform: rotate(270deg);
}

.webellio-emergency-contact-button-floatingMenu {
    position: absolute;
    bottom: 60px;
    right: 0;
    display: none;
}

.webellio-emergency-contact-button-floatingMenu li {
    width: 100%;
    float: right;
    list-style: none;
    text-align: right;
    margin-bottom: 5px;
}

.webellio-emergency-contact-button-floatingMenu li a {
    padding: 8px 15px;
    display: inline-block;
    border-radius: 5px;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.4s;
    box-shadow: 1px 3px 5px rgba(211, 224, 255, 0.5);
}

.webellio-emergency-contact-button-floatingMenu li a:hover {
    margin-right: 10px;
    text-decoration: none;
}

/* Position Variations */
.webellio-emergency-contact-button-floatingButtonWrap.top-left {
    top: 20px;
    left: 20px;
    right: auto;
    bottom: auto;
}

.webellio-emergency-contact-button-floatingButtonWrap.top-right {
    top: 20px;
    right: 20px;
    left: auto;
    bottom: auto;
}

.webellio-emergency-contact-button-floatingButtonWrap.middle-left {
    top: 50%;
    left: 20px;
    right: auto;
    bottom: auto;
    transform: translateY(-50%);
}

.webellio-emergency-contact-button-floatingButtonWrap.middle-right {
    top: 50%;
    right: 20px;
    left: auto;
    bottom: auto;
    transform: translateY(-50%);
}

.webellio-emergency-contact-button-floatingButtonWrap.bottom-left {
    bottom: 20px;
    left: 20px;
    right: auto;
    top: auto;
}

.webellio-emergency-contact-button-floatingButtonWrap.bottom-right {
    bottom: 20px;
    right: 20px;
    left: auto;
    top: auto;
}

/* Responsive Adjustments */
@media screen and (max-width: 480px) {
    .webellio-emergency-contact-button-floatingButton {
        width: 50px;
        height: 50px;
        line-height: 40px;
    }

    .webellio-emergency-contact-button-floatingMenu {
        bottom: 50px;
    }
}
