.custom-otp-form {
    max-width: 500px;
    margin: 30px auto;
    text-align: center;
    background: #fff;
    box-shadow: 0 0 20px #0000001f;
    border-radius: 0 50px;
    padding: 50px;
    width: 100%;
    position: relative;
    border-bottom: 4px solid;
    border-top: 4px solid;
    border-color: var(--colorPrimary);
}
.custom-otp-form:before {
    content: '';
    width: 580px;
    height: calc(100% - 80px);
    background: linear-gradient(0deg, var(--colorPrimary), var(--colorSecondary));
    position: absolute;
    left: -40px;
    top: 0;
    bottom: 0;
    margin: auto;
    border-radius: 200px 0;
    z-index: -1;
}
.otp-form-logo{
    text-decoration: none;
    display: block;
}
.otp-form-logo img{
    max-width: 200px!important;
    height: auto!important;
}

.woocommerce form .form-row {
    width: 100% !important;
    text-align: start!important;
}

.otp-form-title{
    font-size: 25px !important;
    color: var(--colorPrimary) !important;
    font-weight: 900 !important;
    border-bottom: 3px dashed #eee;
    padding-bottom: 20px;
    width: 50%;
    margin: 0 auto 20px auto !important;
}
.form-row {
    margin-bottom: 15px;
}

.form-row label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-row input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.otp-inputs {
    display: flex;
    align-items: center;
    justify-content: center;
    direction: ltr;
}
.woocommerce-login-form{
    padding: 0!important;
    background: transparent!important;
    box-shadow: none!important;
}
.otp-input {
    width: 40px !important;
    height: 40px;
    text-align: center;
    font-size: 18px;
    margin: 0 5px;
    border-radius: 12px;
}
.optional-otp-inputs{
    border-top: 2px dashed #eee;
    padding-top: 20px;
    margin-top: 20px;
}
.phone-number-container input.otp-mobile-input#phone_number{
    border-radius: 12px!important;
    padding: 10px 15px!important;
    height: auto!important;
    line-height: normal!important;
    width: 100%;
}
.timer-container {
    text-align: center;
    margin: 10px 0;
}
.btn-spinner{
    animation: rotate-spinner 1s linear;
    animation-iteration-count: infinite;
    display: inline-block;
    line-height: 0;
}
.btn-spinner i{
    line-height: 0;
}
@keyframes rotate-spinner {
    0%{
        transform: rotate(0);
    }
    100%{
        transform: rotate(360deg);
    }
}
.send-otp-button ,
.verify-otp-button,
.resend-otp-button{
    background: rgba(var(--colorPrimaryRGB),0.2);
    color: var(--colorPrimary);
    width: 100%;
    padding: 10px 15px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: bold;
    transition: 300ms;
    border: 1px solid var(--colorPrimary) !important;
}
button[disabled]
{
    opacity: .5;
    cursor: default;
    user-select: none;
}

.send-otp-button:hover {
    background: var(--colorPrimary);
    color: #fff;
}
.resend-otp-button {
    background-color: var(--colorSecondary);
    margin-top: 10px;
}

.resend-otp-button:hover {
    background-color: #5a6268;
}

.jiawaz-otp-form form.woocommerce-form.woocommerce-form-login.login {
    display: none;
}

.custom-checkout-otp-container {
    margin-bottom: 40px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--colorPrimary);
    border-radius: 18px;
}

.woocommerce-checkout .custom-checkout-otp-container{
   width: 400px;
}
.checkout-otp-form{}
.checkout-otp-form .otp-form-title{
    margin: 0 !important;
    width: 100%;
    font-size: 20px !important;
    padding-bottom: 10px;
}
a.showlogin {
    color: var(--colorPrimary) !important;
}
@media (max-width: 992px) {
    .custom-otp-form{
        border-radius: 25px;
        padding: 30px 20px 20px;
    }
    .custom-otp-form:before {
        width: 80%;
        left: 0;
        right: 0;
        height: calc(100% + 40px);
        border-radius: 20px;
        opacity: 0.2;
        background: var(--colorPrimary);
    }
    .woocommerce-checkout .custom-checkout-otp-container{
        width: 100% !important;
    }
}

@media (max-width: 576px) {
    .otp-form-title{
        width: 100% !important;
    }
}