#authentication-burger {
    background-color: inherit;
    border: none;

    & svg {
        height: 2rem;
        cursor: pointer;
    }
}

.authentication__popover {
    background-color: var(--header-background);
    inset: unset;
    top: var(--header-height);
    right: 0;
}

.authentication__entries {
    list-style-type: none;
    background-color: inherit;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem;
    margin: 0;
}

.header__popover {
    background-color: var(--header-background);
    inset: unset;
    top: var(--header-height);
    padding: 0;

    nav {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.5rem;
    }
}

@container (min-width: 70em) {
    #authentication-burger {
        display: none;
    }

    .authentication__popover {
        display: contents;
    }

    .authentication__entries {
        flex-direction: row;
        gap: 1.5rem;
    }
}

@supports not (anchor-name: test) {
    #admin-popover {
        right: 8em;
    }

    #manager-popover {
        right: 8em;
    }

    #user-popover {
        right: 8em;
    }

    @container (min-width: 70em) {
        #admin-popover {
            right: 19em;
        }

        #manager-popover {
            right: 12em;
        }

        #user-popover {
            right: 7em;
        }
    }
}
