/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.float-right {
    float: right !important;
}

.d-inline-block {
    display: inline-block !important;
}

.mb-3{
    margin-bottom: 1rem !important;
}

/* ===== OTP Checkout Popup (mobile-centered modal) ===== */
#alpha_sms_otp_checkout_backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999998;
}

#alpha_sms_otp_checkout {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999999;
    background: #ffffff !important;
    padding: 28px 22px 22px;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    width: 88%;
    max-width: 340px;
    margin: 0 !important;
}

#alpha_sms_otp_checkout .alpha_sms-otp-modal-close {
    position: absolute;
    top: 6px;
    right: 10px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #999;
    background: none;
    border: none;
    padding: 4px 8px;
}

#alpha_sms_otp_checkout .alpha_sms-generate-otp {
    position: relative;
}

#alpha_sms_otp_checkout .alpha_sms-otp-modal-msg {
    margin: 0 0 14px;
    font-size: 14.5px;
    color: #333 !important;
    background: transparent !important;
    text-align: center;
    line-height: 1.5;
}

#alpha_sms_otp_checkout label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333 !important;
}

#alpha_sms_otp_checkout input#otp_code {
    width: 100% !important;
    box-sizing: border-box;
    padding: 12px;
    font-size: 22px;
    letter-spacing: 10px;
    text-align: center;
    border: 2px solid #e91e8c;
    border-radius: 6px;
}

#alpha_sms_otp_checkout #wc_checkout_resend_otp {
    margin: 8px 0 0;
    font-size: 13px;
    text-align: center;
    float: none !important;
}

#alpha_sms_otp_checkout .alpha_sms-otp-modal-error {
    color: #d63638;
    font-size: 13px;
    margin-top: 8px;
    text-align: center;
}

#alpha_sms_otp_checkout button.alpha_sms-otp-confirm-btn,
#alpha_sms_otp_checkout button#alpha_sms_otp_checkout_confirm,
.woocommerce #alpha_sms_otp_checkout button.alpha_sms-otp-confirm-btn,
.cartflows-container #alpha_sms_otp_checkout button.alpha_sms-otp-confirm-btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: 16px;
    padding: 13px 10px;
    background-color: #e91e8c !important;
    background-image: none !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 15px;
    font-weight: 600;
    text-transform: none;
    box-shadow: none !important;
    cursor: pointer;
}

#alpha_sms_otp_checkout button.alpha_sms-otp-confirm-btn:hover,
#alpha_sms_otp_checkout button#alpha_sms_otp_checkout_confirm:hover {
    background-color: #d1147a !important;
    color: #ffffff !important;
}

#alpha_sms_otp_checkout button.alpha_sms-otp-confirm-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

body.alpha-sms-otp-modal-open {
    overflow: hidden;
}

body.alpha-sms-otp-modal-open .woocommerce-notices-wrapper {
    display: none !important;
}
