#login-box h3,
#register-box h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
    width: 70%;
}

#login-box input,
#register-box input {
    color: var(--bs-body-color);
    appearance: none;
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    padding-block: 14px;
    border-radius: 12px !important;
    padding-left: 12px;
    margin-bottom: 20px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    width: 70%;
}


#show-otp,
#send-otp {
    margin-bottom: 20px;
}

#login-box input:last-child,
#register-box input:last-child {
    margin-bottom: 0px;
}

#login-btn,
#show-otp,
#send-otp,
#register-btn,
#verify-otp,
#resend-otp {
    padding: 8px 20px;
    border-radius: 12px;
    width: 70%;
    text-align: center;
    border: 1px solid #5e9400;
    background: white;
    font-size: 1rem;
    font-weight: 500;
    line-height: 25px;
    color: #5e9400;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    margin-top:15px; 
}

#login-message {
    margin-bottom: 20px;
}

#verify-otp {
    margin-bottom: 20px;
}

#login-btn:focus,
#show-otp:focus,
#send-otp:focus,
#register-btn:focus,
#verify-otp:focus,
#resend-otp:focus,
#login-box input:focus,
#register-box input:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(94, 148, 0, 0.25);
}

#login-btn:hover,
#show-otp:hover,
#send-otp:hover,
#register-btn:hover,
#verify-otp:hover,
#resend-otp:hover {
    color: white;
    background: #5e9400;
}

#login-box p {
    width: 70%;
    text-align: center;
    padding: 15px 0px;
    margin-bottom: 0px;
}

#login-box p a {
    font-size: 13px;
    color: #5e9400;
    text-decoration: none;
}

.password-field {
    position: relative;
    width: 70%;
}

.password-field input {
    padding-right: 40px;
    width: 100% !important;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 40%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #555;
    font-size: 16px;
}

#login-box,
#register-box {
    text-align: center;
    padding: 25px;
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
}

.phadke-login-card {
    margin: auto;
    background: #fff;
    /* padding: 25px; */
    border-radius: 14px;
    text-align: center;
}

.logo-box {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: bold;
    /* margin-bottom: 10px; */
}

.phadke-login-header h2 {
    font-size: 18px;
    margin: 10px 0 5px;
}

.phadke-login-header p {
    color: #666;
    margin-bottom: 20px;
    padding: 0px 0px 15px 0px !important;
}

.phadke-login-card .input-group {
    width: 70% !important;
    margin: auto;
    margin-bottom: 20px;
    ;
}

/* Input */
/* .input-group {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 15px !important;
    width: 70%;
    justify-content: center;
    margin: auto;
    font-size: 1rem;
    font-weight: 500;
    line-height: 25px;
} */

.phadke-login-card #send-otp {
    margin-bottom: 0px !important;
}

.country-code {
    margin-right: 8px;
}

.input-group input {
    border: none;
    outline: none;
    flex: 1;
}

/* Buttons */


/* OTP */
#otp-section input {
    width: 70%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 8px;
    border: 1px solid #ccc;
}

/* Terms */
.terms {
    font-size: 12px;
    color: #777;
    margin-top: 15px;
    width: 100% !important;
    padding: 0px !important;
}

.phadke-login-header p {
    width: 100% !important;
    color: #000 !important;
    font-weight: bold !important;
}

.terms a {
    color: #777 !important;
}

.terms a:hover {
    border-bottom: 1px solid #777 !important;
}


.custom-login-box {
    width: 500px !important;
    padding: 0px !important;
}

.mobile-input-wrapper {
    display: flex;
    align-items: center;
    border: 1.5px solid #ccc;
    border-radius: 10px;
    padding: 0px 20px !important;
    background: #fff;
    width: 70%;
    margin: auto;
    margin-bottom: 20px;
}

.mobile-input-wrapper:focus-within {
    border-color: #1ca672;
    /* Blinkit green */
}

.country-code {
    font-weight: 600;
    font-size: 15px;
    color: #333;
    margin-right: 8px;
    border-right: 1.5px solid #ddd;
    padding-right: 10px;
}

