/* --- Final SVG Version --- */

#pccb-minimal-widget {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 2147483647; /* Highest possible z-index */
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

#pccb-minimal-widget .pccb-buttons-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#pccb-minimal-widget .pccb-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
    animation: pulse-button 2s infinite;
}

#pccb-minimal-widget .pccb-btn:hover {
    transform: scale(1.1);
    animation-play-state: paused;
}

/* SVG Icon Styling */
#pccb-minimal-widget .pccb-btn svg {
    width: 22px;
    height: 22px;
}

#pccb-minimal-widget .pccb-call-btn { background-color: #007bff; }
#pccb-minimal-widget .pccb-whatsapp-btn { background-color: #25D366; animation-delay: 0.5s; }

#pccb-minimal-widget .pccb-animated-text-wrapper {
    position: absolute;
    right: 120%;
    top: 50%;
    transform: translateY(-50%);
    overflow: hidden;
    pointer-events: none;
}

#pccb-minimal-widget .pccb-animated-text {
    background: #ffc107;
    color: #111;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(30px);
    animation: slide-in-out 5s infinite ease-in-out;
}

@keyframes slide-in-out {
    0%   { opacity: 0; transform: translateX(30px); }
    15%  { opacity: 1; transform: translateX(0); }
    85%  { opacity: 1; transform: translateX(0); }
    100% { opacity: 0; transform: translateX(-30px); }
}

@keyframes pulse-button {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); }
    50% { transform: scale(1.05); box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3); }
}

@media (max-width: 768px) {
    #pccb-minimal-widget {
        right: 15px;
    }
    #pccb-minimal-widget .pccb-btn {
        width: 45px;
        height: 45px;
    }
    #pccb-minimal-widget .pccb-btn svg {
        width: 20px;
        height: 20px;
    }
    #pccb-minimal-widget .pccb-animated-text-wrapper {
        right: 115%;
    }
    #pccb-minimal-widget .pccb-animated-text {
        font-size: 13px;
        padding: 6px 12px;
    }
}