* {
    margin: 0;
    padding: 0;
    user-select: none;
}

#iframe {
    border: none;
    width: 100%;
    height: 100%;
}

a,
div,
button,
span i {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

#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;
}

#loginEmailErrorDiv,
#loginPasswordErrorDiv,
#signUpUsernameErrorDiv,
#signUpEmailErrorDiv,
#signUpPasswordErrorDiv {
    color: red;
    font-family: monospace;
    text-align: center;
    margin-top: 10px;
}

#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;
    }
}

#verifyVerificationCodeDivCon {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10002;
    gap: 20px;
}

#verifyVerificationCodeDiv {
    width: 100%;
    max-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #1a0a23;
    padding: 20px;
    align-items: center;
    justify-content: center;

}

#verifyVerificationCodeText {
    font-size: 1.5rem;
    color: white;
    font-family: monospace;
}

#verificationCodeInstructionsText {
    font-size: 1rem;
    color: white;
    font-family: monospace;
    text-align: center;
}

#verificationCodeForm {
    display: flex;
    gap: 10px;
    flex-direction: column;
}

#sixInputCodeDiv {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.codeInput {
    width: 40px;
    height: 50px;
    font-size: 2rem;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: transparent;
    color: white;
    font-family: monospace;
    outline: none;
}

#verifyCodeBtn {
    width: 100%;
    height: 50px;
    background-color: purple;
    border: none;
    border-radius: 25px;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    font-family: monospace;
    margin-top: 20px;
}

#resendCodeText {
    font-size: 1rem;
    color: white;
    font-family: monospace;
    text-align: center;
    text-decoration: underline;
    cursor: pointer;
}

#resendCodeSpan {
    font-weight: bold;
    text-decoration: none;
}

@media (max-width: 768px) {
    #sixInputCodeDiv {
        gap: 5px;
    }

    #verifyVerificationCodeDiv {
        padding: 10px;
    }
}

#accountNotYetVerifiedDivCon {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10003;
    gap: 20px;
}

#accountNotYetVerifiedDiv {
    width: 100%;
    max-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #1a0a23;
    padding: 20px;
    align-items: center;
    justify-content: center;
}

#accountNotYetVerifiedText {
    font-size: 1.5rem;
    color: red;
    font-family: monospace;
}

#accountNotYetVerifiedInstructionsText {
    font-size: 1rem;
    color: white;
    font-family: monospace;
    text-align: center;
}

#goToVerifyBtn {
    width: 200px;
    height: 50px;
    background-color: purple;
    border: none;
    border-radius: 25px;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    font-family: monospace;
    margin-top: 20px;
}

#goToVerifyBtn:active {
    transform: scale(0.98);
}

@media (max-width: 768px) {
    #accountNotYetVerifiedDiv {
        padding: 10px;
    }
}

#NotVerifiedErrorDiv {
    color: red;
    font-family: monospace;
    text-align: center;
    margin-top: 10px;
}

#verificationErrorDiv {
    color: red;
    font-family: monospace;
    text-align: center;
    margin-top: 10px;
}

#logOutText {
    font-size: 1rem;
    color: white;
    font-family: monospace;
    text-align: center;
    text-decoration: underline;
    cursor: pointer;
}

#logOutSpan {
    font-weight: bold;
    text-decoration: none;
    color: red;
}

/* Wrapper layout */
#acceptPrivacyAndPolicyCheckboxDiv {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    color: white;
    font-size: 14px;
    user-select: none;
}

/* Hide native checkbox */
#acceptPrivacyAndPolicyCheckbox {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid purple;
    border-radius: 6px;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    background-color: #fff;
}

/* Hover effect */
#acceptPrivacyAndPolicyCheckbox:hover {
    border-color: #8e44ad;
    box-shadow: 0 0 5px rgba(155, 89, 182, 0.4);
}

/* Checked state */
#acceptPrivacyAndPolicyCheckbox:checked {
    background-color: purple;
    border-color: purple;
}

/* Checkmark */
#acceptPrivacyAndPolicyCheckbox:checked::after {
    content: "✔";
    color: white;
    font-size: 13px;
    position: absolute;
    left: 3px;
    top: 0px;
    font-weight: bold;
}

/* Label style */
#label {
    cursor: pointer;
}

/* Links styling */
#privacyPolicySpan,
#termsOfServiceSpan {
    color: purple;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease;
}

