/* Main container */
.sis-container {
    position: relative;
    display: inline-block;
    max-width: 100%;
    border-radius: 10px;
    overflow: hidden;
}

/* Make images rounded */
.sis-container img {
    border-radius: 10px;
    display: block;
    transition: all 0.3s ease;
}

/* Buttons container - hidden by default */
.sis-buttons {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50%) translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

/* Show buttons on hover */
.sis-container:hover .sis-buttons {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
    pointer-events: auto;
}

/* Individual buttons */
.sis-buttons a {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.sis-buttons a:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 1);
}

/* Platform-specific hover colors */
.sis-buttons a:nth-child(1):hover {
    background: #1877f2;
    color: white;
}

.sis-buttons a:nth-child(2):hover {
    background: #1da1f2;
    color: white;
}

.sis-buttons a:nth-child(3):hover {
    background: #0077b5;
    color: white;
}

.sis-buttons a:nth-child(4):hover {
    background: #bd081c;
    color: white;
}

.sis-buttons a:nth-child(5):hover {
    background: #666;
    color: white;
}

/* Icons */
.sis-buttons i {
    font-size: 14px;
    line-height: 1;
}

/* Copy link feedback */
.sis-copy-link.copied {
    background: #4CAF50 !important;
    color: white !important;
}

.sis-copy-link.copied i::before {
    content: "\f00c";
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sis-buttons {
        right: 8px;
        gap: 6px;
    }
    
    .sis-buttons a {
        width: 28px;
        height: 28px;
    }
    
    .sis-buttons i {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .sis-buttons {
        right: 6px;
        gap: 4px;
    }
    
    .sis-buttons a {
        width: 26px;
        height: 26px;
    }
    
    .sis-buttons i {
        font-size: 11px;
    }
}