/* 防止选择文本 - 只应用于内容区域 */
.wp-copy-protected {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* 确保表单元素可以选择文本 */
.wp-copy-protected input,
.wp-copy-protected textarea {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

/* 防止打印 */
@media print {
    body {
        display: none !important;
    }
}

/* 自定义提示框样式 */
.wp-copy-rights-tooltip {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 15px 25px;
    border-radius: 5px;
    font-size: 14px;
    z-index: 999999;
    pointer-events: none;
    opacity: 0;
    animation: fadeInOut 2s ease-in-out;
}

/* 水印容器基础样式 */
.wp-copy-rights-watermark-container {
    pointer-events: none !important;
    user-select: none !important;
}

/* 动画效果 */
@keyframes fadeInOut {
    0% { opacity: 0; transform: translate(-50%, -60%); }
    10% { opacity: 1; transform: translate(-50%, -50%); }
    90% { opacity: 1; transform: translate(-50%, -50%); }
    100% { opacity: 0; transform: translate(-50%, -40%); }
}

/* 开发者工具启发式提醒：模态层 */
.wp-copy-rights-devtools-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2147483640;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.wp-copy-rights-devtools-modal {
    max-width: 420px;
    width: 100%;
    background: #fff;
    color: #1d2327;
    border-radius: 6px;
    padding: 22px 22px 18px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    font-size: 14px;
    line-height: 1.55;
}

.wp-copy-rights-devtools-modal__title {
    font-weight: 600;
    font-size: 16px;
    margin: 0 0 10px;
}

.wp-copy-rights-devtools-modal__text {
    margin: 0 0 10px;
}

.wp-copy-rights-devtools-modal__hint {
    margin: 0 0 18px;
    font-size: 12px;
    color: #646970;
}

.wp-copy-rights-devtools-modal__btn {
    display: inline-block;
    padding: 8px 18px;
    font-size: 14px;
    line-height: 1.4;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background: #2271b1;
    color: #fff;
}

.wp-copy-rights-devtools-modal__btn:hover,
.wp-copy-rights-devtools-modal__btn:focus {
    background: #135e96;
    color: #fff;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .wp-copy-rights-tooltip {
        width: 80%;
        max-width: 300px;
        font-size: 12px;
        padding: 10px 15px;
        text-align: center;
    }

    .wp-copy-rights-devtools-modal {
        padding: 18px 16px 14px;
        font-size: 13px;
    }

    .wp-copy-rights-devtools-modal__btn {
        width: 100%;
        padding: 10px 16px;
    }
} 