/* ── Notices wrapper ─────────────────────────────────────────────────────────── */
.otpifyModal .woocommerce-notices-wrapper {
    margin: 0 auto;
    padding: 0;
    max-width: 80%
}

.otpifyModal .woocommerce-notices-wrapper .woocommerce-success,
.otpifyModal .woocommerce-notices-wrapper .woocommerce-info,
.otpifyModal .woocommerce-notices-wrapper .woocommerce-error,
.otpifyModal .woocommerce-notices-wrapper .woocommerce-ok {
    max-width: 100%;
    margin-bottom: 1rem;
    padding: 0;
    background: transparent;
    list-style: none;
}

.otpifyModal .woocommerce-notices-wrapper .woocommerce-success li,
.otpifyModal .woocommerce-notices-wrapper .woocommerce-info li,
.otpifyModal .woocommerce-notices-wrapper .woocommerce-error li,
.otpifyModal .woocommerce-notices-wrapper .woocommerce-ok li {
    padding-inline: unset !important;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 14px;
    font-weight: 700;
}

.otpifyModal .woocommerce-notices-wrapper .woocommerce-success::before,
.otpifyModal .woocommerce-notices-wrapper .woocommerce-info::before,
.otpifyModal .woocommerce-notices-wrapper .woocommerce-error::before,
.otpifyModal .woocommerce-notices-wrapper .woocommerce-ok::before,
.otpifyModal .woocommerce-notices-wrapper .woocommerce-success li::before,
.otpifyModal .woocommerce-notices-wrapper .woocommerce-info li::before,
.otpifyModal .woocommerce-notices-wrapper .woocommerce-error li::before,
.otpifyModal .woocommerce-notices-wrapper .woocommerce-ok li::before {
    content: none !important
}

.otpifyModal .woocommerce-notices-wrapper .woocommerce-success li,
.otpifyModal .woocommerce-notices-wrapper .woocommerce-info li,
.otpifyModal .woocommerce-notices-wrapper .woocommerce-ok li {
    color: #008000
}

.otpifyModal .woocommerce-notices-wrapper .woocommerce-error li {
    color: #f00
}

/* ── OTP form ────────────────────────────────────────────────────────────────── */
.otpifyModal .otp-form {
    text-align: center
}

.otpifyModal label {
    color: #1f3755 !important;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 20px !important
}

.otpifyModal .otp-form input {
    border: 1px solid #999898;
    padding: 5px 10px;
    width: 48px;
    height: 48px;
    border-radius: 6px;
    color: #1f3755;
    font-size: 20px;
    font-weight: 400;
}

.otpifyModal .otp-form input:focus {
    outline: 0;
    box-shadow: none;
    border-color: #000
}

/* ── PinBox digits ───────────────────────────────────────────────────────────── */
.pinbox-wrap {
    display: inline-flex;
    gap: 8px;
    justify-content: center
}

.pinbox-wrap .pinbox-digit {
    width: 48px !important;
    height: 48px !important;
    border: 1px solid #999898 !important;
    border-radius: 6px !important;
    text-align: center;
    font-size: 20px !important;
    font-weight: 400 !important;
    color: #1f3755 !important;
    padding: 0 !important;
    -moz-appearance: textfield;
}

.pinbox-wrap .pinbox-digit::-webkit-inner-spin-button,
.pinbox-wrap .pinbox-digit::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0
}

.pinbox-wrap .pinbox-digit:focus {
    outline: 0 !important;
    box-shadow: none !important;
    border-color: #000 !important
}

/* ── Timer & messages ────────────────────────────────────────────────────────── */
.timer-msg-btn p {
    color: #000;
    font-size: 14px;
    margin-top: 5px
}

.timer-msg-btn span.invalid-otp-msg {
    color: #d40000;
    display: block;
    margin-bottom: 8px
}

span.invalid-otp-msg:before {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    font-family: "FontAwesome";
    content: "" !important;
    line-height: 24px;
    font-size: 16px;
    color: #d40000;
    inset-inline-start: 15px;
    padding-inline-end: 5px;
}

/* ── Footer & buttons ────────────────────────────────────────────────────────── */
.otpifyModal .modal-footer {
    text-align: center
}

.otpifyModal .modal-footer button {
    min-width: 170px
}

.resend-otp-link {
    color: #3a5980;
    text-decoration: underline !important
}

.send-otp {
    width: 100%;
    margin-top: 24px
}

.send-otp.disabled-style,
.otp-disabled-style {
    background-color: #d9d9d9 !important;
    border-color: #d9d9d9 !important;
    pointer-events: none;
}