/* srb-style.css */

.srb-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    background: #0072c6; /* biru sesuai gambar */
    color: #fff;
    padding: 16px 20px;
    border-radius: 14px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    max-width: 100%;
    font-family: 'Segoe UI', sans-serif;
}

.srb-reactions,
.srb-share-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.srb-btn {
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 999px;
    padding: 10px 18px;
    font-size: clamp(14px, 2vw, 18px);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.srb-btn:hover {
    background: rgba(255,255,255,0.25);
}

.srb-btn:active {
    animation: bounce 0.3s ease;
}

@keyframes bounce {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.srb-share-label {
    font-weight: 600;
    font-size: clamp(12px, 2vw, 16px);
    color: #fff;
}

.srb-share-popup {
    display: flex;
    align-items: center;
    gap: 10px;
}

.srb-share-img {
    width: clamp(24px, 4vw, 32px);
    height: clamp(24px, 4vw, 32px);
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.2s ease;
    cursor: pointer;
}

.srb-share-img:hover {
    transform: scale(1.15);
}

@media (max-width: 600px) {
    .srb-container {
        flex-direction: column;
        align-items: flex-start;
    }
}

.srb-share-link {
    position: relative;
    display: inline-block;
}

.srb-count {
    position: absolute;
    bottom: -6px;
    right: -6px;
    background: #111;
    color: #fff;
    font-size: 10px;
    padding: 1px 4px;
    border-radius: 10px;
    line-height: 1;
    font-weight: bold;
}
