/*
 * This file contains the styling for the PM Social Share plugin buttons.
 */

.pm-social-share-container {
    position: fixed; /* Keeps the buttons fixed on the screen */
    left: 20px; /* Adjust distance from the left edge */
    top: 50%; /* Center vertically */
    transform: translateY(-50%); /* Adjust to true center vertically */
    z-index: 999; /* Ensure it's above other content */
    display: flex; /* Arrange items in a column */
    flex-direction: column;
    align-items: center; /* Center items horizontally within the container */
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.8); /* Slightly transparent background */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.share-count {
    background-color: #f0f0f0;
    color: #333;
    padding: 5px 10px;
    border-radius: 5px;
    margin-bottom: 10px; /* Space between count and first button */
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    min-width: 30px; /* Ensures a consistent width even for single digits */
}

.social-share-button {
    background-color: #f0f0f0;
    border: none;
    cursor: pointer;
    margin: 5px 0; /* Space between buttons */
    padding: 10px;
    border-radius: 50%; /* Makes buttons circular */
    width: 40px; /* Fixed width */
    height: 40px; /* Fixed height */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth hover effects */
    text-decoration: none; /* Remove underline for anchor tags */
}

.social-share-button:hover {
    background-color: #ddd;
    transform: scale(1.05); /* Slightly enlarge on hover */
}

.social-share-button i.dashicons {
    color: #555; /* Icon color */
    font-size: 20px; /* Adjust icon size */
    width: auto; /* Ensure dashicon fits */
    height: auto; /* Ensure dashicon fits */
    line-height: 1; /* Remove extra line height from dashicons */
}

/* Optional: Specific colors for social media icons on hover */
.social-share-button.facebook:hover i.dashicons { color: #3b5998; }
.social-share-button.twitter:hover i.dashicons { color: #1da1f2; }
.social-share-button.whatsapp:hover i.dashicons { color: #25d366; }
.social-share-button.pinterest:hover i.dashicons { color: #bd081c; }
.social-share-button.email:hover i.dashicons { color: #ea4335; } /* Google Red for email */
.social-share-button.url-copy:hover i.dashicons { color: #4285f4; } /* Google Blue for copy */

/* Make dashicons responsive */
.dashicons {
    vertical-align: middle;
}
