/* Styles for sharing buttons */

.sharing-buttons-container {
    margin-top: 10px;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.sharing-buttons-title {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.sharing-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sharing-button {
    color: white;
    border: none;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.sharing-button:hover {
    opacity: 0.9;
}

.sharing-button-vk {
    background-color: #4C75A3;
}

.sharing-button-telegram {
    background-color: #0088CC;
}

.sharing-button-whatsapp {
    background-color: #25D366;
}

.sharing-button-facebook {
    background-color: #1877F2;
}

.sharing-button-twitter {
    background-color: #1DA1F2;
}

/* Styles for the image modal window */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.image-modal img {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
}

.image-modal .close-button {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 2001;
}

.image-modal .sharing-buttons {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 8px;
    display: flex;
    gap: 10px;
}

/* Responsiveness for mobile devices */
@media (max-width: 768px) {
    .image-modal .sharing-buttons {
        flex-wrap: wrap;
        justify-content: center;
        width: 90%;
    }

    .sharing-button {
        font-size: 12px;
        padding: 5px 8px;
    }
}
