#login #login_error.iwc-login-success-notice,
#login #login_error:has(.iwc-login-notice-success) {
    border-left-color: #00a32a;
    background: #f0f9f1;
}

#login .iwc-otp-resend {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
    box-sizing: border-box;
    width: 100%;
    margin: -4px 0 18px;
    clear: both;
}

#login .iwc-otp-resend-button.button {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 100%;
    min-height: 40px;
    margin: 0;
    padding: 7px 14px;
    border-color: #2271b1;
    border-radius: 4px;
    background: #fff;
    color: #2271b1;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: none;
}

#login .iwc-otp-resend-button.button:hover,
#login .iwc-otp-resend-button.button:focus {
    border-color: #135e96;
    background: #f6f7f7;
    color: #135e96;
}

#login .iwc-otp-resend-button.button:focus {
    box-shadow: 0 0 0 1px #fff, 0 0 0 3px #2271b1;
    outline: 2px solid transparent;
}

#login .iwc-otp-resend-button.button:disabled,
#login .iwc-otp-resend-button.button[aria-disabled="true"] {
    border-color: #dcdcde;
    background: #f6f7f7;
    color: #646970;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 1;
    box-shadow: none;
}

#login .iwc-otp-resend-message {
    display: block;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    color: #50575e;
    font-size: 13px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

#login .iwc-otp-resend-message:empty {
    display: none;
}

#login .iwc-otp-resend-message--success,
#login .iwc-otp-resend-message--error,
#login .iwc-otp-resend-message--notice {
    padding: 9px 11px;
    border-left: 4px solid #72aee6;
    background: #f0f6fc;
}

#login .iwc-otp-resend-message--success {
    border-left-color: #00a32a;
    background: #edfaef;
    color: #006b1b;
}

#login .iwc-otp-resend-message--error {
    border-left-color: #d63638;
    background: #fcf0f1;
    color: #8a2424;
}

@media screen and (max-width: 480px) {
    #login .iwc-otp-resend {
        margin-bottom: 16px;
    }

    #login .iwc-otp-resend-button.button {
        min-height: 44px;
    }
}

#login #login_error.iwc-login-credit-warning-notice,
#login #login_error:has(.iwc-login-warning.iwc-credit-warning) {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

#login .iwc-login-warning.iwc-credit-warning {
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 20px;
    padding: 14px 16px;
    border-left: 4px solid #f59e0b;
    border-radius: 2px;
    background: #fff7e6;
    color: #92400e;
    line-height: 1.45;
}

#login .iwc-login-warning.iwc-credit-warning strong {
    display: block;
    margin-bottom: 5px;
    color: #78350f;
    font-weight: 700;
}

#login .iwc-login-warning.iwc-credit-warning div {
    margin: 0 0 4px;
    color: #92400e;
}

#login .iwc-login-warning.iwc-credit-warning div:last-child {
    margin-bottom: 0;
}
