/* ========================================
   Modern Social Share Buttons - Enhanced Design
   ======================================== */

/* Base button styling with improved design */
.assp_social-share-buttons a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    padding: 0;
    font-size: 24px;
    text-decoration: none;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    backdrop-filter: blur(10px);
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15),
                0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

/* Hover effect with glow and scale */
.assp_social-share-buttons a:hover {
    transform: scale(1.15) translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25),
                0 4px 10px rgba(0, 0, 0, 0.15),
                0 0 20px rgba(255, 255, 255, 0.3);
    border-color: rgba(255,255,255,0.4);
    background: linear-gradient(135deg, rgba(255,255,255,0.25), rgba(255,255,255,0.15));
}

/* Active/Click effect */
.assp_social-share-buttons a:active {
    transform: scale(0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Icon styling */
.assp_social-share-buttons a i {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}

.assp_social-share-buttons a:hover i {
    transform: rotate(5deg) scale(1.1);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

/* Ripple effect on click */
.assp_social-share-buttons a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.assp_social-share-buttons a:active::before {
    width: 100px;
    height: 100px;
}

/* Background gradient animation */
@keyframes shimmer {
    0% { background-position: -100% 0; }
    100% { background-position: 200% 0; }
}

.assp_social-share-buttons a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    background-size: 200% 100%;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.assp_social-share-buttons a:hover::after {
    animation: shimmer 1.5s infinite;
    opacity: 1;
}

/* ========================================
   Position: Below Content
   ======================================== */
.assp_social-share-buttons_new.position-below {
    margin: 35px auto;
    padding: 0;
    max-width: 100%;
    text-align: center;
    overflow-x: auto;
}

.assp_social-share-buttons_new.position-below .assp_social-share-buttons {
    display: inline-flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 14px 12px;
    background: linear-gradient(135deg, rgba(0,0,0,0.03), rgba(0,0,0,0.01));
    backdrop-filter: blur(10px);
    /*border-radius: 60px;*/
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
    min-width: min-content;
}

/* Add separator line with label (optional) */
.assp_social-share-buttons_new.position-below::before {
    content: 'Share This';
    display: block;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.4);
    margin-bottom: 20px;
}

/* ========================================
   Position: LEFT Sticky Sidebar
   ======================================== */
.assp_social-share-buttons_new.position-left {
    position: fixed;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    z-index: 9999;
    max-width: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 15px 10px;
    background: linear-gradient(135deg, rgba(0,0,0,0.05), rgba(0,0,0,0.02));
    backdrop-filter: blur(15px);
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: slideInLeft 0.6s ease-out;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.assp_social-share-buttons_new.position-left .assp_social-share-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

/* ========================================
   Position: RIGHT Sticky Sidebar
   ======================================== */
.assp_social-share-buttons_new.position-right {
    position: fixed;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    z-index: 9999;
    max-width: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 15px 10px;
    background: linear-gradient(135deg, rgba(0,0,0,0.05), rgba(0,0,0,0.02));
    backdrop-filter: blur(15px);
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: slideInRight 0.6s ease-out;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.assp_social-share-buttons_new.position-right .assp_social-share-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    /* Smaller buttons on mobile */
    .assp_social-share-buttons a {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    /* Adjust sidebar positions for mobile */
    .assp_social-share-buttons_new.position-left {
        left: 8px;
        padding: 10px 6px;
        border-radius: 40px;
    }
    
    .assp_social-share-buttons_new.position-right {
        right: 8px;
        padding: 10px 6px;
        border-radius: 40px;
    }
    
    .assp_social-share-buttons_new.position-left .assp_social-share-buttons,
    .assp_social-share-buttons_new.position-right .assp_social-share-buttons {
        gap: 8px;
    }
    
    /* Below content - optimized for mobile */
    .assp_social-share-buttons_new.position-below {
        margin: 25px auto;
        /*padding: 0 15px;*/
        text-align: center;
    }
    
    .assp_social-share-buttons_new.position-below::before {
        text-align: center;
        margin-bottom: 15px;
        padding-left: 0;
        font-size: 11px;
    }
    
    .assp_social-share-buttons_new.position-below .assp_social-share-buttons {
        gap: 10px;
        padding: 15px 18px;
        /*border-radius: 50px;*/
        justify-content: center;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
    }
    
    /* Hide scrollbar on mobile for cleaner look but keep functionality */
    .assp_social-share-buttons_new.position-below::-webkit-scrollbar {
        height: 4px;
    }
    
    .assp_social-share-buttons_new.position-below::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.15);
    }
}

/* Extra small devices (phones in portrait, less than 480px) */
@media (max-width: 480px) {
    .assp_social-share-buttons a {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
    auto;
        padding: 0 10px;
    }
    
    .assp_social-share-buttons_new.position-below .assp_social-share-buttons {
        gap: 8px;
        padding: 12px 15px;
        justify-content: centertons_new.position-below .assp_social-share-buttons {
        gap: 8px;
        padding: 12px 15px;
    }
    
    .assp_social-share-buttons_new.position-left,
    .assp_social-share-buttons_new.position-right {
        max-height: 80vh;
    }
}

/* ========================================
   Accessibility & Print Styles
   ======================================== */
.assp_social-share-buttons a:focus {
    outline: 3px solid rgba(0, 123, 255, 0.5);
    outline-offset: 3px;
}

@media print {
 

/* ========================================
   Custom Scrollbar Styling
   ======================================== */
.assp_social-share-buttons_new.position-left::-webkit-scrollbar,
.assp_social-share-buttons_new.position-right::-webkit-scrollbar {
    width: 6px;
}

.assp_social-share-buttons_new.position-left::-webkit-scrollbar-track,
.assp_social-share-buttons_new.position-right::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.assp_social-share-buttons_new.position-left::-webkit-scrollbar-thumb,
.assp_social-share-buttons_new.position-right::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    transition: background 0.3s ease;
}

.assp_social-share-buttons_new.position-left::-webkit-scrollbar-thumb:hover,
.assp_social-share-buttons_new.position-right::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

/* Firefox scrollbar */
.assp_social-share-buttons_new.position-left,
.assp_social-share-buttons_new.position-right {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) rgba(0, 0, 0, 0.05);
}

/* Scrollbar for below position (horizontal) */
.assp_social-share-buttons_new.position-below::-webkit-scrollbar {
    height: 6px;
}

.assp_social-share-buttons_new.position-below::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.assp_social-share-buttons_new.position-below::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    transition: background 0.3s ease;
}

.assp_social-share-buttons_new.position-below::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

.assp_social-share-buttons_new.position-below {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) rgba(0, 0, 0, 0.05);
}   .assp_social-share-buttons_new.position-left,
    .assp_social-share-buttons_new.position-right {
        display: none;
    }
}

