* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
    background-image: url('../../../image/login-background.png');
}

.body-overlay {
    background: #000000bf;
    position: absolute;
    background-size: cover;
    width: 100%;
    height: 120%;
    z-index: -1;
}

.typing {
    font-size: 28px;
    color: white;
    margin-bottom: 20px;
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid white;
    width: 0;
    animation: typing 3s steps(20, end) forwards, blink 0.7s infinite;
}

@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 290px
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

.form-container {
    background: #ffffffd1;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    width: 90%;
    max-width: 1000px;
}

.form-box {
    flex: 1;
    min-width: 300px;
    padding: 30px;
    animation: fadeIn 0.6s ease;
}

h2 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #444;
}

.sub-msg {
    font-size: 13px;
    color: #777;
    margin-bottom: 15px;
}

.input-group {
    position: relative;
    margin-bottom: 12px;
}

.input-group i {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: #888;
    font-size: 14px;
}

.input-group input {
    width: 100%;
    padding: 10px 15px 10px 35px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 13px;
}

.show-pass {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
    font-size: 12px;
    color: #666;
}

button {
    width: 100%;
    padding: 12px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    margin-top: 10px;
    cursor: pointer;
    transition: 0.3s ease;
}

button:hover {
    background: #4b53c1;
}

.otp-inputs {
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
}

.otp-inputs input {
    width: 20%;
    text-align: center;
    font-size: 18px;
    padding: 10px;
}

.hidden {
    display: none;
}

@media (max-width: 768px) {
    .form-container {
        flex-direction: column;
        max-width: 100%;
        width: 100%;
    }

    .typing {
        font-size: 18px;
        text-align: center;
        margin-bottom: 20px;
    }

    .form-box {
        min-width: 100%;
        padding: 30px 15px;
        align-content: center;
    }

    #signupBox {
        display: none;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.custom-loader-overlay {
    position: fixed;
    /* Use absolute if inside a parent div */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Loader Container */
.custom-loader-container {
    position: relative;
    width: 80px;
    height: 80px;
}

/* Static Favicon */
.custom-loader-logo {
    width: 50px;
    height: 50px;
    background: url('../../../image/favicon.ico') no-repeat center;
    background-size: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Outer Ring */
/*.custom-loader-ring {*/
/*    width: 80px;*/
/*    height: 80px;*/
/*    border-radius: 50%;*/
/*    border: 6px solid transparent;*/
/*    border-top: 6px solid #5d10ec;*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    animation: spin 1s linear infinite;*/
/*}*/

/* Inner Ring */
/*.custom-loader-ring::after {*/
/*    content: "";*/
/*    width: 60px;*/
/*    height: 60px;*/
/*    border-radius: 50%;*/
/*    border: 6px solid transparent;*/
/*    border-top: 6px solid #000;*/
/*    position: absolute;*/
/*    top: 10px;*/
/*    left: 10px;*/
/*    animation: spinReverse 1.5s linear infinite;*/
/*}*/

.custom-loader-ring {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 6px solid #5d10ec;
    opacity: 0.6;
    animation: pulse 1.5s ease-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.4;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes spinReverse {
    100% {
        transform: rotate(-360deg);
    }
}

/*.custom-loader-ring {*/
/*    width: 80px;*/
/*    height: 80px;*/
/*    border-radius: 50%;*/
/*    border: 8px solid transparent;*/
/*    border-top: 8px solid #007bff;*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    animation: spin 1s linear infinite;*/
/*}*/

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Hide loader when processing is complete */
.hidden {
    display: none;
}