/* Security Overlay Styles */
#security-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Inter', sans-serif;
    transition: opacity 0.5s ease;
}

#security-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

.overlay-content {
    background: #111;
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid #333;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.lock-icon {
    color: #f39c12;
    margin-bottom: 1.5rem;
}

.overlay-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Sora', sans-serif;
}

.overlay-content p {
    color: #999;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#site-password {
    background: #000;
    border: 1px solid #444;
    padding: 12px 15px;
    color: white;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    text-align: center;
}

#site-password:focus {
    border-color: #f39c12;
}

#submit-password {
    background: #f39c12;
    color: black;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

#submit-password:hover {
    background: #e67e22;
}

.error-msg {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 1rem;
    height: 1rem;
}

/* Prevent scrolling when locked */
body.site-locked {
    overflow: hidden !important;
}

/* Shake Animation */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
    20%, 40%, 60%, 80% { transform: translateX(10px); }
}

.shake {
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}
