/* Ochrona obrazków w galerii */
.protected-image {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    pointer-events: auto;
}

/* Modal z komunikatem */
.gallery-protection-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

.gallery-protection-content {
    background: white;
    border-radius: 8px;
    padding: 30px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: slideUp 0.3s ease-out;
}

.gallery-protection-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.gallery-protection-title {
    color: #1B365D;
    font-size: 20px;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.gallery-protection-text {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.gallery-protection-close {
    background: #1B365D;
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.gallery-protection-close:hover {
    background: #152a4a;
}

/* Animacje */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.gallery-protection-fadeout {
    animation: fadeOut 0.3s ease-out forwards;
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Responsywność */
@media (max-width: 480px) {
    .gallery-protection-content {
        padding: 20px;
        width: 95%;
    }
    
    .gallery-protection-title {
        font-size: 18px;
    }
    
    .gallery-protection-text {
        font-size: 13px;
    }
}