/* Header entry and detail-page favorite button: on every classic page while accounts are enabled. */

#logo_right_button .account-entry {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    vertical-align: middle;
    margin-right: 6px;
    color: #444;
    font-family: "Josefin Sans", Helvetica, Arial, var(--lumos-cjk-sans, sans-serif);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1;
}

#logo_right_button .account-entry:hover,
#logo_right_button .account-entry:focus-visible {
    color: var(--lumos-accent-text);
}

#logo_right_button .account-entry .fa {
    font-size: 15px;
}

#logo_right_button .account-entry-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: #fff;
    font-size: 12px;
    letter-spacing: 0;
}

#logo_right_button .account-entry-label {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media only screen and (max-width: 767px) {
    #logo_right_button .account-entry-label {
        display: none;
    }
}

/* Avatar colours, shared with the account pages and the mobile site (a palette to choose from, not the theme accent). */
.account-avatar-c1 { background: #be9656; }
.account-avatar-c2 { background: #4ab7cc; }
.account-avatar-c3 { background: #e07a5f; }
.account-avatar-c4 { background: #6a9f7f; }
.account-avatar-c5 { background: #7d6ca8; }
.account-avatar-c6 { background: #d9922e; }
.account-avatar-c7 { background: #5b7db1; }
.account-avatar-c8 { background: #c75d84; }

.favorite-button-wrapper {
    margin-top: 16px;
    text-align: center;
}

.favorite-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px 6px;
    border: 2px solid var(--lumos-accent);
    background: transparent;
    color: var(--lumos-accent-text);
    cursor: pointer;
    font-family: "Josefin Sans", Helvetica, Arial, var(--lumos-cjk-sans, sans-serif);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.5;
    transition: color .2s linear, background .1s linear;
}

.favorite-button:hover,
.favorite-button:focus-visible,
.favorite-button[aria-pressed="true"] {
    border-color: var(--lumos-accent-strong);
    background: var(--lumos-accent-strong);
    color: #fff;
}

.favorite-button[aria-busy="true"] {
    opacity: .7;
}

.favorite-button .favorite-icon {
    font-size: 14px;
    letter-spacing: 0;
}

.favorite-status {
    display: block;
    min-height: 1em;
    margin-top: 6px;
    color: #c0392b;
    font-size: 12px;
}