#privacyPolicySpan:hover,
#termsOfServiceSpan:hover {
    color: #8e44ad;
    text-decoration: underline;
}
#privacyPolicyDivCon {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10004;
    justify-content: center;
    align-items: center;
}
#privacyPolicyDiv {
    width: 90%;
    height: 80%;
    background-color: #1a0a23;
    padding: 20px;
    overflow-y: auto;
    border-radius: 10px;
}
#privacyPolicyHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#privacyPolicyCloseBtn {
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}
#privacyPolicyTitle {
    font-size: 1.5rem;
    color: white;
    font-family: monospace;
}
#privacyPolicyContent {
    margin-top: 20px;
    color: white;
    font-family: monospace;
    line-height: 1.6;
    overflow: auto;
}
#privacyPolicyContent h2 {
    margin-top: 20px;
    margin-bottom: 10px;
}
#privacyPolicyContent p {
    margin-bottom: 10px;
}
#privacyPolicyContent ul {
    margin-left: 20px;
    margin-bottom: 10px;
}
#privacyPolicyContent li {
    margin-bottom: 5px;
}
#privacyPolicyContent h3 {
    margin-top: 15px;
    margin-bottom: 10px;
}
#privacyPolicyContent a {
    color: purple;
    text-decoration: underline;
    cursor: pointer;
}
@media (max-width: 768px) {
    #privacyPolicyDiv {
        width: 100%;
        height: 100%;
        padding: 10px;
        border-radius: 0;

    }
}
#tersmsAndServicesDivCon {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10005;
    justify-content: center;
    align-items: center;
}
#termsOfServiceDiv {
    width: 90%;
    height: 80%;
    background-color: #1a0a23;
    padding: 20px;
    overflow-y: auto;
    border-radius: 10px;
}
#termsOfServiceHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#termsOfServiceCloseBtn {
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}
#termsOfServiceTitle {
    font-size: 1.5rem;
    color: white;
    font-family: monospace;
}
#termsOfServiceContent {
    margin-top: 20px;
    color: white;
    font-family: monospace;
    line-height: 1.6;
    overflow: auto;
}
#termsOfServiceContent h2 {
    margin-top: 20px;
    margin-bottom: 10px;
}
#termsOfServiceContent p {
    margin-bottom: 10px;
}
#termsOfServiceContent ul {
    margin-left: 20px;
    margin-bottom: 10px;
}
#termsOfServiceContent li {
    margin-bottom: 5px;
}
#termsOfServiceContent h3 {
    margin-top: 15px;
    margin-bottom: 10px;
}
#termsOfServiceContent a {
    color: purple;
    text-decoration: underline;
    cursor: pointer;
}
@media (max-width: 768px) {
    #termsOfServiceDiv {
        width: 100%;
        height: 100%;
        padding: 10px;
        border-radius: 0;

    }
}
button:active {
    transform: scale(0.98);
}
#forgetPasswordDivCon {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10006;
    gap: 20px;
}
#forgetPasswordDiv {
    width: 450px;
    max-width: 100%;
    height: 80%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #1a0a23;
    padding: 20px;
    align-items: center;
    justify-content: center;
}
#forgetPasswordText {
    font-size: 1.5rem;
    color: white;
    font-family: monospace;
}
#forgetPasswordInstructionsText {
    font-size: 1rem;
    color: white;
    font-family: monospace;
    text-align: center;
}
#forgetPasswordForm {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    align-items: center;
}
#forgetPasswordEmailDiv {
    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;
}
#forgetPasswordEmailDiv i {
    color: white;
    font-size: 1.5rem;
}
#forgetPasswordEmail {
    width: 100%;
    height: 40px;
    background-color: transparent;
    border: none;
    outline: none;
    color: white;
    font-size: 1rem;
    font-family: monospace;
    font-size: 1.5rem;
}
#sendResetLinkBtn {
    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;
}
#sendResetLinkBtn:active {
    transform: scale(0.98);
}
#backToLoginText {
    font-size: 1rem;
    color: white;
    font-family: monospace;
    text-align: center;
    text-decoration: underline;
    cursor: pointer;
}
#backToLoginSpan {
    font-weight: bold;
    text-decoration: none;
}
#resetPassordEmailDiv {
    display: flex;
    flex-direction: column;
}
#enterCodeInstructionsText {
    font-size: 1rem;
    color: white;
    font-family: monospace;
    text-align: center;
}
#forgetPasswordCodeForm {
    display: flex;
    gap: 10px;
    flex-direction: column;
    align-items: center;
}
#sixInputForgetPasswordCodeDiv {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
}
.forgetPasswordCodeInput {
    width: 40px;
    height: 50px;
    font-size: 2rem;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: transparent;
    color: white;
    font-family: monospace;
    outline: none;
}
#verifyForgetPasswordCodeBtn {
    width: 100%;
    height: 50px;
    background-color: purple;
    border: none;
    border-radius: 25px;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    font-family: monospace;
    margin-top: 20px;
}
#enterCodeDiv {
    display: none;
    flex-direction: column;
}
#resetPasswordDiv {
    width: 100%;
}
#resetPasswordInstructionsText {
    font-size: 1rem;
    color: white;
    font-family: monospace;
    text-align: center;
}
#resetPasswordForm {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    align-items: center;
}
#newPasswordDiv {
    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;
}
#newPasswordDiv i {
    color: white;
    font-size: 1.5rem;
}
#newPasswordInput {
    width: 100%;
    height: 40px;
    background-color: transparent;
    border: none;
    outline: none;
    color: white;
    font-size: 1rem;
    font-family: monospace;
    font-size: 1.5rem;
}
#confirmNewPasswordDiv {
    width: 80%;
    height: 60px;
    display: flex;
    background-color: transparent;
    border: 1px solid #ddd;
    border-radius: 20px;
    align-items: center;
    padding: 0 20px;
    gap: 10px;
}
#confirmNewPasswordDiv i {
    color: white;
    font-size: 1.5rem;
}
#confirmNewPasswordInput {
    width: 100%;
    height: 40px;
    background-color: transparent;
    border: none;
    outline: none;
    color: white;
    font-size: 1rem;
    font-family: monospace;
    font-size: 1.5rem;
}
#resetPasswordBtn {
    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;
}
#resetPasswordDiv {
    display: none;
}
#forgetPasswordErrorDiv {
    color: red;
    font-family: monospace;
    text-align: center;
    margin-top: 10px;
    display: none;
}
@media (max-width: 768px) {
    #forgetPasswordDiv {
        width: 100%;
        height: 100%;
        padding: 10px;
        border-radius: 0;
    }
    
}