/* Top Bar Styles */
.top-bar-whatsapp-container {
    background-color: #000;
    color: #fff;
    padding: 10px 0;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    height: 40px;
    display: flex;
    align-items: center;
}

.top-bar-whatsapp-ticker {
    white-space: nowrap;
    position: absolute;
    animation: ticker 20s linear infinite;
    font-size: 14px;
    padding: 0 20px;
    box-sizing: border-box;
    width: 100%;
}

@keyframes ticker {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* RTL support */
html[dir="rtl"] .top-bar-whatsapp-ticker {
    animation: ticker-rtl 20s linear infinite;
}

@keyframes ticker-rtl {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* WhatsApp Button Styles */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.whatsapp-float img {
    width: 36px;
    height: 36px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .top-bar-whatsapp-ticker {
        font-size: 12px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-float img {
        width: 30px;
        height: 30px;
    }
}