/* ============ MAIN CONTAINER ============ */
#osayworld-premium-topbar {
    position: relative;
    z-index: 9990;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: var(--osay-topbar-height);
    background: var(--osay-topbar-bg);
    color: var(--osay-topbar-text);
    font-size: var(--osay-topbar-font-size);
    line-height: 1.5;
    font-weight: 500;
    padding: 0 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    box-sizing: border-box;
}

/* ============ SIDE CONTAINERS ============ */
#osayworld-premium-topbar .osay-topbar-left,
#osayworld-premium-topbar .osay-topbar-right {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 120px;
}

#osayworld-premium-topbar .osay-topbar-left {
    justify-content: flex-start;
}

#osayworld-premium-topbar .osay-topbar-right {
    justify-content: flex-end;
}

/* ============ TEXT SLIDER CORE ============ */
#osayworld-premium-topbar .osay-text-slider {
    flex: 1 1 auto;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 50px;
    min-width: 0;
    overflow: hidden;
    margin: 0 10px;
}

/* ============ SLIDES ============ */
#osayworld-premium-topbar .osay-slide {
    position: absolute;
    width: 100%;
    max-width: calc(100% - 100px);
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: calc(var(--osay-topbar-font-size) + 2px);
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    transform: translateX(-50%) translateY(10px);
    padding: 0 15px;
    box-sizing: border-box;
    left: 50%;
}

#osayworld-premium-topbar .osay-slide.active {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ============ ARROWS ============ */
#osayworld-premium-topbar .osay-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    cursor: pointer;
    z-index: 10;
    opacity: 0.7;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.1);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

#osayworld-premium-topbar .osay-slider-arrow:hover {
    opacity: 1;
    background: rgba(255,255,255,0.2);
    transform: translateY(-50%) scale(1.1);
}

#osayworld-premium-topbar .osay-slider-prev {
    left: 10px;
}

#osayworld-premium-topbar .osay-slider-next {
    right: 10px;
}

/* ============ MOBILE STYLES ============ */
@media (max-width: 768px) {
    #osayworld-premium-topbar {
        padding: 0 10px;
        height: auto;
        min-height: var(--osay-topbar-height);
        flex-wrap: wrap;
    }
    
    #osayworld-premium-topbar .osay-text-slider {
        flex: 1 1 100% !important;
        order: 0;
        width: 100%;
        min-height: var(--osay-topbar-height);
        padding: 0 40px;
        margin: 0;
    }
    
    #osayworld-premium-topbar .osay-slide {
        max-width: calc(100% - 80px);
        font-size: var(--osay-topbar-font-size);
    }
    
    /* Hide only currency and social icons */
    #osayworld-premium-topbar .osay-currency-switcher,
    #osayworld-premium-topbar .osay-social-icons {
        display: none !important;
    }
    
    /* Minimize side containers */
    #osayworld-premium-topbar .osay-topbar-left,
    #osayworld-premium-topbar .osay-topbar-right {
        min-width: 0;
        flex: 0 0 0;
        height: 0;
        overflow: hidden;
    }
    
    #osayworld-premium-topbar .osay-slider-arrow {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    #osayworld-premium-topbar .osay-slide {
        font-size: calc(var(--osay-topbar-font-size) - 1px);
    }
    
    #osayworld-premium-topbar .osay-text-slider {
        padding: 0 30px;
    }
}


/* ============ CURRENCY SWITCHER ============ */
#osayworld-premium-topbar .osay-currency-switcher {
    position: relative;
    margin-right: 10px;
    min-width: 120px;
}

#osayworld-premium-topbar .osay-currency-switcher select {
    background: transparent;
    color: var(--osay-topbar-text);
    border: none;
    padding: 6px 25px 6px 10px;
    font-size: var(--osay-topbar-font-size);
    font-weight: 500;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.2);
    width: 100%;
}

#osayworld-premium-topbar .osay-currency-switcher select:focus {
    outline: none;
    border-color: rgba(255,255,255,0.4);
    box-shadow: 0 0 0 2px rgba(255,255,255,0.1);
}

#osayworld-premium-topbar .osay-currency-switcher:after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--osay-topbar-text);
    font-size: 12px;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    opacity: 0.8;
}

#osayworld-premium-topbar .osay-currency-switcher:hover:after {
    opacity: 1;
}

#osayworld-premium-topbar .osay-currency-switcher select:focus + :after {
    transform: translateY(-50%) rotate(180deg);
}

/* ============ SOCIAL ICONS ============ */
#osayworld-premium-topbar .osay-social-icons {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-left: 5px;
}

#osayworld-premium-topbar .osay-social-icon {
    color: var(--osay-topbar-text);
    font-size: calc(var(--osay-topbar-font-size) + 2px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}

#osayworld-premium-topbar .osay-social-icon:hover {
    color: var(--osay-topbar-hover);
    opacity: 1;
    transform: translateY(-2px);
    background: rgba(255,255,255,0.15);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Platform-specific colors */
#osayworld-premium-topbar .osay-social-icon.fa-facebook-f:hover {
    color: #1877f2;
    background: rgba(24, 119, 242, 0.1);
}

#osayworld-premium-topbar .osay-social-icon.fa-instagram:hover {
    color: #e4405f;
    background: rgba(228, 64, 95, 0.1);
}

#osayworld-premium-topbar .osay-social-icon.fa-twitter:hover {
    color: #1da1f2;
    background: rgba(29, 161, 242, 0.1);
}

#osayworld-premium-topbar .osay-social-icon.fa-tiktok:hover {
    color: #000000;
    background: rgba(0, 0, 0, 0.1);
}

#osayworld-premium-topbar .osay-social-icon.fa-pinterest-p:hover {
    color: #bd081c;
    background: rgba(189, 8, 28, 0.1);
}

#osayworld-premium-topbar .osay-social-icon.fa-youtube:hover {
    color: #ff0000;
    background: rgba(255, 0, 0, 0.1);
}

#osayworld-premium-topbar .osay-social-icon.fa-linkedin-in:hover {
    color: #0a66c2;
    background: rgba(10, 102, 194, 0.1);
}

/* ============ MOBILE STYLES ============ */
@media (max-width: 768px) {
    /* Hide currency and social on mobile */
    #osayworld-premium-topbar .osay-currency-switcher,
    #osayworld-premium-topbar .osay-social-icons {
        display: none !important;
    }
}