.account-switcher-remember {
    align-items: center;
    display: flex;
    gap: .5rem;
    justify-content: flex-start;
    margin: 1rem 0;
    text-align: left;
}

.account-switcher-remember input[type="checkbox"] {
    accent-color: #0b79b7;
    appearance: auto;
    flex: 0 0 auto;
    height: 1rem;
    margin: 0;
    opacity: 1;
    position: static;
    width: 1rem;
}

.account-switcher-remember label {
    cursor: pointer;
    margin: 0;
}

.account-switcher-login {
    border-top: 1px solid #d4dbde;
    margin-top: 1rem;
    padding-top: 1rem;
}

.account-switcher-login h2 {
    font-size: 1rem;
    margin: 0 0 .75rem;
}

.account-switcher-list {
    margin-bottom: 1rem;
}

.account-switcher-row {
    align-items: center;
    border-bottom: 1px solid #d4dbde;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: .75rem 0;
}

.account-switcher-login .account-switcher-row {
    align-items: stretch;
    flex-direction: column;
    gap: .5rem;
}

.account-switcher-identity {
    align-items: center;
    display: flex;
    gap: .75rem;
    min-width: 0;
}

.account-switcher-avatar {
    align-items: center;
    background: #2378c3;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    flex: 0 0 2.25rem;
    font-size: 1rem;
    height: 2.25rem;
    justify-content: center;
    width: 2.25rem;
}

.account-switcher-name {
    min-width: 0;
    overflow-wrap: anywhere;
}

.account-switcher-current {
    color: #6c757d;
    display: block;
    font-size: .85rem;
    font-weight: normal;
}

.account-switcher-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.account-switcher-form {
    margin: 0;
}

.account-switcher-form .btn {
    min-width: 5rem;
}

.account-switcher-page .boxcontent {
    max-width: 48rem;
}

.account-switcher-add {
    margin-top: .5rem;
}

#taskmenu a.accounts:before,
#settings-menu li.accounts a:before {
    content: "\f2bd";
}

.account-switcher-dock {
    border-top: 1px solid rgba(255, 255, 255, .16);
    max-height: 35vh;
    overflow-y: auto;
    padding: .35rem .2rem;
    position: static;
    width: 100%;
}

.account-switcher-dock-tabs {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.account-switcher-dock-form {
    margin: 0;
}

.account-switcher-dock-tab,
.account-switcher-dock-manage {
    align-items: center;
    background: transparent;
    border: 0;
    color: #fff;
    display: flex;
    flex-direction: column;
    font: inherit;
    gap: .2rem;
    justify-content: center;
    height: auto !important;
    min-height: 2.9rem;
    padding: .25rem .1rem !important;
    text-align: center;
    text-decoration: none;
    width: 100%;
}

button.account-switcher-dock-tab {
    cursor: pointer;
}

.account-switcher-dock-tab:hover,
.account-switcher-dock-manage:hover {
    background: rgba(255, 255, 255, .1);
    color: #fff;
    text-decoration: none;
}

.account-switcher-dock-tab.current {
    background: rgba(255, 255, 255, .14);
    box-shadow: inset 3px 0 0 #37beff;
}

.account-switcher-dock-avatar {
    align-items: center;
    background: #2378c3;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    flex: 0 0 1.5rem;
    font-size: .7rem;
    font-weight: 600;
    height: 1.5rem;
    justify-content: center;
    width: 1.5rem;
}

.account-switcher-dock-tab.current .account-switcher-dock-avatar {
    background: #37beff;
    color: #162126;
}

.account-switcher-dock-label,
.account-switcher-dock-manage .inner {
    display: block !important;
    font-size: .62rem !important;
    line-height: 1.1;
    max-width: 4.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-switcher-dock-plus {
    align-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    display: inline-flex;
    font-size: 1rem;
    height: 1.5rem;
    justify-content: center;
    width: 1.5rem;
}

html.dark-mode .account-switcher-login,
html.dark-mode .account-switcher-row {
    border-color: #4d6066;
}

html.dark-mode .account-switcher-current {
    color: #8ba3a7;
}

@media screen and (max-width: 600px) {
    .account-switcher-row {
        align-items: stretch;
        flex-direction: column;
    }

    .account-switcher-dock-tab,
    .account-switcher-dock-manage {
        align-items: center;
        flex-direction: row;
        gap: .6rem;
        justify-content: flex-start;
        min-height: 3rem;
        padding: .25rem .75rem !important;
        text-align: left;
    }

    .account-switcher-dock-label,
    .account-switcher-dock-manage .inner {
        font-size: 1rem !important;
        max-width: none;
    }
}
