/**
 * PlusiMax Anti-Theft & Source Code Protection Protocol - CSS Shield
 * Sayfa kodlarını ve arayüz elemanlarını çalmaya karşı stil koruma katmanı
 */

/* Metin seçimi koruması - Arayüz metinlerinin ve kaynak yapısının toplu kopyalanmasını engeller */
body, 
.wrapper, 
.main-content, 
.card, 
.table, 
.sidebar, 
.navbar, 
.footer,
.login-card,
.auth-box {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Kullanıcı etkileşiminin ve kopyalamanın meşru olduğu alanlar - Formlar ve kod alanları SERBEST */
input, 
textarea, 
select, 
[contenteditable="true"], 
.allow-select, 
.user-select-text, 
.copyable, 
code, 
pre, 
.badge, 
.form-control,
.custom-select,
.note-editable,
.tox-tinymce {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

/* Görsel ve logo sürükleme koruması */
img, 
svg, 
.sanatizi-logo, 
.navbar-brand img, 
.user-avatar-wrap img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: auto;
}

/* Şık Güvenlik Bildirim Rozeti (Toast) */
.pm-security-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999999;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: rgba(15, 23, 42, 0.94);
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    border-radius: 12px;
    border: 1px solid rgba(239, 68, 68, 0.35);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.pm-security-toast.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.pm-security-toast-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

.pm-security-toast-content {
    display: flex;
    flex-direction: column;
}

.pm-security-toast-title {
    font-weight: 700;
    font-size: 13px;
    color: #f87171;
    letter-spacing: 0.3px;
}

.pm-security-toast-msg {
    font-size: 12px;
    color: #e2e8f0;
}

/* ========================================================
   Sağ Tık Kurumsal PlusiMax Logo Rozeti (Yalnızca Logo)
   ======================================================== */
.pm-logo-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    background: rgba(13, 4, 24, 0.92);
    border-radius: 999px;
    border: 1.5px solid rgba(228, 90, 146, 0.45);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55), 0 0 25px rgba(228, 90, 146, 0.28);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    transform: translateY(16px) scale(0.94);
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.pm-logo-toast.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.pm-logo-toast-img {
    height: 28px;
    width: auto;
    max-width: 135px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}
