/*
 * Account security module on the login page (views/modules/Login/login.tpl), loaded only when
 * one of its login-page options is on (DCMS2 "Account security" screen, global_settings
 * account_security): the badge of a trusted network (office, VPN) and the passkey sign-in on top
 * as the preferred way (dark button, a hint, "or with a password" divider). The same look as the
 * DCMS2 login page; independent of the theme — it follows the login box (#loginfs).
 */
@import url("../common/fonts/google/material-symbols-rounded/css/material-symbols-rounded.css");

#loginfs .accountSecurityNetwork {
    margin: 6px 0 4px;
    text-align: center;
}
#loginfs .accountSecurityNetwork span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px 5px 9px;
    border-radius: 9999px;
    font-family: 'PT Sans', Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: none;
}
#loginfs .accountSecurityNetwork span.in {
    background: #f0fdf4;
    color: #15803d;
    box-shadow: inset 0 0 0 1px #bbf7d0;
}
#loginfs .accountSecurityNetwork span.out {
    background: #f5f5f5;
    color: #525252;
    box-shadow: inset 0 0 0 1px #e5e5e5;
}
#loginfs .accountSecurityNetwork .msr {
    font-family: 'Material Symbols Rounded';
    font-size: 17px;
    font-variation-settings: 'FILL' 1;
    line-height: 1;
}

/* Passkey on top: the dark primary button (passkeySignIn.css gives the shape) */
#loginfs a.passkeySignIn.primary {
    margin-top: 18px;
    border-color: #000;
    background: #1d1d1f;
    color: #fff;
}
#loginfs a.passkeySignIn.primary:hover,
#loginfs a.passkeySignIn.primary:focus {
    background: #000;
    color: #fff;
}
#loginfs .passkeyHint {
    margin: 8px 0 0;
    color: #333;
    font-size: 12.5px;
    line-height: 1.4;
    text-shadow: none;
}
#loginfs .loginDivider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 18px 0 0;
    color: #444;
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-shadow: none;
}
#loginfs .loginDivider::before,
#loginfs .loginDivider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(0, 0, 0, .15);
}
#loginfs .loginDivider + form {
    margin-top: 0;
}
