/* Security Alert Styles */
.security-alert-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: securityFadeIn 0.3s ease;
}

.security-alert-content {
    background: linear-gradient(135deg, #ff4444, #cc0000);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 30px rgba(255, 68, 68, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.2);
    max-width: 400px;
    width: 90%;
}

.security-alert-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: securityPulse 1s infinite;
}

.security-alert-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.security-alert-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.security-alert-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.security-alert-btn:hover {
    background: white;
    color: #cc0000;
    transform: translateY(-2px);
}

/* Security Warning Modal */
.security-warning-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10001;
    animation: securityFadeIn 0.5s ease;
}

.security-warning-content {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    color: white;
    box-shadow: 0 20px 60px rgba(255, 0, 0, 0.3);
    border: 3px solid #ff4444;
    max-width: 500px;
    width: 90%;
}

.security-warning-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: securityFlash 2s infinite;
}

.security-warning-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ff4444;
    text-shadow: 0 0 10px rgba(255, 68, 68, 0.5);
}

.security-warning-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #cccccc;
}

.security-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.security-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.security-btn.primary {
    background: linear-gradient(45deg, #ff4444, #cc0000);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.4);
}

.security-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 68, 68, 0.6);
}

.security-btn.secondary {
    background: transparent;
    color: #cccccc;
    border: 2px solid #666666;
}

.security-btn.secondary:hover {
    background: #666666;
    color: white;
    transform: translateY(-2px);
}

/* Animations */
@keyframes securityFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes securityPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes securityFlash {
    0%, 50%, 100% {
        opacity: 1;
    }
    25%, 75% {
        opacity: 0.5;
    }
}

/* Disable text selection globally */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Allow text selection for input fields */
input, textarea, [contenteditable="true"] {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Disable image dragging */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

/* Re-enable pointer events for clickable images */
img[onclick], img[data-action], .clickable-image {
    pointer-events: auto;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .security-warning-content {
        padding: 2rem;
        margin: 1rem;
    }
    
    .security-warning-content h2 {
        font-size: 1.5rem;
    }
    
    .security-actions {
        flex-direction: column;
    }
    
    .security-btn {
        width: 100%;
    }
}

/* Console styling override */
.console-message {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.4;
}