/* General Body Styles */
body.modal-active {
    overflow: hidden;
    backdrop-filter: blur(5px);
}

/* Share Block Container */
.share-block {
    display: flex;
    justify-content: center; /* Centers buttons horizontally */
    align-items: center;
    gap: 10px;
    margin-top: 20px; /* Adds some space from the top of the page */
}

/* Buttons */
.share-button, .more-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Share Button Styles */
.share-button {
    background-color: #007BFF;
    color: white;
}

.share-button:hover {
    background-color: #0056b3;
}

/* More Button Styles */
.more-button {
    background-color: white;
    color: #007BFF;
    border: 1px solid #007BFF;
}

.more-button:hover {
    background-color: #f0f0f0;
}

/* Share Modal */
.share-modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); /* Blackout background */
    z-index: 10000; /* Ensure it appears above everything */
    display: flex; /* Center the modal */
    justify-content: center;
    align-items: center;
}

/* Share Modal Content */
.share-modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 10001; /* Modal content is above blackout background */
}

/* Close Modal Button */
.close-modal {
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

/* Preview Section */
.preview-container {
    margin-top: 20px;
    text-align: left;
}

.preview-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}
