#fcw-widget-container {
    position: fixed !important;
    z-index: 9999 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    bottom: 20px !important;
    top: auto !important;
}

#fcw-widget-container.fcw-position-right {
    right: 20px !important;
    left: auto !important;
}

#fcw-widget-container.fcw-position-left {
    left: 20px !important;
    right: auto !important;
}

.fcw-widget {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fcw-item {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: visible;
    padding: 0;
    margin: 0;
}

.fcw-item:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.fcw-item > span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
}

.fcw-item svg {
    width: 30px;
    height: 30px;
    fill: #fff;
    z-index: 2;
    position: relative;
    display: block;
    margin: 0 auto;
    vertical-align: middle;
}

/* Pulse animation */
@keyframes fcw-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

@keyframes fcw-pulse-colored {
    0% {
        box-shadow: 0 0 0 0 currentColor;
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.fcw-item.pulse {
    animation: fcw-pulse 2s infinite;
    position: relative;
}

.fcw-item.pulse::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--pulse-color, rgba(37, 211, 102, 0.5));
    opacity: 0.6;
    animation: fcw-pulse-ring 2s infinite;
    pointer-events: none;
    z-index: 0;
    box-sizing: border-box;
}

@keyframes fcw-pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* Slide animation */
@keyframes fcw-slide-in-right {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fcw-slide-in-left {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.fcw-item.slide-in-right {
    animation: fcw-slide-in-right 0.5s ease-out forwards;
}

.fcw-item.slide-in-left {
    animation: fcw-slide-in-left 0.5s ease-out forwards;
}

.fcw-item-text {
    display: none !important;
}

/* Responsive */
@media (max-width: 767px) {
    #fcw-widget-container.fcw-position-right {
        right: 15px;
        bottom: 15px;
    }
    
    #fcw-widget-container.fcw-position-left {
        left: 15px;
        bottom: 15px;
    }
    
    .fcw-item {
        width: 50px;
        height: 50px;
    }
    
    .fcw-item > span {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
    }
    
    .fcw-item svg {
        width: 25px;
        height: 25px;
        display: block;
        margin: 0 auto;
    }
    
    .fcw-item-text {
        display: none !important;
    }
}

