/*
 * "Sign in with Discord" (app/Views/accounts/auth/_discord-button.php): the log-in page and the header's log-in
 * menu load it while logging in with Discord is switched on. Discord's own colours: the brand's blurple, which
 * is not a theme token on purpose (it is Discord's, the same in every theme); white on #5865f2 is 4.6:1 (AA).
 */
/* "or" between the password form and "Sign in with Discord" (the log-in page and the header's menu): a rule with the word in its middle */
.auth__or {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    margin: 0;
    color: var(--fg-muted);
    font-size: var(--text-sm);
}
.auth__or::before,
.auth__or::after {
    content: "";
    flex: 1;
    border-top: 1px solid var(--line);
}
/* "Sign in with Discord" (accounts/auth/_discord-button.php): Discord's blurple with its mark in white; white on
   #5865f2 is 4.6:1 (AA). The hover darkens it as Discord's own buttons do. */
.btn.btn--discord {
    background: #5865f2;
    border-color: #5865f2;
    color: #fff;
    box-shadow: 0 2px 0 #3c45a5;
}
.btn.btn--discord:hover {
    background: #4752c4;
    border-color: #4752c4;
    color: #fff;
}
.btn.btn--discord:active {
    box-shadow: none;
    transform: translateY(2px);
}
.btn--discord__mark {
    flex: none;
}

/* the menu's foot with Discord: the key at the left, "New here? Make an account" at the right; on a narrow
   menu they stack */
.signin-pop__foot--split {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
}

/* the line under the key: what a first sign-in does */
.discord-terms {
    margin: 0;
    color: var(--fg-muted);
    font-size: var(--text-xs);
    text-align: center;
}
/* in the menu's foot the line goes under both: the key and "Make an account", then this */
.discord-terms--inline {
    flex: 1 1 100%;
    order: 3;
    text-align: left;
}
