/* security.css */

/* Prevent text selection across the site to add an extra layer of protection */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Security Overlay Styles */
#security-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(10, 10, 10, 0.95);
    z-index: 2147483647; /* Max z-index to stay on top */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    pointer-events: all; /* Ensure it blocks clicks to underlying elements */
    color: #ffffff;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

#security-overlay .security-lock-img {
    max-width: 300px;
    width: 100%;
    height: auto;
    margin-bottom: 24px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

#security-overlay h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fca5a5; /* Subtle warning red */
}

#security-overlay p {
    font-size: 1.1rem;
    color: #a3a3a3;
    max-width: 400px;
    line-height: 1.5;
    margin: 0;
}

/* The class added to the body/main content when devtools is detected */
.security-blur #main-content {
    filter: blur(15px);
    pointer-events: none;
    user-select: none;
}
