/* Progress bar container */
#xcart-otp-progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for container */
}

/* Progress bar with halo effect */
#xcart-otp-progress {
    height: 100%;
    width: 0%;
    border-radius: 50px;
    position: absolute;
    top: 0;
    left: 0;
    transition: width linear;
    box-shadow: 0 0 15px 5px rgba(0, 133, 186, 0.3); /* Glowing halo effect */
}
#xcart-otp-login-input:focus-visible {
    outline-color: #13906b;
}

.otp-login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Full viewport height */
    width: 100vw; /* Full viewport width */
    position: fixed; /* Ensure it stays fixed in the center */
    top: 0;
    left: 0;
    z-index: 1000; /* Ensure it appears above other elements */
}
.xcart-otp-form-wrapper {
    width: 50%;
    max-width: 50%; /* Optional to constrain size on smaller screens */
    border: 1px solid #e1e1e1;
    border-radius: 15px;
    box-shadow: 1px 1px 3px 0px #d6d6d638;
    overflow: hidden;
    background: white;
}
.xcart-otp-form-area {
    display: grid;
    align-items: center;
    justify-items: center;
    align-content: center;
}

#xcart-otp-send-btn {
    border: none;
    width: 70%;
    height: 35px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    cursor: pointer;
}
#xcart-otp-login-input {
    border: 1px solid #c7c7c7;
    width: 70%;
    height: 40px;
    border-radius: 5px;
    display: flex;
    text-align: center;
    margin: 20px 0px;
    direction: ltr;
} 
p.xcart-otp-line {
    padding: 5px 0px !Important;
    width: 100% !Important;
    line-height: 40px;
    margin: 0px;
}
p#xcart-otp-go-back-btn {
    line-height: 25px;
    cursor: pointer;
}

#xcart-otp-login-input::-webkit-input-placeholder {
    color: #b3b3b3e3;
    font-size: 14px;
}

.xcart-otp-verify-btn-section {
    display: flex;
    text-align: center;
    justify-content: center;
}
#xcart-otp-verify-btn {
    width: 100%;
    border: none;
    border-radius: 5px;
    margin-top: 20px !important;
    height: 35px;
    cursor: pointer;
}
#xcart-otp-resend-btn {
    border: none;
    border-radius: 5px;
    width: 30%;
    height: 35px;
    margin-top: 20px !important;
}
.xcart-otp-digit {
    border: 1px solid #d6d6d6 !important;
    direction: ltr;
    height: 40px !important;
    border-radius: 5px !important;
    
}
.xcart-otp-digit:focus-visible {
    outline-color: #13906b;
}
div#xcart-otp-error {
    font-size: 16px;
    margin-top: 20px;
}
#xcart-otp-code-container {
    direction: ltr;
    justify-content: center;
        padding-top: 10px;
}
#xcart-otp-clock {
    margin-top: 20px;
}
.xcart-otp-code-container-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
    width: 100%;
}
#xcart-password-error {
    text-align: center;
    margin-top: 10px;
}


#xcart-password-input {
    border: 1px solid #c7c7c7;
    width: 70%;
    height: 40px;
    border-radius: 5px;
    display: flex;
    text-align: center;
    margin: 20px 0px;
    direction: ltr;
}

.loading-spinner {
    border: 2px solid transparent;
    border-top: 2px solid #fff;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    display: inline-block;
    animation: spin 1s linear infinite;
    margin-right: 5px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.xcart-otp-form-wrapper-no-image {
    width: 30%;
}

@media only screen and (max-width: 600px) {
.xcart-otp-form-wrapper {
    flex-direction: column;
    max-width: 90%;
    width: 90%;
    max-height: 90%;
}
.xcart-otp-form-image {
    display: none;
}
.otp-login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}
}
@media only screen and (min-width: 601px) and (max-width: 1024px) {
.xcart-otp-form-wrapper {
    width: 90%;
    max-width: 90%;
    border: 1px solid #e1e1e1;
    border-radius: 15px;
    box-shadow: 1px 1px 3px 0px #d6d6d638;
    overflow: hidden;
    background: white;
}
    
}