/* Access Denied styles */
#access-denied-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

#access-denied-message {
    font-family: monospace, 'Courier New', Courier;
    color: #ff0000;
    font-size: 6rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5rem;
    text-shadow: 0 0 30px rgba(255, 0, 0, 0.9);
    padding: 3rem;
    border: 4px solid #ff0000;
    background-color: rgba(0, 0, 0, 0.8);
    position: relative;
    animation: glitch 0.5s infinite alternate, pulse 2s infinite;
}

/* Error message styling */
.error-message {
    color: #ff0000;
    margin-bottom: 15px;
}

/* Flash animation */
.flash.active {
    animation: flash 1.5s forwards;
}

@keyframes flash {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes glitch {
    0%, 5%, 10% {
        transform: translate(0);
        text-shadow: 0 0 30px rgba(255, 0, 0, 0.9);
    }
    1% {
        transform: translate(-5px, 2px);
        text-shadow: -5px 0 10px rgba(255, 0, 0, 0.9);
    }
    6% {
        transform: translate(5px, -2px);
        text-shadow: 5px 0 10px rgba(255, 0, 0, 0.9);
    }
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 30px rgba(255, 0, 0, 0.7); }
    50% { box-shadow: 0 0 60px rgba(255, 0, 0, 0.9); }
}

#scanline {
    position: absolute;
    top: 0;
    left: -100%;
    width: 300%;
    height: 5px;
    background: rgba(255, 0, 0, 0.7);
    animation: scan 2s linear infinite;
}

@keyframes scan {
    0% { left: -100%; }
    100% { left: 100%; }
} 