* {
    margin: 0;
    padding: 0;
}
#iframe {
    border: none;
    width: 100%;
    height: 100%;
}
#iframeDiv {
    width: 100%;
    height: 100%;
    display: none;
}
#container {
    width: 100%;
    height: 100vh;
    background-color: #0e0111;
    display: flex;
    flex-direction: column;
}
#loginAndSignUpDivCon {
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    
}
#loginSignUpAndShowcaseDiv {
    width: 100%;
    height: 100%;
    display: flex;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}
#showcaseDiv {
    width: 60%;
    height: 100%;
    background: url('../image/loginBag.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-family: monospace;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}
#showcaseTextSignIn {
    font-size: 3rem;
}
#showcaseTextSignIn2 {
    font-size: 1.5rem;
}
#loginAndSignUpDiv {
    width: 40%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}
#loginDiv {
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    gap: 20px;
    color: white;
    font-family: monospace;
    padding: 20px;
    align-items: center;
    justify-content: center;
}
#signUpDiv {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: white;
    font-family: monospace;
    padding: 20px;
    align-items: center;
    justify-content: center;
}
#loginText, #signUpText {
    font-size: 2rem;
    font-weight: bold;
    margin-top: 20px;
    font-family: monospace;
}
#loginFormDiv, #signUpFormDiv {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;

}
#loginForm, #signUpForm {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}
#loginEmailDiv, #loginPasswordDiv, #signUpUsernameDiv, #signUpEmailDiv, #signUpPasswordDiv {
    width: 80%;
    height: 60px;
    display: flex;
    background-color: transparent;
    border: 1px solid #ddd;
    border-radius: 20px;
    align-items: center;
    padding: 0 20px;
    gap: 10px;
    margin-top: 20px;
}
#loginEmailDiv i, #loginPasswordDiv i, #signUpUsernameDiv i, #signUpEmailDiv i, #signUpPasswordDiv i {
    color: white;
    font-size: 1.5rem;
}
#loginEmail, #loginPassword, #signUpUsername, #signUpEmail, #signUpPassword {
    width: 100%;
    height: 40px;
    background-color: transparent;
    border: none;
    outline: none;
    color: white;
    font-size: 1rem;
    font-family: monospace;
    font-size: 1.5rem;
}
#forgotPassText {
    width: 80%;
    text-align: right;
    font-size: 0.9rem;
    cursor: pointer;
    color: white;
    font-family: monospace;
    text-decoration: underline;
    margin-top: 10px;
}
#loginBtn, #signUpBtn {
    width: 90%;
    height: 50px;
    background-color: purple;
    border: none;
    border-radius: 25px;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    font-family: monospace;
    margin-top: 20px;
}
#signUpContinueWithGoogleBtn, #loginContinueWithGoogleBtn {
    width: 90%;
    height: 50px;
    background-color: #4285F4;
    border: none;
    border-radius: 25px;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    font-family: monospace;
    margin-top: 10px;
}
#noAccountText, #haveAccountText {
    font-size: 0.9rem;
    color: white;
    font-family: monospace;
    margin-top: 10px;
    text-align: center;
}
#noAccountText span, #haveAccountText span {
    text-decoration: underline;
    cursor: pointer;
}
@media (max-width: 768px) {
    #loginSignUpAndShowcaseDiv {
        width: 100%;
        height: 100%;
        padding: 0;
    }
    #showcaseDiv {
        display: none;
    }
    #loginAndSignUpDiv {
        width: 100%;
        height: 100%;
    }
    #loginEmailDiv, #loginPasswordDiv, #signUpUsernameDiv, #signUpEmailDiv, #signUpPasswordDiv {
        width: 90%;
    }
    #loginBtn, #signUpBtn {
        width: 95%;
    }
    
}
/* ===================== LOADING SCREEN ===================== */
#loadingScreenDivCon {
    width: 100%;
    height: 100%;
    background-color: #0e0111;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

#loadingScreenDiv {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    color: white;
    font-family: monospace;
}

/* App icon */
#appIconLoading {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(128, 0, 128, 0.6);
    animation: iconPop 1s ease-in-out;
}
@keyframes iconPop {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Typing animation (NO CURSOR, NO EXTRA SPACE) */
#animatedNaijaEarnText {
    font-size: 2rem;
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    animation: typing 2.8s steps(10, end) forwards;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
    letter-spacing: 1px;
}

@keyframes typing {
    from { width: 0; }
    to { width: 11ch; } /* exactly “Naija Earn” */
}

/* Loading bubbles */
#loadingBubble {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.bubble {
    width: 10px;
    height: 10px;
    background-color: purple;
    border-radius: 50%;
    animation: bubbleBounce 1.2s infinite ease-in-out;
}

.bubble:nth-child(1) { animation-delay: 0s; }
.bubble:nth-child(2) { animation-delay: 0.2s; }
.bubble:nth-child(3) { animation-delay: 0.4s; }

@keyframes bubbleBounce {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}
