/* ========================================
   Content Protection Styles
   Vision Mentoring International
   ======================================== */

/* Prevent text selection on all content */
body.content-protected {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Allow text selection in user input areas */
body.content-protected textarea,
body.content-protected input[type="text"],
body.content-protected input[type="email"],
body.content-protected input[type="password"],
body.content-protected input[type="search"],
body.content-protected .answer-input,
body.content-protected .chat-text-input {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Copyright footer */
.copyright-footer {
    background: #1e293b;
    color: #94a3b8;
    text-align: center;
    padding: 20px 16px;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 13px;
    line-height: 1.6;
    border-top: 1px solid #334155;
}

.copyright-footer .copyright-text {
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 4px;
}

.copyright-footer .copyright-warning {
    font-size: 11px;
    color: #64748b;
}

/* Warning toast notification */
.copy-warning-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #ef4444;
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 14px;
    font-weight: 500;
    z-index: 10000;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4);
    pointer-events: none;
}

.copy-warning-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Print my answers button */
.print-answers-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    border-radius: 10px;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin: 20px auto;
    transition: transform 0.2s, box-shadow 0.2s;
}

.print-answers-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

/* Print styles - only print user answers */
@media print {
    body.content-protected * {
        visibility: hidden;
    }

    body.content-protected .print-answers-area,
    body.content-protected .print-answers-area * {
        visibility: visible;
    }

    body.content-protected .print-answers-area {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }

    .control-panel,
    .copy-warning-toast,
    .print-answers-btn,
    .copyright-footer,
    .review-panel,
    .think-overlay,
    .loading-indicator {
        display: none !important;
    }
}