/* ========================================
   Individual Social Media Brand Colors (Optional Enhancement)
   ======================================== */
.assp_social-share-buttons a:hover .fa-facebook-square {
    color: #1877f2 !important;
}

.assp_social-share-buttons a:hover .fa-twitter {
    color: #1da1f2 !important;
}

.assp_social-share-buttons a:hover .fa-linkedin {
    color: #0077b5 !important;
}

.assp_social-share-buttons a:hover .fa-pinterest {
    color: #e60023 !important;
}

.assp_social-share-buttons a:hover .fa-whatsapp {
    color: #25d366 !important;
}

.assp_social-share-buttons a:hover .fa-telegram {
    color: #0088cc !important;
}

.assp_social-share-buttons a:hover .fa-reddit-alien {
    color: #ff4500 !important;
}

.assp_social-share-buttons a:hover .fa-tumblr {
    color: #35465c !important;
}

.assp_social-share-buttons a:hover .fa-pocket {
    color: #ef3f56 !important;
}

.assp_social-share-buttons a:hover .fa-envelope,
.assp_social-share-buttons a:hover .fa-envelope-square {
    color: #ea4335 !important;
}

.assp_social-share-buttons a:hover .fa-link {
    color: #4caf50 !important;
}

.assp_social-share-buttons a:hover .fa-print {
    color: #607d8b !important;
}
