
    /* Full-screen overlay */
    #passwordOverlay {
        position: fixed;
        display: flex;
        justify-content: center;
        align-items: center;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        z-index: 9999;
    }

    /* Password popup box with sliding effect */
    #passwordBox {
        background-color: white;
        padding: 60px;
        border-radius: 8px;
        text-align: center;
        box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
        width: 500px;
        border: 4px solid red;
        animation: slideDown 1s ease-out forwards;
        position: relative;
    }

    /* Sliding effect for popup */
    @keyframes slideDown {
        0% {
            transform: translateY(-100%);
            opacity: 0;
        }

        100% {
            transform: translateY(0);
            opacity: 1;
        }
    }

    /* Spin effect */
    @keyframes spin {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }

    /* Wobble effect when incorrect password is entered */
    @keyframes wobble {

        0%,
        100% {
            transform: translateX(0);
        }

        15%,
        45%,
        75% {
            transform: translateX(-10px);
        }

        30%,
        60%,
        90% {
            transform: translateX(10px);
        }
    }

    /* Bold Headline */
    #passwordBox h2 {
        margin-bottom: 10px;
        font-size: 32px;
        color: #333;
        font-weight: bold;
    }

    /* Subheadline */
    #passwordBox h3 {
        margin-bottom: 20px;
        font-size: 22px;
        color: #555;
    }

    /* Input field with permanent black border */
    #passwordInput {
        padding: 15px;
        width: 85%;
        font-size: 18px;
        margin-bottom: 20px;
        border: 2px solid black;
        border-radius: 4px;
    }

    /* Submit button with glowing red effect */
    #submitPassword {
        padding: 15px 30px;
        background-color: red;
        color: white;
        border: 2px solid red;
        border-radius: 4px;
        cursor: pointer;
        font-size: 18px;
        outline: none;
        animation: pulseGlow 1.5s infinite;
    }

    /* Success state for green button and border */
    #passwordBox.success #submitPassword {
        background-color: green;
        border-color: green;
    }

    #passwordBox.success {
        border-color: green;
    }

    /* Emoji style */
    #emoji {
        font-size: 48px;
        display: none;
        margin-top: 20px;
    }

    /* Error message */
    #errorMessage {
        color: red;
        margin-top: 10px;
        display: none;
    }

    /* Button animation: glowing pulsing effect */
    @keyframes pulseGlow {
        0% {
            box-shadow: 0 0 5px rgba(255, 0, 0, 0.7), 0 0 10px rgba(255, 0, 0, 0.5);
            transform: scale(1);
        }

        50% {
            box-shadow: 0 0 20px rgba(255, 0, 0, 1), 0 0 30px rgba(255, 0, 0, 0.7);
            transform: scale(1.1);
        }

        100% {
            box-shadow: 0 0 5px rgba(255, 0, 0, 0.7), 0 0 10px rgba(255, 0, 0, 0.5);
            transform: scale(1);
        }
    }
