/**
 * Copy Protection Modal Styles
 * Ponto de Vista Jurídico Theme
 */

/* Modal Overlay */
.copy-protection-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-in-out;
}

.copy-protection-modal.active {
    display: flex;
}

/* Modal Content */
.copy-protection-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease-in-out;
}

/* Dark Mode Support */
body.dark-mode .copy-protection-content {
    background: #1a1a1a;
    color: #e0e0e0;
}

/* Close Button */
.copy-protection-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.copy-protection-close:hover {
    color: #333;
}

body.dark-mode .copy-protection-close {
    color: #999;
}

body.dark-mode .copy-protection-close:hover {
    color: #fff;
}

/* Icon */
.copy-protection-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: #ff6b6b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #fff;
}

/* Title */
.copy-protection-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px 0;
    text-align: center;
}

body.dark-mode .copy-protection-title {
    color: #e0e0e0;
}

/* Message */
.copy-protection-message {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 25px 0;
    text-align: center;
}

body.dark-mode .copy-protection-message {
    color: #b0b0b0;
}

/* Button */
.copy-protection-button {
    background: #0056b3;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    display: block;
    width: 100%;
    transition: background 0.3s ease;
}

.copy-protection-button:hover {
    background: #004494;
}

body.dark-mode .copy-protection-button {
    background: #1e5a9e;
}

body.dark-mode .copy-protection-button:hover {
    background: #164676;
}

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

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.copy-protection-modal.closing {
    animation: fadeOut 0.3s ease-in-out;
}

/* Responsive */
@media (max-width: 768px) {
    .copy-protection-content {
        padding: 25px 20px;
        width: 95%;
    }

    .copy-protection-title {
        font-size: 20px;
    }

    .copy-protection-message {
        font-size: 15px;
    }

    .copy-protection-button {
        padding: 10px 25px;
        font-size: 15px;
    }

    .copy-protection-icon {
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}
