/* Container styles for social share and follow buttons */
/* For the share buttons (centered) */
.sfp-links {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center;
    padding-bottom: 20px; /* Adjust as needed */
}

.sfp-follow-links {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap; /* Prevents wrapping to the next line */
  justify-content: flex-start; /* Aligns items to the left */
  gap: 2px; /* Maintains your spacing between buttons */
}

.sfp-follow-links a.sfp-follow-button {
    padding: 0 !important;
}


/* Default Button Styling */
.sfp-button, .sfp-follow-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    text-decoration: none;
    font-size: 16px;  /* fallback; actual values can be dynamically set */
    font-weight: bold;
    border-radius: 5px;
    border: none;
    transition: background 0.3s ease, opacity 0.3s ease;
}
.sfp-button:hover, .sfp-follow-button:hover {
    opacity: 0.9;
}

/* Image/Dashicon fallback rules */
.sfp-follow-button img {
    margin-right: 8px;
    width: 24px;
    height: 24px;
}
.sfp-button span, .sfp-follow-button span {
    display: inline-block;
}

/* Popup container overlay */
#sfp-popup, 
#sfp-popup-follow {
    display: none;  /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
}

/* Popup content styling */
.sfp-popup-content {
    width: 500px;                                /* Replicates dynamic width (change as needed) */
    height: auto;                                /* Replicates dynamic height (or set a fixed height, e.g. 300px) */
    background-color: #0073aa;                   /* Popup background color (default from your settings) */
    color: #ffffff;                              /* Popup text color (default from your settings) */
    padding: 20px;                               /* Consistent padding inside the popup */
    border-radius: 8px;                          /* Rounded corners */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);     /* Subtle shadow for depth */
    margin: 100px auto 20px auto;               /* Centers the popup, with a bottom margin for extra space */
    text-align: center;
    position: relative;
}

/* Banner styles (for the Share & Earn Rewards notification) */
/*.sfp-share-notification {
    border: 2px dashed #0073aa;
    padding: 15px;
    margin-bottom: 20px;
    background: #f9f9f9;
}
.sfp-share-notification h3 {
    margin-top: 0;
    font-weight: normal;
}*/

/* Style the entire share wrapper as a single block */
.sfp-share-wrapper {
    border: 2px dashed #0073aa;
    padding: 15px;
    background: #f9f9f9;
    margin-bottom: 20px; /* This pushes the wrapper down, creating space outside the border */
}

/* Remove the bottom margin on the banner to avoid separation */
.sfp-share-wrapper .sfp-share-notification {
    margin: 0;
}

/* Optionally, add some spacing between the banner text and the icons */
.sfp-share-wrapper .sfp-links {
    margin-top: 15px;
}