* {
    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: linear-gradient(135deg,
            #5e17eb 0%,
            #3a1490 40%,
            #000000 100%);
}

.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,
.otp-inputs-login,
.otp-inputs-customer-login {
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
}

.otp-inputs,
.otp-inputs-login,
.otp-inputs-customer-login 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;
}



.strength-bar {
    height: 6px;
    border-radius: 5px;
    margin: 6px 0;
    background: #ddd;
    overflow: hidden;
}

.strength-bar span {
    display: block;
    height: 100%;
    width: 0;
    transition: width 0.3s ease;
}

.weak {
    background: red;
    width: 25%;
}

.medium {
    background: orange;
    width: 50%;
}

.strong {
    background: #f1c40f;
    width: 75%;
}

.very-strong {
    background: green;
    width: 100%;
}

/* Tooltip */
.custom-tooltip {
    font-size: 12px;
    background: #f8f8f8;
    border: 1px solid #ddd;
    padding: 8px;
    border-radius: 6px;
    margin-top: 5px;
    margin-bottom: 5px;
    display: none;
}

.custom-tooltip ul {
    padding-left: 18px;
    margin: 0;
}

.custom-tooltip ul li {
    margin: 3px 0;
}

.valid {
    color: green;
}

.invalid {
    color: red;
}


.login-toggle {
    display: flex;
    margin-bottom: 15px;
}

.login-toggle button {
    flex: 1;
    padding: 8px;
    border: none;
    background: #eee;
    cursor: pointer;
    font-size: 13px;
    color: #000;
}

.login-toggle button.active {
    background: #667eea;
    color: #fff;
    font-weight: 600;
}

.sign-up-btn {
    font-size: 14px;
    display: block;
    text-align: center;
    margin-top: 10px;
    background: #40159f;
    color: #fff;
    padding: 10px;
    border-radius: 11px;
    text-decoration: none;
}


.social-auth {
    display: flex;
    gap: 12px;
    margin: 15px 0;
}

.social-btn {
    flex: 1;
    padding: 12px;
    border-radius: 6px;
    border: none;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
}

.social-btn i {
    font-size: 16px;
}

.social-btn.google {
    background: #fff;
    border: 1px solid #ddd;
    color: #444;
}

.social-btn.facebook {
    background: #1877f2;
    color: #fff;
}

.social-btn.apple {
    background: #000;
    color: #fff;
}

.divider {
    text-align: center;
    margin: 15px 0;
    position: relative;
}

.divider span {
    background: #fff;
    padding: 0 10px;
    font-size: 12px;
    color: #888;
}

.divider::before {
    content: "";
    height: 1px;
    width: 100%;
    background: #ddd;
    position: absolute;
    top: 50%;
    left: 0;
    z-index: -1;
}

/* Mobile */
@media (max-width: 768px) {
    .social-auth {
        flex-direction: column;
    }
}

.otp-timer {
    font-size: 14px;
    color: #666;
}

button[disabled] {
    opacity: 0.5;
    pointer-events: none;
}

.resend-btn {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.resend-btn.show {
    display: inline-block;
    opacity: 1;
    pointer-events: auto;
}

.otp-timer {
    font-size: 14px;
    color: #666;
}