.share-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-start; /* Align to the left */
    padding: 20px 0;
}

.share-btn {
    display: inline-flex; /* Use flexbox for centering icon */
    align-items: center;
    justify-content: center;
    width: auto; /* Set a fixed width */
    height: 40px; /* Set a fixed height */
    border: none;
    border-radius: 20px; /* Make it circular */
    color: white;
    text-decoration: none;
    cursor: pointer;
    font-size: 16px; /* Increase icon size */
    padding: 10px 20px;
    gap: 10px;
}

.share-btn i {
    line-height: 1; /* Ensure icon is centered vertically */
}


.share-btn.facebook { background-color: #3b5998; }
.share-btn.twitter { background-color: #000000; } /* Black for X */
.share-btn.whatsapp { background-color: #25d366; }
.share-btn.telegram { background-color: #0088cc; }
.share-btn.copy-link { background-color: #6c757d; }

/* FAB a.k.a Floating Action Button */
.fab-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #007bff;
    color: white;
    border: none;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
}

.fab:hover {
    background-color: #0056b3;
}

.fab-options {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}

.fab-options.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.fab-option {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #f8f9fa;
    color: #007bff;
    border: 1px solid #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s, color 0.3s;
}

.fab-option:hover {
    background-color: #007bff;
    color: white;
}

.fab-container.open .fab {
    background-color: #0056b3;
}

@media (max-width: 768px) {
    .fab-container {
        bottom: 1.5rem;
        right: 1.25rem;
    }
}