#otp_mobile {
    border: none !important;
    outline: none !important;
    font-size: 15px;
    width: 100%;
    box-shadow: none !important;
    background-color: transparent !important;
}

.mobile-input-wrapper:focus-within {
    border-color: #5e9400;
}

.mobile-input-wrapper input:-webkit-autofill{
    background-color: transparent !important;
}
#reg_mobile{
    border: unset !important;
}
#reg_mobile:focus{
    box-shadow: unset !important;
}
#reg_mobile_error{
    margin-bottom: 20px;
    font-size: 14px !important;
    font-weight: 500;
}



@media (max-width: 992px) {

    #login-box h3,
    #register-box h3,
    #login-box input,
    #register-box input,
    #login-btn,
    #show-otp,
    #send-otp,
    #register-btn,
    #login-box p,
    .password-field input,
    #login-box,
    #register-box,
    .password-field,
    #verify-otp,
    #resend-otp,
    .phadke-login-card .input-group,
    .phadke-login-card .continue-btn, .mobile-input-wrapper, .message {
        width: 100% !important;
    }

    #auth-wrapper {
        flex-direction: column;
    }

    #register-btn {
        margin-bottom: 20px;
    }

}

.message {
    width: 70%;
    padding: 10px;
    margin-bottom: 15px !important;
    margin-top: 15px !important;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
    margin: auto;
}

.success {
    background: #e6f9e6;
    color: #2e7d32;
    border: 1px solid #2e7d32;
}

.error {
    background: #fdecea;
    color: #c62828;
    border: 1px solid #c62828;
}

.custom-auth-wrapper {
    max-width: 450px;
    margin: 40px auto;
}

.auth-tabs {
    display: flex;
    margin-bottom: 20px;
    gap: 10px;
}

.auth-tab {
    flex: 1;
    padding: 8px 20px;
    border-radius: 12px;
    width: 70%;
    text-align: center;
    border: 1px solid #5e9400;
    background: white;
    font-size: 1rem;
    font-weight: 500;
    line-height: 25px;
    color: #5e9400;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    text-decoration: none;
}

.auth-tab.active,
.auth-tab:hover {
    color: white;
    background: #5e9400;
}



@media (max-width: 620px) {
    /* .row {
        margin-left: 0px !important;
        margin-right: 0px !important;
    } */

    .custom-login-box {
        width: 95% !important;
    }

    .woocommerce-Price-amount{
        font-size: 18px;
    }

    .woocommerce-checkout-review-order-table .cart_item .product-name {
        padding-left: 0px;
    }
}

/* ==========================================================================
   BLINKIT STYLE CHECKOUT POPUP OVERRIDES
   ========================================================================== */
.phadke-login-card .mobile-input-wrapper {
    border-radius: 15px !important;
    height: 52px !important;
    border: 1.5px solid #cbd9c0 !important;
    padding: 0px 15px !important;
    display: flex !important;
    align-items: center !important;
    background-color: #fff !important;
}

.phadke-login-card .mobile-input-wrapper:focus-within {
    border-color: #5e9400 !important;
}

.phadke-login-card .country-code {
    font-size: 16px !important;
    font-weight: bold !important;
    border-right: 1.5px solid #cbd9c0 !important;
    padding-right: 12px !important;
    margin-right: 12px !important;
}

.phadke-login-card #otp_mobile {
    font-size: 16px !important;
    height: 100% !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.phadke-login-card .continue-btn {
    width: 70% !important;
    height: 48px !important;
    background-color: #cbd5e1 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    cursor: not-allowed !important;
    margin: auto !important;
    margin-bottom: 20px !important;
    display: block !important;
    text-align: center !important;
    line-height: 48px !important;
    padding: 0 !important;
    transition: background-color 0.25s ease-in-out, transform 0.15s ease-in-out !important;
}

.phadke-login-card .continue-btn.active {
    background-color: #5e9400 !important;
    cursor: pointer !important;
}

.phadke-login-card .continue-btn.active:hover {
    background-color: #4a7500 !important;
    color: #ffffff !important;
}