/* =============================================
   Floating Social Media Icons
   Premium floating social buttons with hover effects
   ============================================= */

.floating-social {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

.floating-social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.floating-social-icon:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.35);
    color: #ffffff;
    text-decoration: none;
}

/* Telegram Button */
.floating-social-icon.telegram {
    background: linear-gradient(135deg, #0088cc 0%, #229ED9 100%);
}

.floating-social-icon.telegram:hover {
    background: linear-gradient(135deg, #229ED9 0%, #0088cc 100%);
}

/* WhatsApp Button */
.floating-social-icon.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.floating-social-icon.whatsapp:hover {
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
}

/* Theme Toggle Button */
.floating-social-icon.theme-toggle {
    background: linear-gradient(135deg, #F7B42C 0%, #FC575E 100%);
}

.floating-social-icon.theme-toggle:hover {
    background: linear-gradient(135deg, #FC575E 0%, #F7B42C 100%);
}

/* Pulse Animation */
@keyframes floating-pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 4px 25px rgba(0, 0, 0, 0.35);
    }
}

.floating-social-icon {
    animation: floating-pulse 2s infinite ease-in-out;
}

.floating-social-icon:hover {
    animation: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .floating-social {
        right: 15px;
        gap: 10px;
    }
    
    .floating-social-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .floating-social {
        right: 10px;
        gap: 8px;
    }
    
    .floating-social-icon {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
}

/* Hide the existing theme settings icon/dropdown */
.theme-settings-icon,
.theme-settings-icon.header-bottom,
div.theme-settings-icon,
.nav-item.dropdown a[data-toggle="dropdown"] i.fa-cog,
.nav-item.dropdown a.dropdown-toggle i.fa-cog {
    display: none !important;
}
.nav-item.dropdown:has(a[data-toggle="dropdown"] i.fa-cog),
.nav-item.dropdown:has(a.dropdown-toggle i.fa-cog) {
    display: none !important;
}
