.auth-identityotp-card {
    border-radius: 10px;
}
.auth-identityotp-card .btn-primary,
.auth-identityotp-login-btn {
    background: #2A7FE3 !important;
    border-color: #2A7FE3 !important;
    color: #ffffff !important;
    border-radius: 5px !important;
}
.auth-identityotp-card .btn-primary:hover,
.auth-identityotp-login-btn:hover,
.auth-identityotp-card .btn-primary:focus,
.auth-identityotp-login-btn:focus {
    filter: brightness(0.92);
    color: #ffffff !important;
}
.auth-identityotp-card a:not(.btn) {
    color: #2A7FE3;
}
.auth-identityotp-logo-img {
    max-width: 120px;
    max-height: 90px;
    width: auto;
    height: auto;
}
.auth-identityotp-custom-title {
    font-weight: 800;
    color: #1F2A2E;
}
.auth-identityotp-custom-intro,
.auth-identityotp-footer-help {
    color: #5f6b72;
    line-height: 1.8;
}

/* Style the identity provider button on the standard Moodle login page. */
.login-identityproviders a[href*="/auth/identityotp/"],
.login-identityprovider-btn[href*="/auth/identityotp/"] {
    background: #2A7FE3 !important;
    border-color: #2A7FE3 !important;
    color: #ffffff !important;
    border-radius: 5px !important;
    font-weight: 600 !important;
}
.login-identityproviders a[href*="/auth/identityotp/"]:hover,
.login-identityprovider-btn[href*="/auth/identityotp/"]:hover {
    filter: brightness(0.92);
    color: #ffffff !important;
}
/* Replace the standard Moodle identity-provider heading visually. */
.login-identityproviders .login-heading,
.login-identityproviders h2,
.login-identityproviders h3 {
    font-size: 0 !important;
}
.login-identityproviders .login-heading::after,
.login-identityproviders h2::after,
.login-identityproviders h3::after {
    content: "ورود یا عضویت";
    font-size: 1rem !important;
    font-weight: 700;
    color: #1F2A2E;
}
