#customSharePopup {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6); /* Dark overlay */
}

.customSharePopup-content {
    background-color: #161519; /* Dark background */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.5);
    width: auto; /* Keeps the width flexible based on content */
    max-width: 600px; /* Limits the maximum width */
    margin: auto; /* Helps centering the popup in the Flex container */
    transform: translateY(180%); /* Initially moves the popup down for desktop */

     /* Media query for mobile devices */
    @media (max-width: 768px) { /* Adjust the max-width as needed for your design */
        transform: translateY(100%); /* Reset or adjust for mobile */
    }
}

.closeBtn {
    color: #fff;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.closeBtn:hover,
.closeBtn:focus {
    color: #ddd; /* Light grey color on hover/focus */
}

.share-header {
    border-bottom: 1px solid #444; /* Lighter border for header */
    padding-bottom: 20px;
    margin-bottom: 20px;
	color: #fe9d1a;
}

.share-link-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #222; /* Darker background for link container */
    border: 1px solid #444; /* Lighter border for link container */
    border-radius: 4px;
    padding: 10px;
}

#shareLinkInput {
    flex-grow: 1;
    background: transparent;
    border: none;
    color: #ddd; /* Light grey text */
    margin-right: 10px;
}

#copyLinkButton {
    background: none;
    border: none;
    cursor: pointer;
}

#copyLinkButton img {
    width: 24px;
    height: 24px;
}

.share-options {
    text-align: center;
}

.shareBtn {
    display: inline-block;
    margin: 10px;
    padding: 10px;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: scale(1);
    background-color: #444; /* Default background color */
    box-shadow: 0 0 5px rgba(0,0,0,0.2); /* Subtle shadow for depth */
}


.facebook { background: #3B5998; }
.twitter { background: #1DA1F2; }
.linkedin { background: #0077B5; }
.whatsapp { background: #25D366; }
.mail { background: #dd4b39; }


/* Hover and focus effects */
.shareBtn:hover,
.shareBtn:focus {
    transform: scale(1.1);
    animation: neonGlow 1.5s infinite alternate;
}

@keyframes neonGlow {
    from {
        box-shadow: 0 0 10px #333, 0 0 20px rgba(255, 255, 255, 0.6), 0 0 30px rgba(255, 255, 255, 0.4);
    }
    to {
        box-shadow: 0 0 20px #666, 0 0 30px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.6);
    }
}
#copyFeedback {
    display: none; /* Keeps it hidden initially */
    color: #FFF; /* White text color, assuming you want to keep it */
    font-size: 0.8rem; /* Smaller font size */
}

.shareBtn img {
    width: 30px; /* Adjust the width as needed */
    height: 30px; /* Adjust the height as needed to maintain the aspect ratio */
}

/*flash share button when clicked */
.red-square {
    position: relative; /* Needed for absolute positioning of the pseudo-element */
    /* Other styles for the red square... */
}

.red-square::before {
    content: ''; /* Required for pseudo-elements */
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%; /* Adjust size of the circle */
    height: 80%; /* Adjust size of the circle */
    background-color: rgba(128, 128, 128, 0); /* Initial transparent background */
    border-radius: 50%; /* Makes it a circle */
    transform: translate(-50%, -50%); /* Center the circle */
    transition: background-color 0.5s; /* Smooth transition for background color */
}

.flashEffect::before {
    background-color: rgba(128, 128, 128, 0.75); /* Flash color - semi-transparent gray */
}
